How to: Change Password Expiry in Windows 7

Windows 7 has this annoying habit of asking its users to change their passwords after every 42 days or so (depends on what you have set as the maximum age for your password). The problem is that people, who do not want to change their passwords often, do not have a GUI option in the control panel user accounts section to help them get rid of it.

Although it may seem tricky, but the password expiry date and maximum/minimum age can be set up pretty easily. It is a mistake on Microsoft’s part of not allowing the person to set these security settings to their preference, but digging deep enough can lead you to a lot of other options that you can use to customize your Windows 7 appearance and functionality.

There are a couple of easy methods that one can use to change, disable or change expiry dates for passwords. To do this, you must be logged in as administrator of the computer.

Method 1: Using Local Users and Group Manager

Hold down the “Windows key” and press ”R.” Type “lusrmgr.msc” and press enter.

2016-08-21_175241

The local user and manager window will open up. In the left sub-section of the window, click on Users and then in the middle larger section click on the name of the account that you want to customize the settings for. Check the box next to “Password never expires.”

2016-08-21_175422

In case you want to put an expiration date on the password, uncheck the box and change the maximum and minimum password age of the account. This method is only for Professional version of Windows.

Method 2: Using Command Prompt

Since it does not have a GUI option, the password expiration setting can be accessed through command prompt features.

Hold down “Windows key” followed by “R.”  Type WMIC and press enter.

A command prompt window will open.

Type:

UserAccount where Name=’username’ set PasswordExpires=False

This code will allow the account whose name you have typed instead of the username to have no expiry date.

To disable expiry dates for all accounts, type in the line

UserAccount set PasswordExpires=False

To enable expiry dates for a specific account, type the line

UserAccount where Name=’username’ set PasswordExpires=True

To enable expiry dates for all accounts, type

UserAccount set PasswordExpires=True

Close the WMIC window and you have your preferred account setting.

To use all of these things, you have to ensure that you are logged in as administrator as they are the only ones who have the authority to change computer configuration settings.

Kevin Arrows
Kevin is a dynamic and self-motivated information technology professional, with a Thorough knowledge of all facets pertaining to network infrastructure design, implementation and administration. Superior record of delivering simultaneous large-scale mission critical projects on time and under budget.

Expert Tip

How to: Change Password Expiry in Windows 7

If the issue is with your Computer or a Laptop you should try using Restoro which can scan the repositories and replace corrupt and missing files. This works in most cases, where the issue is originated due to a system corruption. You can download Restoro by clicking the Download button below.

Download Now

I'm not interested