February 27, 20179 yr I don't think it can be done. I will use FirstLogonCommnands to run a .cmd, with this inside: wmic useraccount where "name='UserName'" set PasswordExpires=false
August 23, 20179 yr Author On 28-02-2017 at 0:52 AM, Tripredacus said: I don't think it can be done. I will use FirstLogonCommnands to run a .cmd, with this inside: wmic useraccount where "name='UserName'" set PasswordExpires=false how can I add first login command in unattanded.xml & where I add batch script in it.
August 24, 20179 yr I put the .cmd in the image, or deploy it after it but before the first reboot, then just put the path to the .cmd in the XML.
Create an account or sign in to comment