LLI Wiki — My Digital Knowledge Base

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"

  1. Open lusrmgr.msc (Local Users and Groups) and select Users.
  2. Open the properties of the account.
  3. Tick Password never expires.

Local user properties with 'Password never expires' ticked

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.

Local Group Policy Editor: Maximum password age in the password policy

Mastodon LLIMastodon SocialFosstodon