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 年前
相關內容
- 已提問 6 個月前
- 已提問 6 個月前
- AWS 官方已更新 2 年前
- AWS 官方已更新 8 個月前
- AWS 官方已更新 10 個月前
- AWS 官方已更新 2 年前