When logging in your PC, you may find the password is not correct and the PC is locked out of Windows 10. What should you do to unlock Windows? It is an easy job and you can follow these solutions in this post on the MiniTool website to easily fix your issue.

Security is very important, so this is why most of you set a password on your computer. But sometimes you may forget the password you have set before. If you don't remember your PC password, the PC is locked out of Windows 10.

So, how to unlock Windows 10? You can take measures to reset or bypass the Windows password. In the following part, we will show some effective ways.

Fixes for Windows 10 Locked out

Log in Windows with Another Account

If your computer is locked out of Windows 10 login screen and you forget the password, you can get rid of the trouble by logging in with another user account that has administrative rights.

Step 1: On the login screen, log in with another administrator account.

Step 2: Open Computer Management, go to Local Users and Groups > Users, right-click the locked user account, and choose Set Password.

Step 3: Click Proceed to continue when a prompt appears.

Step 4: Type in a new password and confirm it.

set password for Windows 10

Step 5: Sign out of the current account and log in to the locked account with the new password.

Alternatively, you can go to Control Panel > User Accounts > User Accounts > Manage another account to set a new password. Then, sign out of this account and sign in to the locked account.

Unlock Windows 10 via Command Prompt

In the case of Windows 10 locked out, you can unlock the PC by running some commands. Follow these steps:

Step 1: Boot your computer from an installation disc or a USB drive.

Step 2: In the Windows Setup interface, press Shift + F10 directly to launch Command Prompt.

Step 3: Type the following commands and press Enter after each one.

move c:\windows\system32\utilman.exe c:\

copy c:\windows\system32\cmd.exe c:\windows\system32\utilman.exe

Tip: This can replace the Utility Manager on Windows 10 sign-in screen with Command Prompt. Here c refers to the system drive letter.

Step 4: Take out of the drive or disc and reboot your computer.

Step 5: In the login screen, click the following icon and the Command Prompt window will pop up.

Step 6: Type net user <username> <password> and hit Enter to set a new password for the locked account. Alternatively, you can add a new admin account to Windows 10 by using these commands:

net user <username> /add

net localgroup administrators <username> /add

Step 7: Restore the Utility Manager after you finish resetting your password. Just boot the PC from the bootable disc or USB, open Command Prompt, type copy c:\utilman.exe c:\windows\system32\utilman.exe, press Enter and type Yes.

Then, you can use the new password to log in to the admin account you have reset the password.

Reset Microsoft Password to Unlock Windows 10

If you are using a Microsoft account to log in to Windows 10 but the PC is locked out of Windows 10, you can reset the password online.

Step 1: Just go to https://account.live.com/password/reset.

Step 2: Enter your email and get a code.

Step 3: Type in your new password.

reset Microsoft account

Then, log in Windows 10 with the new Microsoft account.

Tip: If you are using an HP laptop and forget the password, get solutions from this post - Top 6 Methods to Unlock HP Laptop If Forgot the Password.

Final Words

How to unblock computer in Windows 10? If your computer is locked out of Windows 10, just follow these solutions above to easily unlock it.