How to Fix Your Password Has Expired and Must Be Changed

Stop annoying Windows login prompts and securely bypass forgotten credentials. Master how to resolve the Windows 10 your password has expired and must be changed error using native tools and a password manager.

By Lucas    Updated on July 27, 2026
Quick Answer:

Resolving password expiration warnings requires either updating your current credentials or altering internal Windows security policies. Review the direct solutions below to regain access to your desktop immediately.

Yes, you can easily bypass the your password has expired and must be changed prompt and prevent it from ever happening again. This error occurs because a hidden Windows security policy forces users to create a new password every 42 days.

Native Screen Fix: If you know your current password, enter it in the "Old Password" box on the login screen, then enter a new password twice and press Enter to log in.

Permanent Policy Fix: To stop this prompt from ever appearing again, you must log into Windows and use the lusrmgr.msc tool or Command Prompt to check the "Password never expires" box in your account settings.

Advanced Bootable Fix: If you forgot your old password and are completely trapped on the expiration screen, you cannot change the password normally. We can use AOMEI Partition Software on a secondary computer to create a bootable USB drive. This allows you to safely remove the password lock from the outside without losing any data.

Why Does Windows Force a Password Change?

Windows enforces strict security policies that automatically flag older passwords as vulnerable to brute-force attacks. Let's explore why these enterprise-level security features unexpectedly activate on personal computers.

You power on your computer, expecting to reach your desktop, but the login screen halts your progress. The prompt states: Windows your password has expired, and it refuses to let you click past it. This is not a virus; it is a built-in feature known as the "Maximum Password Age" policy.

In corporate environments, many users use this policy to force employees to rotate their passwords every 30 to 42 days for security compliance. However, if you bought a second-hand PC, utilized a local offline account, or accidentally triggered a security script, this policy can silently activate on your personal home computer.

Change the Password Directly on the Login Screen

Satisfying the immediate Windows credential requirement is the fastest way back to your desktop. You can seamlessly update your security key directly from the locked prompt.

If you are facing the Windows 10 your password has expired and must be changed error and you know your current PIN or password, the fix takes only seconds. The login screen actively provides the fields necessary to comply with the security policy.

Step 1. When the expiration prompt appears on the screen, click OK. The screen will display three text boxes: Old Password, New Password, and Confirm Password.

Step 2. Type your current, expired password into the first box.

Step 3. Type a brand-new, secure password into the second and third boxes.

Step 4. Press Enter or click the forward arrow icon.

Step 5. The screen will state "Your password has been changed." Click OK, and Windows will boot straight to your desktop.

Disable the Expiration Feature in Windows 11/10

Preventing the operating system from forcing future credential updates requires tweaking local security policies. Administrators can disable the maximum password age limit natively to ensure uninterrupted access.

Once you are back on your desktop, you must disable the expiration policy so you are not locked out again 42 days later. Windows provides two excellent native methods to achieve this, depending on your Windows edition.

Using Local Users and Groups (lusrmgr.msc)

Utilizing the Local Users and Groups graphical console allows you to disable expiration prompts for specific accounts securely. This is the safest native method for Windows Pro and Enterprise users.

Step 1. Right-click the Windows Start button and select Computer Management.

Step 2. On the left-hand navigation pane, expand System Tools, then expand Local Users and Groups, and click on Users.

Step 3. In the center pane, locate your specific user account name and double-click it to open its Properties.

Step 4. On the General tab, check the box that says Password never expires.

Step 5. Click Apply and then OK. The your password has expired and must be changed prompt will never bother you again.

Using Command Prompt (For Windows Home Editions)

For users on Windows Home editions where graphical policy editors are restricted, the command-line interface provides a direct and efficient workaround.

Step 1. Click the Windows Start button, type cmd, right-click Command Prompt, and select Run as administrator.

Step 2. To see the current expiration status of your account, type net user YourUsername (replace YourUsername with your actual account name) and press Enter. Look for the "Password expires" line.

Step 3. To disable the expiration permanently, type the following command precisely:

wmic useraccount where "Name='YourUsername'" set PasswordExpires=false

Step 4. Press Enter. The terminal will confirm the update, permanently disabling the annoying expiration timer.

Bypass the Error via Third-party Password Management Tool

Bypassing a locked login screen when you have forgotten the original expired credentials requires enterprise-grade recovery software. AOMEI Partition Software provides a flawless, visual tool to securely wipe the lock without data loss.

If you cannot remember the original password, the Windows login screen will permanently trap you, making it impossible to satisfy the "Old Password" field. When searching for reliable ways to bypass these lockouts, IT experts regularly turn to Windows disk and password management tips provided by AOMEI.

AOMEI Partition Software is a premier computer management software. Famous for its elite internal partition management capabilities, it also features an incredibly powerful "Reset Windows Password" utility. By generating a bootable recovery USB on a secondary computer, you can securely bypass the expiration screen and wipe the credential natively.

AOMEI Partition Software

A safe and reliable disk partition management tool that helps you migrate OS to SSD or HDD, reorganize disk space, and improve overall PC performance.

 

Step 1: Create a Password Reset USB Drive

Generating a bootable recovery drive on a secondary computer allows you to bypass the locked operating system entirely. On a friend or family member's working Windows computer, plug in an empty USB flash drive.

Step 1. Download, install, and open AOMEI Partition Software.

Step 2. In the top toolbar, click on Tools and select Reset Windows Password.

Step 3. Click Next to confirm the creation of the WinPE media.

Step 4. Select the USB Boot Device option, ensure your flash drive is selected, and click Proceed. (Note: This process formats the USB drive).

Step 2: Remove the Expired Password Lock

Booting from the prepared USB grants you direct access to the encrypted Windows registry. The software automatically strips the restrictive password policies safely.

Step 1. Unplug the USB from the working computer and insert it into your locked PC.

Step 2. Turn the PC on and rapidly tap the BIOS Boot Menu key (usually F12, F10, or DEL). Change the boot priority to boot from the USB drive.

Step 3. The clean AOMEI visual interface will load on the screen, completely bypassing the expired Windows lock screen.

Step 4. Select your Windows operating system and click Next.

Step 5. Select the specific administrator account that is locked by the expiration prompt.

Step 6. Choose the Remove Account Password option. This leaves the password completely blank, nullifying the expiration requirement.

Step 7. Click Next, then click Reboot. Unplug the USB drive, and your computer will boot directly to the desktop without asking for an old or new password.

Other Handy Functions in AOMEI Partition Software

Relying on a comprehensive disk manager ensures your computer remains optimized long after the password crisis is resolved. AOMEI provides elite storage tools to keep your system fast and organized.

Once you regain access to your desktop, keeping AOMEI Partition Software installed is highly recommended. It offers incredible daily utility features:

Allocate Free Space: If your C: drive is running out of space, this 1-click tool mathematically transfers space directly from your D: drive into your C: drive without requiring any formatting.

PC Cleaner: Remove hidden junk files, bloated Windows update logs, and registry errors to significantly speed up your PC's boot times and overall performance.

Ending

Taking control of your operating system's security policies ensures you are never unexpectedly locked out of your digital workspace. Here is a brief recap of the essential strategies required to resolve password expirations.

Encountering the Windows 10 your password has expired and must be changed prompt is an intentional Microsoft security feature designed to keep enterprise networks safe. If you know your current credentials, fulfilling the prompt and subsequently checking the "Password never expires" box via native lusrmgr.msc settings permanently resolves the issue.

However, if a forgotten credential traps you on the expiration screen, relying on enterprise recovery software is mandatory. By deploying the Reset Windows Password tool within AOMEI Partition Software, you can securely boot into a visual rescue environment, eradicate the expired password lock, and regain total access to your personal files without experiencing data loss.

FAQs

Q: Can I reuse my exact same old password when forced to change it?

A: Usually, no. Windows has an accompanying security policy called "Enforce password history." If this is active, Windows will reject your attempt to reuse an old password. You must change it to a completely new word, log into the desktop, disable the expiration policies, and then manually change it back to your favorite password in the Windows Settings.

Q: Will resetting the password using AOMEI Partition Software delete my personal files?

A: No. The AOMEI password reset feature is a completely non-destructive software process. It strictly targets the tiny, encrypted security registry file that holds the login credentials. Your downloaded applications, operating system files, and personal documents remain 100% untouched.

Q: Can I disable password expiration using the Microsoft Account website?

A: No. The "password has expired" prompt is a local security policy that applies strictly to Local Offline Accounts or Active Directory domain accounts. If you are using a standard Microsoft Account, this specific expiration policy does not apply natively to your login.

Q: How do I change the maximum password age instead of disabling it completely?

A: If you still want the security feature but feel that 42 days is too short, you can adjust the timer. Open the Local Security Policy editor by typing secpol.msc in the Run dialog. Navigate to Account Policies > Password Policy > Maximum password age, and change the value from 42 days to any number you prefer.

Lucas · Editor
I prefer peaceful and quiet life during vacation,but sometimes I watch football match if my favorite club performs brilliantly in that season. And I love reading, painting and calligraphy, thus I send my friends festival handwriting cards every year.