User Must Change Password at Next Logon Not Working in Windows

You ticked “User must change password at next logon,” the user signs in, and… nothing happens. No prompt, no forced change, just a normal login. Here are the two-minute fixes first, then the deeper causes if those do not stick.

The 2-Minute Quick Fixes

Quick fix 1: Re-tick the checkbox and check it stayed ticked

Open Computer Management (right-click Start, then Computer Management), go to Local Users and Groups, then Users. Double-click the account, tick “User must change password at next logon,” click Apply, and then close and reopen the properties. If the tick is gone, something is clearing it: read the account-type section below. If it stays ticked, have the user sign out completely and sign back in. Local Users and Groups does not exist on Windows 11 Home; on Home, use the command-line method in Quick fix 3 instead.

Quick fix 2: Confirm it is a local account, not a Microsoft account

Comparison of how the change password flag behaves on local, Microsoft and domain accounts
The same checkbox behaves differently on each account type.

This is the single most common reason the flag “does not work.” The checkbox only applies to local and domain accounts. If the user signs in with a Microsoft account (an email address), Windows ignores the flag entirely, because the password is managed online at the Microsoft account page, not on the PC. For those users, the password must be changed through their Microsoft account settings instead. The same applies to Entra ID and hybrid-joined accounts, where the force-change flag lives in the cloud rather than on the PC, and to passwordless Microsoft accounts, which have no password to change.

Quick fix 3: Set the flag from the command line

Sometimes the graphical checkbox misbehaves while the command works. Open Command Prompt as administrator and run:

net user username /logonpasswordchg:yes

Replace username with the actual account name. Have the user sign out and back in, and the change-password prompt should appear.

See also  How to Fix a Printer Showing Offline in Windows 11 [Fix]

Did it work? If the user now sees “The user’s password must be changed before signing in” at the login screen, you are done. If the checkbox keeps un-ticking itself, or the prompt never appears over Remote Desktop, move on to the deep fixes.

Still Broken? The Deeper Causes

Deep fix 1: Cached credentials are logging the user in locally

On domain-joined PCs, Windows can log the user in with cached credentials when it cannot reach a domain controller, and a cached logon never triggers the password-change prompt. Make sure the PC has a working network connection to the domain controller, then have the user sign out fully (not just disconnect) and sign in again. The cache only refreshes when the user signs in while connected to the domain controller, so do not rely on clearing saved passwords: cmdkey manages Credential Manager entries, not the cached domain logon, and deleting those entries will not fix this.

Deep fix 2: The flag only fires on the second logon attempt

A known quirk, with the same cause as the fix above: on some setups the first sign-in after setting the flag uses the cached credentials stored on the PC and succeeds normally, and only the second sign-in reaches the domain controller and shows the prompt. If the user logged in once without being prompted, do not assume the flag failed: have them sign out and sign in one more time before troubleshooting further.

Deep fix 3: Remote Desktop with NLA blocks the prompt

Diagram showing how Network Level Authentication blocks the password change prompt and how a temporary RDP file workaround allows it
Network Level Authentication authenticates before the login screen appears, so the password prompt never gets its chance.

When Network Level Authentication is on, Remote Desktop authenticates the user before the Windows login screen ever appears, so the “must change password” prompt has nowhere to show up. The workaround is a temporary .rdp file with authentication lowered. Save your connection as a file, open it in Notepad, add these two lines at the bottom, and connect through that file:

authentication level:i:0
enablecredsspsupport:i:0

The user will then see the normal Windows logon screen on the remote PC, change the password there, and sign in. Delete the temporary file afterward, because lowered authentication is less secure and should not become the everyday way to connect. This only works if the remote PC does not enforce Network Level Authentication; if it does, the connection will still be refused. The supported route then is to clear the flag, let the user sign in, and have them change the password with Ctrl+Alt+Del, or Ctrl+Alt+End inside a Remote Desktop session. Our guide to saved credentials in Remote Desktop covers related login quirks.

See also  How to Fix Windows Update Error 0x80070005 [Fix]

Deep fix 4: Group Policy is overriding the account

On domain PCs, Group Policy can control password behavior and silently clear or ignore the flag. Check with your domain admin whether a password policy or a LAPS (Local Administrator Password Solution) policy manages the account. Windows LAPS actively blocks other tools from changing a managed account’s password, and a blocked attempt is logged as event 10031, with a message saying the account is controlled by external policy and cannot be modified. Rotate the password through LAPS instead of setting the flag by hand. An admin can also confirm the flag is really set by checking the account’s pwdLastSet attribute in Active Directory Users and Computers (Attribute Editor): it should read 0.

One more cause: minimum password age. If the user gets an error saying the new password does not meet the requirements right after a reset, the domain or local minimum password age may be blocking the change, and Windows gives no separate message for it. The flag itself is the way around that block, so check the password policy rather than resetting the password again.

Frequently Asked Questions

Why does the checkbox un-tick itself?

Usually because the account is a Microsoft account, which does not support the flag, or because a domain policy or management tool is resetting it. It can also clear if the password was changed by another admin tool after you ticked it.

Does this work for accounts that sign in with a PIN or fingerprint?

Windows Hello sign-in methods bypass the password prompt flow, so the flag may not trigger for PIN or biometric sign-ins. Have the user sign in with their password once to receive the change prompt. Also check Settings, Accounts, Sign-in options: if “only allow Windows Hello sign-in for Microsoft accounts” is switched on, the password sign-in screen may be hidden entirely. A PIN is not the account password, so typing the PIN at the change screen will be rejected as the wrong password.

See also  Fix "Hyper-V Hypervisor Is Not Running" Error in Windows: Complete Troubleshooting Guide

Setting up accounts from scratch? Our walkthrough on logging in with a local account instead of a domain account covers the account-type basics.

David Coleman
Scroll to Top