Change the Length of Time When Users Need to Change their Login Password

If you’re the administrator of a shared computer or a few in the office, you probably want to have the users change their password periodically for enhanced security. Here’s how to do it in Windows 7 & XP.

Note: This uses Local Security Policy which is not available in Home versions of Windows. These are local settings on machines not on a domain. Domain settings will take precedence over local settings.

Changing Password Age in Windows 7

Log in as Administrator and type Secpol.msc into the Search box of the Start Menu and hit Enter.

sshot-2010-07-07-[18-41-42]

Local Security Policy opens. Navigate to Account Policies \ Password Policy and double-click on Maximum password age.

sshot-2010-07-07-[18-50-50]

Here you can change the Maximum password age to what you want. By default it is 42 days, but you can change it from 1-999 days. When you’re finished, click OK and close out of Local Security Policy Editor.

sshot-2010-07-07-[18-51-14]

If you were set it to zero, the password would never expire.

sshot-2010-07-07-[19-27-13]

Changing Password Age in XP Professional

While easy in Windows 7, XP gets a bit more tricky. First go to Start \ Run and type mmc and Enter.

sshot-2010-07-07-[19-58-02]

The Console opens and you want to go to File then select Add/Remove Snap-in…

sshot-2010-07-07-[20-02-55]

Now click on the Add button…

sshot-2010-07-07-[20-06-20]

Scroll down and highlight Group Policy Object Editor…then click Add.

sshot-2010-07-07-[20-07-47]

Under Group Policy Object make sure it says Local Computer and click Finish.

sshot-2010-07-07-[20-08-29]

Now you will need to navigate to Local Computer Policy \ Computer Configuration \ Windows Settings \ Security Settings \ Account Policies \ Password Policy. Then as before double-click Maximum password age.

sshot-2010-07-07-[20-27-48]

Then change it to whatever you want it to be.

sshot-2010-07-07-[21-11-41]

Conclusion

If you want to make users on your local machine(s) to change their passwords periodically, changing the password age is how to get it done. You should have users change their password regularly and encourage them to use strong passwords as well.

Brian Burgess worked in IT for 10 years before pursuing his passion for writing. He's been a tech blogger and journalist for the past seven years, and can be found on his about me page or Google+