How to change the password expiry notice default period in Windows 10

In earlier versions of Windows, the default interval that users were notified of password expiration was 14 days before expiration. In Windows 10/8/7, the default password expiry notice occurs 5 days before the password expiration date.

This is by design. But if you’d like to change this password expiry notice period, you can do so as follows:

Change Password expiration policies in Windows 10

Using Group Policy Editor

Change Password expiration policies in Windows 10

Run gpedit.msc, to open the Group Policy Editor and navigate to the following setting:

Computer Configuration > Windows Settings > Security Settings > Local Policies > Security Options.

Double click Interactive Logon Prompt user to change password before expiration.

Make the required changes here.

Using Registry Editor

Run regedit and navigate to the following key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

Set the value of PasswordExpiryWarning to the period you want and Exit.

Hope this helps!

Update: Windows 10 v1903 drops password expiration policies.

Read next: The user’s account has expired on Windows 10.

Posted by on , in Category Windows with Tags
Anand Khanse is the Admin of, a 10-year Microsoft MVP Awardee in Windows (2006-16) & a Windows Insider MVP. Please read the entire post & the comments first, create a System Restore Point before making any changes to your system & be careful about any 3rd-party offers while installing freeware.

Leave a Reply

Your email address will not be published. Required fields are marked *

5 + 8 =