Windows 10: disable password expiration
Disable password expiration for a local account (lusrmgr) or machine-wide (password policy).
By default, a local Windows password expires after 42 days. Here are two ways to disable the expiration on Windows 10.
Per account: "Password never expires"
- Open
lusrmgr.msc(Local Users and Groups) and select Users. - Open the properties of the account.
- Tick Password never expires.
For the whole machine: password policy
In the Local Group Policy Editor (gpedit.msc): Computer Configuration > Windows Settings > Security Settings > Account Policies > Password Policy. Maximum password age is 42 days by default; setting it to 0 removes the expiration.