Hypnotix802
New Member
- Messages
- 6
- Reaction score
- 0
I've set the net template under post-setup, but it doesn't seem to be working. The box is un-ticked after imaging. This is for the local account created under Unattended. Am I missing something?
wmic UserAccount where Name="Hypnotix802" set PasswordExpires=False
net accounts /maxpwage:unlimited
Would I just use this as a cmd in the post setup?This is normal behavior. There are two ways to prevent password expiration.
1. Disable expiration (by check box) for each single user.
Code:wmic UserAccount where Name="Hypnotix802" set PasswordExpires=False
2. Change the global expiration time to unlimited. Everyone's password will expire when "infinity" is reached.
Code:net accounts /maxpwage:unlimited
Yes. If you only want to disable expiration for currently existing users, but not for future users (the "where" is implied).Would I just use this as a cmd in the post setup?
If you're still being prompted to change it, then it's more than likely a setting that is configured incorrectly. If you were to take an unmodified W10 install, manually choose the offline local account option during Windows Setup, and at the password screen just click next to skip it, you will never be prompted about your password again--Windows will automatically sign you in without presenting a password prompt, and it won't expire or notify you about expiration.Yeah, I've left it with no password, but it still expires.
Does this look correct?This is normal behavior. There are two ways to prevent password expiration.
1. Disable expiration (by check box) for each single user.
Code:wmic UserAccount where Name="Hypnotix802" set PasswordExpires=False
2. Change the global expiration time to unlimited. Everyone's password will expire when "infinity" is reached.
Code:net accounts /maxpwage:unlimited
lmao, sorry the one below thatshouldn't this box be ticked if it took effect? View attachment 9160
Command: wmic
Parameters: UserAccount where Name="Hypnotix802" set PasswordExpires=False
No. For some reason it still wont work. "Post-setup" is runned as administrator? I assume the "Post-Setup" configurations are runned lastly, meaning that the NTLite inbuilt user should already been created?Are you making the same mistake in #8's screen capture?
Command Parameters wmic UserAccount where Name="Hypnotix802" set PasswordExpires=False