Maximum password age

Computer Configuration\Windows Settings\Security Settings\Account Policies\Password Policy

Description

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.

By default, this setting is defined in the Default Domain Group Policy object (GPO) and in the local security policy of workstations and servers with a value of 42.