May 23, 2018

Change Maximum and Minimum Password Age in Windows 10

Change Maximum and Minimum Password Age in Windows 10: If you have enabled the Password Expiration feature for Local Accounts in Windows 10 then you may need to change maximum and minimum password page according to your needs. By default, the maximum password age is set to 42 days and minimum password age is set to 0.

The Maximum password age policy setting determines the period of time (in days) that a password can be used before the system requires the user to change it. You can set passwords to expire after a number of days between 1 and 999, or you can specify that passwords never expire by setting the number of days to 0. If Maximum password age is between 1 and 999 days, the minimum password age must be less than the maximum password age. If Maximum password age is set to 0, Minimum password age can be any value between 0 and 998 days.

Change Maximum and Minimum Password Age in Windows 10

The Minimum password age policy setting determines the period of time (in days) that a password can be used before the system requires the user to change it. You can set passwords to expire after a number of days between 1 and 999, or you can specify that passwords never expire by setting the number of days to 0. If Maximum password age is between 1 and 999 days, the minimum password age must be less than the maximum password age. If Maximum password age is set to 0, Minimum password age can be any value between 0 and 998 days.

Now there are two ways to change the maximum and minimum password age in Windows 10, but for Home users, you could only one way which is via Command Prompt. For Windows 10 Pro or Enterprise users you could either use Group Policy Editor or Command Prompt to change maximum and minimum password age in Windows 10.

Change Maximum and Minimum Password Age in Windows 10

Make sure to create a restore point just in case something goes wrong.

Method 1: Change Maximum and Minimum Password for Local Accounts using Command Prompt

1.Press Windows Key + X then select Command Prompt (Admin).

command prompt admin

2.To Change maximum and minimum password age for Local Accounts type the following in cmd and hit Enter:

net accounts

Note: Make note of the current maximum and minimum password age.

Make note of the current maximum and minimum password age

3.To Change the Maximum Password Age, type the following command:

net accounts /maxpwage:days
Note: Replace days with a number between 1 and 999 for how many days the password expires.

Set minimum and maximum password age in command prompt

4.To Change the Minimum Password Age, type the following command:

net accounts /minpwage:days
Note: Replace days with a number between 0 and 988 for how many days after a password can be changed. Also, remember that the minimum password age must be less than the maximum password age

5.Close cmd and reboot your PC to save changes.

Method 2: Change Maximum and Minimum Password for Local Accounts using Group Policy Editor

1.Press Windows Key + R then type gpedit.msc and hit Enter.

gpedit.msc in run

2.Navigate to the following path inside Group Policy Editor:

Windows Settings>Security Settings>Account policy>Password Policy

Password Policy in Gpedit Maximum and minimum password age

4.To change the Maximum Password Age, select Password Policy then in the right window pane double-click on Maximum Password Age.

5.Under the option “Password will expire in” or “Password will not expire” enter the value between 1 to 999 days, the default value is 42 days.

set Maximum password age

6.Click Apply followed by OK.

7.To change the Minimum Password Age, double-click on Minimum Password Age.

8.Under the option “Password can be changed after” enter the value between 0 to 998 days, the default value is 0 days.

Note: The minimum password age must be less than the maximum password age.

Under the option Password can be changed after enter the value between 0 to 998 days

9.Click Apply followed by OK.

10.Reboot your PC to save changes.

Recommended:

That’s it you have successfully learned How to Change Maximum and Minimum Password Age in Windows 10 but if you still have any queries regarding this post then feel free to ask them in the comment’s section.