Disable User Password Expiration in Windows Vista

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.

Method 1

  1. Press the keyboard combination Windows logo key + R to bring up the Run dialog.
  2. In the Run dialog, type secpol.msc to start the Local Security Policy Editor.

    Run Local Security Policy Editor in Vista

  3. In the Local Security Policy Editor, navigate to Account Policies → Password Policies.
  4. You will find a setting named Maximum password age in the right side pane as shown.

    Maximum password age entry in Security Policy

  5. Double-click on this setting and set the number of days to 0 in the properties window that opens.

    Disable password expiry in Vista

  6. Click OK to save the settings.

Method 2

  1. Open an elevated command prompt window as explained here.
  2. In the elevated command prompt window, type the following and press Enter.
    net accounts /maxpwage:unlimited

    Disable password expiry in Vista

  3. That’s it. Now you can close the command prompt window.