Steps to change minimum and maximum in windows 7 password age by the method of elevated command prompt

In this tutorial we deal with the setting of password age to minimum and maximum and user has to make note that this option is available only in windows 7 version.

The user has to make sure that password expiration has to be enabled and for every account user has to have maximum password age.

• In the first step user has to log into the user account and can change the minimum and maximum password.


• In the next step elevated command prompt has to be opened.


image1

Steps to view the current minimum and maximum age settings

The user has to type the net accounts in the elevated command prompt and enter has to be pressed.


image2

Steps to disable the password expiration

User has to type the command given below in the elevated command prompt and enter has to be pressed.

Code:
net accounts /maxpwage:unlimited

image3

Steps to change maximum password age

• User has to type the command given below in the elevated command prompt and has to press enter.

Code:
net accounts/ maxpwage(1-999)

image4

Steps to change minimum password age

• User has to type the command given below in the elevated command prompt and enter has to be pressed.


Code:
net accounts/minpwage: (0-998)

image5

The elevated command prompt has to be closed.