Skip to main content

How to Disable Password Expiration Notices in Windows Server 2022

Stop Windows Server from nagging about password expiration — security policy steps plus the per-user alternative.

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
  4. Double-click Maximum password age.

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

  6. Click ApplyOK.


Alternative: Set "Password Never Expires" via Local Users and Groups

You can also stop expiration notices for a specific account using the Local Users and Groups console instead of the Local Security Policy:

  1. Press Windows Key + R, type:

    lusrmgr.msc

    and press Enter.

  2. Expand Users, then double-click the account you want to update.

  3. On the General tab, check the box for Password never expires.

  4. Click ApplyOK.


Related articles


Need Assistance?

Our support team is available 24/7. If you have any questions or run into issues, open a support ticket from your QuantVPS dashboard and we'll get back to you as quickly as possible.

Did this answer your question?