You’ve forgotten your Windows password and can’t remember the answers to the security questions. In effect, you’re locked out of your own computer.
In this guide I’ll show you how to reset the Windows password without losing any data.
To Get Started
To reset a forgotten password, you’re going to need to use Command Prompt. The problem is that you can’t open Command Prompt until you’ve logged in to your computer.
And you can’t log in because you’ve forgotten your password. So what can you do?
On the Windows login screen, down in the bottom right hand corner, you’ll see the Accessibility icon in Windows 11 or Ease of Access icon if you’re using Windows 10.
When you click on it, it’ll give you various options such as turning on narrator and screen contrast etc. The important thing to note about this icon, is that it works without you needing to sign in to your PC.
By hacking your system (just a little bit) you can change what happens when you click the Accessibility/Ease of Access icon. You can make it open a Command Prompt instead.
Once you’ve got a command prompt, resetting your password is easy.
You’ll need to have a bootable Windows flash drive ready.


Local Accounts Only
This guide to resetting a forgotten Windows password only works for Local Accounts. It won’t work for Microsoft accounts. If you’re not sure of the difference please read this post Explaining The Different Windows User Accounts.
Or if you’ve forgotten the password for a Microsoft Account click Forgot Computer Password – Microsoft Account.
Related Posts
You’ll need to have a bootable Windows USB flash drive. If you haven’t already got one, these posts will help you out.
How To Create A Bootable Windows 10 USB Flash Drive.
Resetting Your Lost Password
Plug in your bootable Windows flash drive, restart your PC and boot from the flash drive. After a few moments Windows will begin loading from your USB drive.
When the Windows Setup screen appears, press Shift and F10 on your keyboard. That’ll open a Command Prompt window.


Select The C: Drive
When the Command Prompt opens, it’s working from the flash drive. You need to point it towards your Windows folder on your computer.
Windows will typically be installed onto the C: drive. So type C: and press Enter on your keyboard.


Change Directory To Your Windows Directory
Now that you’re on the C: drive you need to change the directory to the System32 folder inside your Windows folder.
You do it by typing this command and pressing Enter
cd windows\system32

Rename Utilman.exe
When you click the Accessibility icon on the Windows login screen, it opens a small Windows utility called Utilman (Utility Manager).
But to reset your forgotten password, you need it to open a Command Prompt window instead.
So you have to rename Utilman, and you do that by typing this command and pressing Enter –
rename utilman.exe utilman2.exe
Be sure to type the command in exactly as it appears here.
The Command Prompt won’t give you any indication that the command worked. You’ll just return to the C:\windows\system32> prompt.

Copy CMD.exe
The next step is to create a copy of the Command Prompt and save it with the file name Utilman.exe.
By doing this, when you click the Accessibility icon on the login page, it’ll open (or launch) a Command Prompt instead of the Utility Manager. Sneaky ehh.
The command you need to enter is
copy cmd.exe utilman.exe
This time command prompt will give you a notification that the file has been copied.


Restart Your PC
So what you’ve done is to rename Utilman.exe to be Utilman2.exe. Then you’ve created a copy of the command prompt, but changed the name to be Utilman.exe.
All you need to do now is to restart your computer and you can then reset the lost password.
You can restart the PC by simply closing all the open windows or by entering this command into the command prompt –
shutdown -r -t 0
PS, that’s a zero not the letter o.
Resetting Your Forgotten Windows Password
That’s pretty much the hard work done. Now you can access a Command Prompt to change your password.
Allow your computer to boot up properly. You should end up at the Windows login screen.
At the login screen, click the Accessibility or Ease of Access icon in the lower right corner.
If you got everything right in the earlier steps, a Command Prompt window will open.

Control Userpasswords2
Into the Command Prompt window type this command-
control userpasswords2
And then press Enter.

Changing User Account Passwords
The User Accounts window will open.
Select the account that you’ve lost (or forgotten) the password for and then click the Reset Password button.
In the Reset Password box you can type in a new password for the account. Or if you don’t want any password at all, you can simply leave it blank.
Click the OK button when you’re finished.


Close all open windows and then re-start your computer. When you get back to the Windows login page, you’ll find that you can sign in using the new password that you’ve set.
All your files, folders and programs will be there just where you left them. Brilliant.
Reset Password Button Is Greyed Out
The Password Reset button is greyed out and unusable (unavailable) if you select a Microsoft account.
You can only reset a password for a local account.

After Resetting Your Password
Now that you can get back into your Windows account, you’ll need to put everything back where it came from.
Restart your computer and boot into the Windows bootable flash drive again.
When you get to the Windows Setup screen, hit Shift and F10 to open the Command Prompt window.

Just as before you have to change the directory that the command prompt is working in. It needs to be looking at the Windows System32 folder.
Then you’ll delete the Utilman.exe file. And finally rename Utilman2.exe to be Utilman.exe.
- Type C: and press Enter
- Type cd windows\system32 and press Enter
- Type del utilman.exe and press Enter
- Type ren utilman2.exe utilman.exe and press Enter.




Finally type shutdown -r -t 0 and press Enter to restart your computer. Again that final character is a zero not a letter o.
Summary
Forgetting your Windows password needn’t be the end of the world. You can get back into your computer providing you’re using a local account rather than a Microsoft account to sign in.
How to Convert a Windows 10 PC to a Virtual Machine
As Windows 10 nears the end of its life cycle, many people will be considering buying a new PC. But what then happens to your old computer. It still has all your data and applications on it.

Convert it to a virtual machine and run it on your new PC. It’ll have all your old apps and files. No need to re-install anything.
You can find this and other related step by step guides in – At Home Computer Windows 10 Guides