logo
Windows 10 Password Reset Windows 10 Local Admin Password with Command

How to Reset Windows 10 Local Admin Password Using Command Prompt

By Jennifer | Last Updated

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 we can use command prompt to reset Windows 10 local admin password no matter the Windows 10 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, what can you do if you forget the Windows 10 password and lose access to your computer? In fact, you can still reset your forgotten local administrator password for Windows 10 using the command prompt, which requires the Windows installation DISC, sometimes called the installation disk or system recovery disk. Or turn to Windows Password Genius for help.

  1. Way 1: Reset Windows 10 local admin password using command prompt
  2. Way 2: Reset a forgotten Windows 10 local admin password with a Dedicated tool

Way 1: 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.

More ways to create password disk, please see 4 Ways to Create Windows 10 Password Reset disk when forget password

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 "move 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

Way 2: Reset a forgotten Windows 10 local admin password with a Dedicated tool

The steps to reset the Windows 10 local admin password using command prompt are complicated when the computer is locked, and sometimes it doesn't work for some novices. iSunshare Windows Password Genius is a dedicated tool to unlock any computer without password, and it can delete forgotten administrator passwords directly on the lock screen and then you can set a new one.Here are its main outstanding features.

    - Remove the password of any user directly while the computer is locked.

    - Get admin access without a password.

    - Add new users to the Windows locked screen.

    - Works with almost all brands of computers, including HP, Asus, Samsung, Huawei.

Download and install iSunshare Windows Password Genius on another accessible computer, then follow the steps to reset the forgotten Windows 10 local administrator password.

Step 1: Launch the software and select USB or CD/DVD as the medium to reset the password.

choose media type

Then click "Begin Burning" and wait for a successful burn, you will get a password reset disk.

start burning

Step 2: Insert the password reset disk into the locked PC and boot the computer from the USB drive. You can go to the BIOS menu to change the computer's boot options.

The lock screen of your computer will automatically bring up the main interface of iSunshare Windows Password Genius. Select the corresponding Windows OS and user, click "Reset Password", and then the password of the local administrative user will be removed.

reset windows local admin password

Step 3 (Optional): Click "Add User" to add a new user and password. Or go to Windows after restarting the device to add a new local administrators and password.

add user

Related Articles: