How to Change the Time to Warn a User to Change Password Before Expiration
Information
If you have password expiration enabled, then this will show you how to change how far in advance (in days) users are warned that their password is about to expire.
Warning
You can only do this while logged in as an administrator.
OPTION ONE
Through Local Security Policy Manager
NOTE:
This option is only available for the Windows 7 Professional, Ultimate, and Enterprise editions.
1. If you have not already, you must enable password expiration for each user account that you want to have their password expire for that user to be able to get a warning that their password will expire before the maximum password age has been reached.
2. Open the Local Security Policy editor.
3. In the left pane, expand Local Policies, and click on Security Options. (see screenshot below)
4. In the right pane, double click on Interactive logon: Prompt user to change password before expiration. (see screenshot above)
5. Type in how many days you want Windows 7 to begin prompting users to change their password before it expires, then click on OK. (see screenshot below)
6. Close the Local Security Policy editor.
OPTION TWO
Through Registry Editor
NOTE:
This option is available for all Windows 7 editions.
1. If you have not already, you must enable password expiration for each user account that you want to have their password expire for that user to be able to get a warning that their password will expire before the maximum password age has been reached.
2. Open the Start Menu, then type regedit in the search box and press enter.
3. If prompted by UAC, then click on Yes.
4. In regedit, navigate to the location below: (see screenshot below)
Code:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
5. In the right pane of Winlogon, double click on PasswordExpiryWarning. (see screenshot above)
6. Select (dot) Decimal, then type in how many days you want Windows 7 to begin prompting users to change their password before it expires and click on OK. (see screenshot below)
7. Close regedit.
8. Restart the computer to fully apply.