rehbar Posted February 27, 2017 Posted February 27, 2017 any one know how to set user password to never expir in autounattand.xml.
Tripredacus Posted February 27, 2017 Posted February 27, 2017 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
rehbar Posted August 23, 2017 Author Posted August 23, 2017 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.
Tripredacus Posted August 24, 2017 Posted August 24, 2017 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.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now