2 Ways to Disable Password Expiration in Windows 10

PHPz
Release: 2024-08-01 19:20:51
Original
272 people have browsed it

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

The above is the detailed content of 2 Ways to Disable Password Expiration in Windows 10. For more information, please follow other related articles on the PHP Chinese website!

source:isumsoft.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template