Open Local Security Policy by clicking the Start button , typing secpol.msc into the search box, and then clicking secpol. If you're prompted for an administrator password or confirmation, type the password or provide confirmation.
In the left pane, double-click Account Policies, and then click Password Policy.
Double-click the item in the Policy list that you want to change, change the setting, and then click OK.