On this page
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
- Log in to your Windows Server 2022 VPS.
Press Windows Key + R, type:
secpol.mscand press Enter.
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 Apply → OK.
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:
Press Windows Key + R, type:
lusrmgr.mscand press Enter.
- Expand Users, then double-click the account you want to update.
- On the General tab, check the box for Password never expires.
- Click Apply → OK.
Related articles
- How to Change Your VPS Password
- How to Fix: Error 0x80070775 When Changing Your VPS Password
- How to Fix: Password Expiration Notices on Your VPS
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.
