Password Never Expires Flag for Users created during Unattended?

bseklecki_ge Post Setup page, toolbar - Machine - Add - Template - Disable user password expiration.
Disable Hibernate is in Template too.
Think someone else asked about this recently and i couldnt remember where it was either :rolleyes:

New Bitmap Image.jpg
 
Last edited:
In order not to start a new topic, I will add my observation from two updates Nlite does not save the template settings Disable Hibernation?
It doesn't bother me because I deal with it in a different way, but maybe someone could check if it's just a bug for me or in the settings of the Nlite program? . (sorry for spelling mistakes but English is not my native language)
 
It's not a true "setting", but a NTLite macro which adds a new line to Post-Setup. So the preset only remembers it as a listed Post-Setup task.
 
Righto; in having a think about this last night, I realized that the NTLITE unattended menu is basically just 1:1 with the capabilities of sysprep, and I do not believe that the user creation functions of SYSPREP/ADK/autounattend.xml support passing that flag to the newly created user, so if that is true, then one way or another, one is accomplishing this after-the-fact.

It would just be nice to bury the function inside the auto unattended menu.
 
If you wanted to set expiration for ALL current users (but not applied to future users):
Code:
wmic UserAccount set PasswordExpires=False
 
Back
Top