To regain access to your account after forgetting your password, create a Windows 10 USB media, and then use these steps:
Important: Before proceeding to reset your password in Windows 10, note that this workaround only works with local accounts, not when using a Microsoft Account. If this is your case, you'll need to use the online Microsoft password recovery tool. On the page, you will be greeted with the "Why can't you sign in?" question, where you would choose the "I forgot my password" option. Then the online form will guide you through the different ways to verify that you are "you", by using a secondary email, sending an SMS text to your phone, and other methods to recover your password.
-
Start computer with Windows 10 USB bootable media.
Quick note: To start your device with a bootable media, you may need to change the BIOS or UEFI settings. This process usually requires pressing one of the function keys (F1, F2, F3, F10, or F12), the ESC, or the Delete key. For more accurate instructions, visit your PC manufacturer's support website.
-
On the Setup page, use the Shift + F10 keyboard shortcut to open Command Prompt.
-
Type the following command to move from the
X:\Sources
folder to the root folder of your Windows 10 installation and press Enter:C:
In the command, we're using
C:
because it's usually the drive letter to access the hard drive after booting the device with USB, but you may need to play around to find the right drive letter. You can confirm the location using thedir
command. If the result shows the "Programs Files" as well as "Windows" folders, then you're in the correct location. -
Type the following command to navigate to the System32 folder and press Enter:
cd Windows\System32
-
Type the following commands to replace the Utility Manager button with direct access to Command Prompt from the Sign-in screen and press Enter (on each line):
ren utilman.exe utilman.exe.bak ren cmd.exe utilman.exe
-
Type the following command to restart your computer normally and press Enter:
wpeutil reboot
-
In the Sign-in screen, click the Utility Manager button in the bottom-right corner to open Command Prompt.
-
Type the following command to enable the built-in Administrator account and then press Enter:
net user Administrator /active:yes
-
Click the Power button in the bottom-right corner and select the Restart option.
-
In the Sign-in screen, select the Administrator account.
-
Open Start.
-
Search for Computer Management and click the top result to open the app.
-
Expand the Local Users and Groups branch.
-
Expand the Users branch.
-
Right-click the account you want to reset the password and select the Set password option.
-
Specify the new password.
-
Click the OK button.
-
Sign out from the Administrator account.
-
Sign back in using the account with the new password.
-
Restart the device using the Windows 10 USB bootable media again.
-
On the Setup page, use the Shift + F10 keyboard shortcut to open Command Prompt.
-
Type the following command to move to the root folder of your Windows 10 installation and press Enter:
C:
-
Type the following command to navigate to the System32 folder and press Enter:
cd Windows\System32
-
Type the following commands to replace the Utility Manager button with direct access to Command Prompt from the Sign-in screen and press Enter (on each line):
ren utilman.exe cmd.exe ren utilman.exe.bak utilman.exe
-
Type the following command to disable the Administrator account and press Enter:
net user Administrator /active:no
-
Type the following command to restart the computer normally and press Enter:
wpeutil reboot
Once you complete the steps, you can regain access to your account normally.
It's important to note that this method should work as long as you're trying to reset the Windows 10 password from a local account without any kind of encryption. If you use any sort of encryption, such as BitLocker, you will need the original password to get access to the account. Otherwise, you may lose your data.
We're focusing this guide on Windows 10, but you can use the same instructions on Windows 8.1, Windows 7, and older operating system versions.