Searching the PC for the administrator password won’t turn it up: Windows 11 never shows a stored password anywhere, so the fix is to reset it, and the method depends on whether that administrator signs in with a Microsoft account or a local account. If another administrator account works on the same PC, that person can set a new password for a local account without touching your files.
The steps cover current versions of Windows 11 and apply only to accounts you own or manage.
Why Windows can’t show an administrator password
When you sign in, Windows checks what you type against a protected copy of the password. It has no screen in Settings, Control Panel or Command Prompt that reads the original back, and that applies to administrators looking at other accounts too. Microsoft’s own wording is blunt: if its recovery options don’t work, Microsoft support can’t help you retrieve or get around a lost or forgotten password. Pages that promise to “find” or “recover” the old password point to removal tools or recovery-screen tricks that Microsoft doesn’t support; they aren’t covered here. The question of digging the password out with Command Prompt is answered in more detail in whether Command Prompt can reveal an administrator password.
So the useful questions are: which account is the administrator, what type of account is it, and is there a second way in? If you can’t sign in to any account at all and simply need the shortest recovery route, getting back into Windows after a forgotten password starts from the sign-in screen for every account type. This page stays with the administrator account.
Work out which account is the administrator
Two terms decide everything that follows:
- Microsoft account: you sign in with an email address (Outlook.com, Hotmail, or any address registered with Microsoft). Microsoft holds the password online, so you can reset it from any phone or computer.
- Local account: the account exists only on this PC and usually shows a plain name rather than an email address. Only this PC can reset it, using security questions, a reset disk, or another administrator.
The sign-in screen is the quickest clue. Accounts are listed in the lower-left corner, and a Microsoft account usually shows its email address under the name when selected.
If you can sign in to any account on the PC, check who has administrator rights before you reset anything. If another account on the PC is also an administrator, that account can fix a local-account lockout for you.
- Open Settings (Windows key + I) and select Accounts.
- Select Other user (in Microsoft’s wording) to see the other accounts on the PC. Your own account isn’t listed there; it’s the one at the top of the Accounts page. On Windows 10 the same list sits under Settings > Accounts > Family & other users.
- Select an account to open its options. Next to Account options, an administrator sees Change account type, which shows whether the account is an Administrator or a Standard User.
Computer Management gives the same answer from another angle. Open it from Start search, expand Local Users and Groups, select Groups, and double-click Administrators to see every member of the group. Local Users and Groups may not appear on Home editions; use Settings there.
If the administrator uses a Microsoft account
A Microsoft account password is reset through Microsoft, not through Windows, and the new password then works on the PC and on every service that uses the account. The PC has to be online to accept it, so join Wi-Fi from the network icon on the sign-in screen first. Microsoft’s Microsoft account password page for Windows lists three starting points: I forgot my password on the sign-in screen, Sign-in options > Web sign-in > Forgot my password on the same screen, or the Reset password link in a browser on another device. Each one verifies you with a security code sent to the account’s email or phone; the full verification walkthrough is in the forgotten-password guide linked above, and if no verification option reaches you any more, Microsoft points to its sign-in helper tool, because its support agents can’t send reset links or change account details for you.
If the administrator is a local account
Local accounts created on Windows 11 ask for security questions during setup, and those answers are your self-service reset. As Microsoft’s local account password page describes it, you pick the local account on the sign-in screen, select the password entry button without the right password, then select OK and Reset password and answer the questions to set a new one. If you made a password reset disk while you still knew the password, select Use a password reset disk instead; a reset disk can’t be made after the fact.
No Reset password link usually means the account has no security questions, or it isn’t a local account at all. For the sign-in-screen reset on its own, with what each prompt looks like, see resetting a forgotten Windows 11 password without logging in. Once you’re signed in, you can change the password any time in Settings > Accounts > Sign-in options > Password > Change (you’ll need the current password).
Ask a second administrator to set a new password
This is the fix for a local account with no security questions. It works only for local accounts; a second administrator can’t change a Microsoft account password.
- Sign in with the other administrator account.
- Open Computer Management.
- Expand Local Users and Groups > Users.
- Right-click the account that needs a new password and select Set Password….
- Enter the new password, confirm it, and sign out so the owner can sign in and change it to one only they know.
Microsoft’s instruction ends with the hard fact: if you don’t have an administrator account to change the password with, you’ll need to reset your Windows device. If Local Users and Groups is missing on your edition, the other routes an administrator has are covered in the forgotten-password walkthrough linked above, and a full locked-out sequence, from first attempt to last resort, is in getting back into a locked admin account on Windows 11.
When a standard account asks for an administrator password
Plenty of people meet this problem while they’re already signed in. You try to install an app or change a system setting, and a User Account Control (UAC) box asks for an administrator’s user name and password. According to Microsoft’s explanation of how UAC works, that credential prompt is what a standard user sees; an administrator gets a consent prompt with a Yes button instead.
That prompt tells you two things. Your own account is a standard account, and it wants the password of a different account, one that is an administrator. Typing your own password won’t satisfy it. The fix is to have that administrator type their password, or, if the administrator account is yours and its password is the one you forgot, reset it with the section above that matches its account type.
Get administrator rights back
Once any administrator account works again, it can change a standard account to an administrator in Settings > Accounts. The full set of routes, including the order to follow so the PC is never left without an administrator, is in making yourself an administrator on Windows 11. While you’re there, consider whether you need a second administrator: Microsoft’s guide to managing user accounts recommends keeping the number of administrators small, but one spare, known to a trusted person, is what makes the “another administrator” fix possible next time. Adding a user in Windows 11 covers creating it.
If it’s the Windows Hello PIN you forgot rather than the password, nothing above is needed: reset a forgotten Windows 11 PIN from the sign-in screen, and use changing your Windows PIN once you’re in.
If your organization manages the PC
If the PC was issued by an employer or school, or you sign in with a work or school address, the organization controls both the password and administrator rights. Its IT help desk can reset the password and decide whether your role needs admin access. Don’t reset or reinstall a managed PC yourself: Microsoft’s recovery page tells owners of managed PCs to contact their IT department, which may be able to help remotely.
No administrator left: find the BitLocker key, then reset
With no working recovery option and no other administrator, Microsoft’s answer is to reset the device. That reinstalls Windows and costs you your apps and settings, so treat it as the final step, not the first.
Before you start, find the BitLocker recovery key if the drive is encrypted. Microsoft’s Reset your PC page says to have it ready, and recovery screens ask for the 48-digit key before they’ll go further. For PCs signed in with a Microsoft account, it’s often stored in that account; where to find your BitLocker recovery key lists the other places. Microsoft Support can’t retrieve, provide or recreate a lost key.
In the Windows Recovery Environment, select Troubleshoot > Reset this PC. Microsoft names two choices:
- Keep my files reinstalls Windows and keeps your personal files but removes apps and settings. Microsoft doesn’t say it changes the account’s password, so don’t count on it to fix a lost administrator password.
- Remove everything deletes accounts, files, apps and settings. During setup afterward you create a new account, which is what gets you past the lost password.
How to reach the recovery screen from the sign-in screen, the Cloud download and Local reinstall options, and what happens to files on the old account are all covered in factory resetting Windows without a password. A clean install from installation media is the other last resort, and Microsoft’s recovery page says it removes everything from the device.
When a step doesn’t work
- The new Microsoft account password is rejected on the PC. The PC may not have picked it up yet. Check it’s online from the sign-in screen, check Caps Lock, restart, and try again.
- Set Password or the account-type option isn’t available. You’re signed in to a standard account. Only an administrator can change another account’s password or type.
- You can’t receive Microsoft’s verification code. Look for another verification method on the reset page, then try the sign-in helper tool.
- The UAC prompt rejects every password. Make sure you’re typing the administrator account’s password, not your own, and pick the right account if the prompt lists more than one.
- Recovery asks for a BitLocker key you don’t have. Check every Microsoft account anyone in the household may have used on the PC. Without the key, the encrypted data can’t be kept.
Admin password questions
Is there a default administrator password on Windows 11?
No shared default password is published for Windows 11 PCs. Administrator passwords are the ones chosen when those accounts were created, which is why the only way forward is to reset one, not look it up.
Can another administrator see my current password?
No. An administrator can set a new password for a local account, but can’t view the old one. That’s also why Set Password replaces the password instead of revealing it.
The command-line version of that reset is in using net user to reset a local account password.
Why am I asked for an administrator password when I’m already signed in?
Your account is a standard account, and the task needs an administrator’s approval. Ask the administrator to enter their password, or have them make your account an administrator if you look after the PC.
Does resetting my Microsoft account password change it on my other devices?
Yes. The password belongs to the Microsoft account, so services like Outlook.com and OneDrive, and other PCs signed in with that account, will ask for the new one.
Start with whichever administrator account you can still reach. If none is reachable, the account-type sections above are your next step, and the reset is the backstop only when they all fail.

Kermit Matthews runs Live2Tech from just outside Philadelphia. He is an IT specialist with over 20 years of experience, from a university help desk to small-business IT, IT management and his own consulting practice, and has written tech guides full time since 2020. Steps are checked against the current software on a real device or the maker’s official documentation. More about Kermit.