Whenever Windows is left with default configuration passwords of user accounts expire after 42 days and users start receiving the notifications 14 days prior password expiration. This configuration is default and generally should not be modified. However in some complex network scenarios where security is considered as a major issue administrators may want to modify this configuration in order to notify users about the expiration date. As an administrator you can configure this setting by following the steps given below:
- Logon to the computer with administrator account.
- Click on Start button.
- At bottom of start menu in search box type gpedit.msc command and press enter key.
- On Local Group Policy Editor snap-in under Computer Configuration expand Windows Settings and then expand Security Settings.
- Expand Local Policies and click on Security Options.
- From the right pane double click on Interactive logon: Prompt user to change password before expiration and on the opened Window in Begin prompting this many days before password expires box specify the duration you want users to start receiving notifications before expiration.
- Once done click on Ok button and close Local Group Policy Editor snap-in.
- Open Command Prompt and in command window type gpupdate /force to update here computer policy with latest configuration.
- Close Command Prompt.