Close Menu
  • News
  • Guides
  • Reviews
What's Hot

Forgot Your Windows Password? How to Get Back In Without Losing Your Files

July 27, 2026

iPhone 18 Leaks: Everything We Know So Far About Apple’s 2026 Lineup

April 7, 2026

Botim vs Careem Pay vs Aspora: Best Way to Send Money Back Home From the UAE

April 3, 2026
Facebook X (Twitter) Instagram
GadgetsNexusGadgetsNexus
  • News
  • Guides
  • Gaming
  • Reviews
Facebook X (Twitter) Instagram YouTube TikTok
GadgetsNexusGadgetsNexus
Home » Forgot Your Windows Password? How to Get Back In Without Losing Your Files
Guides

Forgot Your Windows Password? How to Get Back In Without Losing Your Files

Devesh AroraBy Devesh AroraJuly 27, 2026No Comments4 Mins Read
Facebook Twitter Pinterest Telegram LinkedIn Tumblr WhatsApp Email
Share
Facebook Twitter LinkedIn Pinterest Telegram Email

Getting locked out of your own computer is one of those small disasters that feels much bigger than it is. If it’s a local Windows account, you can recover access yourself in a few minutes using tools already built into Windows. No paid unlock software, no reinstall and no losing your files.

This guide walks through the method step by step. I’ve done this myself on the Windows 11 laptop in the video below, and the same steps work on Windows 10 as well.

Disclaimer – This method is for recovering access to a computer you own or are authorised to use. It works only on local Windows accounts. If you sign in with a Microsoft account (an email and password), skip to the Microsoft account section further down as the process is completely different for that. Also, do note that this method will not work if Bitlocker is enabled on your Windows PC.

Before You Start: Which Type of Account Do You Have?

This matters, because it decides which method you need.

  1. Local account – You set a username and password directly on the PC, no email involved. This is common on older machines, work laptops, and PCs set up offline.
  2. Microsoft account – You sign in with an email address (Outlook, Hotmail, Live, or any email tied to Microsoft). Use the Microsoft account reset instead, for which you can jump to that section.

Not sure? If your login screen shows an email address under your name, it’s a Microsoft account.

How To Recover a Forgotten Windows Password: Step by Step

The idea behind this method is simple. Windows has an Accessibility button on the lock screen that anyone can click before logging in. We temporarily swap that button so it opens Command Prompt instead, which lets us reset the password, and then we swap it back once we’re in.

Step 1: Open recovery mode from the lock screen

On the login screen, hold the Shift key and click on Restart from the Power icon on the bottom right corner. Keep holding Shift until the PC restarts into a blue recovery screen.

Step 2: Navigate to Command Prompt

On the blue “Choose an option” screen, go to:

Troubleshoot → Advanced options → Command Prompt

password reset windows

Step 3: Swap the Accessibility file for Command Prompt

In the Command Prompt window, type these commands one at a time, pressing Enter after each:

C:
cd windows\system32
ren utilman.exe utilman1.exe
ren cmd.exe utilman.exe
exit

The first two lines move you into the System32 folder. The third renames the original Accessibility file so you can restore it later. The fourth puts Command Prompt in its place.

After typing exit, restart the PC.

Note on drive letters: in recovery mode your Windows drive is usually C:, but not always. If cd windows\system32 returns an error, your Windows folder may be on another letter, try D: then the cd command again.

Step 4: Click the Accessibility icon

Back at the normal login screen, click the Accessibility icon in the bottom-right corner. Because of the swap, instead of the accessibility menu, a Command Prompt window opens, with full system privileges.

Step 5: Open user account settings

In that Command Prompt, type:

control userpasswords2

This opens the User Accounts window. Select your username from the list and then click on Reset Password.

password reset windows 11

Type your new password (twice to confirm). Just click Ok, then click on Ok again.

Close the windows and log in with your new password. You’re back in, with all your files intact.

Restore the Original File Afterward

Don’t skip this. Right now, anyone who clicks the Accessibility icon on your lock screen gets a full-privilege Command Prompt, which is a serious security hole. You need to put the original file back.

Open recovery mode again (Shift + Restart → Troubleshoot → Advanced options → Command Prompt) and run the following commands:

C:
cd windows\system32
ren utilman.exe cmd.exe
ren utilman1.exe utilman.exe
exit

This restores both files to exactly how they were. Restart, and your PC is secure again with the Accessibility button working normally.

Reset Password on Windows PC with a Microsoft Account

If your login is tied to an email address, none of the above applies, and thankfully the fix is far easier, because Microsoft lets you reset online from any device:

  1. On your phone or another computer, go to account.live.com/password/reset
  2. Enter the email address you use to sign in to Windows
  3. Verify your identity through the code Microsoft sends to your recovery email or phone
  4. Set a new password
  5. Back on the locked PC, connect it to the internet and sign in with the new password

Because the password lives on Microsoft’s servers rather than your PC, the new one syncs down as soon as the machine is online.

Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
Devesh Arora
  • Website
  • Facebook
  • X (Twitter)
  • Instagram
  • LinkedIn

Devesh Arora is a tech-geek who has been playing with computers since his childhood. Growing up building PCs with his father, he quickly gained interest in the gadget space leaning more towards smartphones. Having experience both iOS and Android platforms, he is here to share his experience and guide everyone through the insightful knowledge he has gained over the years.

Related Posts

How to Install Windows 11 on Unsupported Hardware: A Step-by-Step Guide

September 22, 2023

Threads by Instagram: How to download and use on Android, iPhone

July 13, 2023

Botim for Desktop: How to setup & make calls from your PC in UAE

June 28, 2023

Apple iPhone 14, iPhone 14 Pro Price in UAE: A complete price list of all variants

June 20, 2023

WhatsApp messages can now be edited after sending: Here’s how it works

June 17, 2023

How to use one WhatsApp account on multiple devices

June 2, 2023
Leave A Reply Cancel Reply

Top Reviews
Editors Picks

Forgot Your Windows Password? How to Get Back In Without Losing Your Files

July 27, 2026

iPhone 18 Leaks: Everything We Know So Far About Apple’s 2026 Lineup

April 7, 2026

Botim vs Careem Pay vs Aspora: Best Way to Send Money Back Home From the UAE

April 3, 2026

Why Google Maps and Waze GPS Are Not Working Properly in the UAE

March 10, 2026
About Us
About Us

Stay up-to-date with the latest technology news, guides, and in-depth reviews on GadgetsNexus. Explore the world of smartphones, laptops, and more, tailored for the tech-savvy audience in the United Arab Emirates.

Email Us: [email protected]

Facebook X (Twitter) Instagram
Our Picks

Forgot Your Windows Password? How to Get Back In Without Losing Your Files

July 27, 2026

iPhone 18 Leaks: Everything We Know So Far About Apple’s 2026 Lineup

April 7, 2026

Botim vs Careem Pay vs Aspora: Best Way to Send Money Back Home From the UAE

April 3, 2026
Useful Links
  • Home
  • News
  • Guides
  • Privacy Policy
© 2026 GadgetsNexus
  • Home
  • News
  • Guides
  • Privacy Policy

Type above and press Enter to search. Press Esc to cancel.