Skip to main content

How to Disable Password Expiration Notices in Windows Server 2022

Updated over 2 weeks 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.


🤝 Need Assistance?

If any part of the setup feels unclear, the QuantVPS team is happy to help. If you’d like us to verify your environment from our side, feel free to open a support ticket and get connected with the team: https://www.quantvps.com/

Did this answer your question?