Skip to main content

How to Disable Password Expiration Notices in Windows Server 2022

Updated over a week ago

By default, Windows Server enforces password expiration policies that may prompt you to change your password every 42 days. If you want to stop these reminders (e.g. on a VPS where you’re the only user), you can disable them by updating the password policy.

Disable Password Expiration via Local Security Policy

  1. Log in to your Windows Server 2022 VPS.

  2. Press Windows Key + R, type:

secpol.msc

and press Enter.

3. In the Local Security Policy window, navigate to:

Account Policies → Password Policy
  • Double-click Maximum password age.

  • Change the value from 42 days to 0 (this means passwords never expire).

  • Click ApplyOK.

Did this answer your question?