"If a worker wants to do his job well, he must first sharpen his tools." - Confucius, "The Analects of Confucius. Lu Linggong"
Front page > Software tutorial > 2 Ways to Disable Password Expiration in Windows 10

2 Ways to Disable Password Expiration in Windows 10

Published on 2024-08-07
Browse:959

The password expiration is one of the properties for user accounts on Windows. This property is disabled by default on Windows 10/8/7. But occasionally, this property might be changed by somebody else without knowing. If the password expiration is enabled, once the deadline is up, Windows will alert that your password has expired and must be changed. However, constantly changing password may be annoying and make it easy to forget your password. Now in this post, we will show you how to disable password expiration in Windows 10. Two ways are as follows.


  • Way 1: by Local Users and Groups
  • Way 2: with Command Prompt

Way 1: Disable password expiration by Local Users and Groups

Step 1: Open the Local Users and Groups window.

Step 2: Click on the Users folder on the left-side panel to show all user accounts on the right-side pane. Select the user whose password expiration you want to disable, right-click on it, and select Properties.

2 Ways to Disable Password Expiration in Windows 10

Step 3: After the user's Properties dialog opens, select the General tab, check the "Password never expires" checkbox, and click Apply followed by OK.

2 Ways to Disable Password Expiration in Windows 10

Way 2: Disable password expiration in Windows 10 with Command Prompt

Step 1: Run a Command Prompt as administrator.

Step 2: Type wmic UserAccount where Name='username' set PasswordExpires=False, and press Enter key. Replace the username with your user name. When it shows "Property(s) update successful", the user's password expiration is disabled.

False = Disabled

True = Enabled

2 Ways to Disable Password Expiration in Windows 10

If you want to disable password expiration for all user accounts at once, type wmic UserAccount set PasswordExpires=False, and press the Enter key.

2 Ways to Disable Password Expiration in Windows 10

Release Statement This article is reproduced at: https://www.isumsoft.com/windows-10/how-to-disable-password-expiration-in-windows-10.html If there is any infringement, please contact [email protected] to delete it
Latest tutorial More>

Disclaimer: All resources provided are partly from the Internet. If there is any infringement of your copyright or other rights and interests, please explain the detailed reasons and provide proof of copyright or rights and interests and then send it to the email: [email protected] We will handle it for you as soon as possible.

Copyright© 2022 湘ICP备2022001581号-3