1 回答
- 最新
- 投票最多
- 评论最多
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.
已回答 2 年前
相关内容
- AWS 官方已更新 2 年前
- AWS 官方已更新 8 个月前
- AWS 官方已更新 1 年前
- AWS 官方已更新 1 年前