If you have configured security questions to reset your Windows 11/10 local account password, you can follow the instructions outlined in this blog post. Otherwise, you can try the method below. Note: This workaround only works with local accounts, and not with a Microsoft Account. If this is your case, you’ll need to reset your forgotten Microsoft Account password from the login screen.
Reset Local Account password using Installation Media
To reset your local account password and regain access to your account after forgetting your password, you first need to create a Windows installation media (if you don’t have one handy) and then follow the instructions as outlined below.
Boot your computer with Windows installation media.
Note: To start your device with bootable media, you may need to change the boot order. Depending on your PC manufacturer, this process usually requires pressing one of the function keys (F1, F2, F3, F10, or F12), the ESC or Delete key.
In the Windows Setup page, press the Shift + F10 keyboard shortcut to open Command Prompt.Type C: and hit Enter to move from the X:\Sources folder to the root folder of your Windows installation.
Note: If C is not the drive letter for the drive on which Windows 11/10 is installed, you can find the right drive letter by confirming the location using the dir command. If the result shows the Programs Files as well as Windows folders, then you’re in the correct location. Otherwise, type the correct drive letter.
Next, type the command below and hit Enter to navigate to the System32 folder:
Now, type the commands below and hit Enter (on each line) to replace the Utility Manager button with direct access to Command Prompt from the Sign-in screen:
Next, type the command below and hit Enter to restart your computer normally:
In the Sign-in screen, click the Utility Manager (Ease of access) button (the one in the middle of three buttons) in the bottom-right corner to open Command Prompt.Type the command below and hit Enter to enable the built-in Administrator account:
Next, click the Power button in the bottom-right corner and select Restart.In the Sign-in screen, select the Administrator account.Next, press Windows key + R to invoke the Run dialog.In the Run dialog box, type lusrmgr.msc and hit Enter to open Local Users and Groups.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 OK.Next, to sign out from the Administrator account, press Windows key + X to open Power User Menu, tap U and then I on the keyboard.Sign back in using the account with the new password.Now, shut down the Windows 11/10 PC.
Read: What to do if I forgot my computer password? Now, you should restore the utilman.exe file. If not, you won’t be able to use the Utility Manager on Windows 11/10 sign-in screen and on the other hand, others might use the command prompt to change your Windows 11/10 admin password or make other changes to your computer. To restore the utilman.exe file, do the following:
Boot the device using the Windows 11/10 installation media again.In the Windows 11/10 Setup page, press Shift + F10 keyboard shortcut to open Command Prompt.Type C: and hit Enter to move to the root folder of your Windows 11/10 installation:Now, type the commands below and hit Enter (on each line) to replace the direct access to Command Prompt with the Utility Manager button on the sign-in screen:
Next, type the command below and hit Enter to disable the inbuilt Administrator account:
Finally, type the command below and hit Enter to restart your computer normally: You now have regained access to your device. Related post: Reset Windows Password with Recover my Password Home Free.