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년 전
관련 콘텐츠
- 질문됨 5달 전
- AWS 공식업데이트됨 8달 전