In Windows Vista, a user’s account password expires in forty-two days by default. After forty-two days, your user account password is reset and you are asked to change the password. Windows will warn you fourteen days before your password is to be expired. This is a great feature from the security point of view. But if you find this irritating, then you can disable the password expiration altogether. Here is how :
Note : You will need administrator level access to follow these steps.
- Press the keyboard combination Windows logo key + R to bring up the Run dialog.
- In the Run dialog, type secpol.msc to start the Local Security Policy Editor.
- In the Local Security Policy Editor, navigate to Account Policies → Password Policies.
- You will find a setting named Maximum password age in the right side pane as shown.
- Double-click on this setting and set the number of days to 0 in the properties window that opens.
- Click OK to save the settings.
- Open an elevated command prompt window as explained here.
- In the elevated command prompt window, type the following and press Enter.
net accounts /maxpwage:unlimited
- That’s it. Now you can close the command prompt window.