Home > Resources > Windows 10 Password > Reset Windows 10 Local Admin Password with Command

How to Reset Windows 10 Local Admin Password Using Command Prompt

As we know, Command Prompt is another powerful way besides Windows password recovery tool that can effectively reset Windows password. So in this post, we will talk about how can we use command prompt to reset Windows 10 local admin password no matter computer is accessible or locked.

Case 1: When windows 10 computer is accessible

When Windows 10 is accessible with administrative privileges, command prompt can be run easily and reset Windows 10 local admin password.

1. Press Win + X and select Command Prompt (Admin) in menu.

2. Click Yes on pop-up UAC dialog to run command prompt as administrator in Windows 10.

3. Enter command in Command Prompt window to reset local admin password.

Or create new admin account with command below.

Case 2: When windows 10 computer is locked

However, if you forgot Windows 10 password and lost access to computer, how can you do? Actually you can still reset Windows 10 forgotten local admin password using command prompt. Just need the help of Windows installation disc, sometimes called setup disk or system recovery disk.

Steps to reset Windows 10 local admin password using command prompt:

Step 1: Prepare Windows 10 installation disc or installation USB.

If there is no available Windows 10 installation disk in hand, you can instantly create one with media creation tool on another accessible computer.

Note: 3 options to create a Windows 10 recovery disk

Step 2: Start locked Windows 10 computer from installation disk.

Connect installation disk to Windows 10 computer where you want to reset forgotten local admin password. And make computer boot from the disk.

start locked windows 10 from installation disk

Step 3: Replace Utility Manager with Command Prompt.

1. After computer successfully boots from installation disk, press Shift + F10 to bring up command prompt.

2. Then execute command below to replace utility manager with command prompt. Remember to press Enter after each command line. (d:\ is the system drive)

move d:\windows\system32\utilman.exe d:\
copy d:\windows\system32\cmd.exe d:\windows\system32\utilman.exe

3. Remove disk and restart Windows 10 with command "wpeutil reboot".

replace utility manager with command prompt

Step 4: Reset Windows 10 local admin password with command prompt.

Once Windows 10 goes to sign-in screen, please click the Utility Manager at the right-bottom side and Command Prompt will be open instead.

run command prompt on windows 10 login screen

Then you can take net user command to reset Windows 10 local admin password or add new admin account just like on accessible Windows 10.

1. Reset Windows 10 local admin password with net user command

reset windows 10 local admin password with command prompt

2. Add new admin account to Windows 10 with net user command

add new windows 10 admin account with command prompt

Step 5: Restore Utility Manager.

1. Close Command Prompt and insert installation disk into Windows 10 computer again.

2. Click the Power icon and select "Restart" at the right-bottom side on login screen.

3. While Windows 10 successfully boots from installation disk and you see Windows Setup window, press Shift + F10 to open Command Prompt.

4. Type command "copy d:\utilman.exe d:\windows\system32\utilman.exe", press Enter, and then type "Yes" to restore Utility Manager.

restore utility manager with installation disc

Step 6: Log into Windows 10 with local admin account.

Exit command prompt and installation disk now to reboot Windows 10 normally. While you go to login screen, please select the admin account you have reset password or the new admin account, and you could sign in Windows 10 with them successfully.

log into windows 10 with local admin account

Tips:

If you feel it difficult to reset Windows 10 local admin password with command above, please try another more effective way that you can reset Windows 10 password easier. That is iSunshare Windows Password Genius Advanced, which not only resets Windows 10 local and Microsoft account password, but also creates new admin account at the same time just with few clicks.

Related Articles:

Hot Categories
Windows 10 Password
Windows 8 Password
Windows 7 Password
More +
Hot Articles
How to Reset Windows 10 Forgotten Password
How to Bypass Windows 10 Password and Automatically Login
How to Unlock Windows 10 PC after Forgot Admin Password
Windows 10 Laptop Password Reset without Disk
5 Ways to Access Local Group Policy Editor on Windows 10
More +
Latest Articles
2 Ways to Disable Windows 10 Login Password
2 Ways to Automatically Skip Windows 10 Login Screen
Cannot Remember Windows 10 Password | How to Sign In
More +
Hot Products
Windows Password Genius
iTunes Password Genius
Product Key Finder
More +