![]() ![]() If you need to disable password expiration for all the local user accounts, use the following command instead: wmic UserAccount set PasswordExpires=False.To disable the password, use the following command: wmic UserAccount where Name= "user account name" set PasswordExpires= false.In the above command, replace # with the length of days you want to set before the password expires.Next, to set the maximum password expiration age, use the following command: net accounts /maxpwage: #. ![]() In the above command, replace user account name with the user account name you want to set password expiration for.In the Command Prompt window, type the following command to enable password expiration for the specified local user account: wmic UserAccount where Name= "user account name" set PasswordExpires=True.From the search result, right-click on Command Prompt and select Run as administrator. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |