1 Answer
- Newest
- Most votes
- Most comments
1
Hi there
Yes you can set the local user account password to be never expired on Windows Server 2016 and later. By following these steps .
1 RDP to your windows instance.
2 start puppet cmd
3 Type the following command
wmic UserAccount where "Name='username'" set PasswordExpires=False
and press Enter key. Replace the username with your administrator. When it shows "Property(s) update successful", the user’s password expiration is disabled. To check that you are successfully change your password never expired type the following command:
net user administrator
Now you can see that your password expires NEVER.
answered 2 years ago
Relevant content
- asked 4 years ago
- asked 2 years ago
- Accepted Answerasked 9 months ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 10 months ago