All About Technology & Troubleshooting

How to change or Reset windows 10 password using command prompt 2022

Have you forgotten or lost the Windows 10 user login password of your PC? If you are using Microsoft account to log in then you can reset it online at Microsoft’s site. But if you have a local admin account and Looking for reset Windows 10 password without using any third party software? Here how to change or reset windows 10 password using the command prompt. It’s very simple and easy you only need Windows 10 installation media to access command prompt window to Reset Windows 10 Local Admin Password.

Reset Windows 10 Local Admin Password

As PC is locked we can t perform any action there, we need to boot from windows installation media to perform feature steps. If you don’t have Read how to create Windows 10 installation media from here.

  • When you are ready with Windows 10 bootable USB or DVD put it and restart your PC,
  • Press F12 or F2 key continuously to access Boot menu,
  • Select Boot from DVD or removable disk (if you are using Bootable USB)

Select boot from

  • Then press any key to boot from installation media,
  • Here on installation screen press Shift + F10 key to open command prompt window.

open command prompt from installation screen

  • Now we are going to Replace the file utilman.exe with cmd.exe and Before you do this, you should make a copy of utilman.exe so that you can restore it later.
  • Lets first identify the drive letter using Diskpart command.
  • Type command list volume display all drive letters with the volume number.
  • Note down the drive letter where Windows is installed, for me its D
  • Now type command exit to leave from disk part.

Disk part command

  • Then type command cd d: to  change the directory,
  • Run command, cd windows to then cd system32 to change the directory to there.
  • To Backup utilman.exe, use command, copy utilman.exe utilman1.exe
  • use command copy cmd.exe cmd1.exe to backup the cmd.exe.
  • Now run command del utilman.exe to delete the utilman.exe from there.
  • And rename cmd.exe as utilman.exe using command rename cmd.exe utilman.exe
  • That’s all type exit and close command prompt, cancel the installation and let windows boot normally.

Reset windows 10 password using command prompt

  • Now On the Windows 10 sign-in page, click the Utility Manager icon
  • This will open the command prompt window.

Utility Manager icon

  • Here type command control userpasswords2 and press enter key.
  • This will open the user accounts window, where you can manage user accounts and reset the password.
  • Select the user account, and click reset password,
  • A new prompt will open here type the new password, for the user account,
  • Confirm new password by re-type the same.
  • Click ok, then apply to save changes, close the command prompt window.
  • Now type the new password for login to that user account.

reset windows 10 password

Note: Also here on command prompt window you can run command

net user Administrator /active:yes

This will enable the hidden administrator account, and allow to access your Windows PC.

  • Press Windows + R, type compmgmt.msc and ok
  • Expand local users and groups,
  • Select users, then click the user account on right-hand side,
  • Right-click on select set password,
  • After that log off from the administrator account and log in user account with the newly created password.

Change or set new password

Resetting Windows 10 passwords via command prompt is the best free option to help you unlock
a locked PC. However, it could be a big challenge for average users who had never known or
used the command prompt in their life. For them, programs with GUI is the preferred method as
only a few clicks can reset the password.

reset password

Take Androidphonesoft Windows Password Recovery for example, find another Windows PC
and download the program. Then insert a USB and burn the password reset utility to the USB.
After that, boot the locked Windows 10 from the USB and remove the password from the target
account. This is much faster than using the command prompt for Windows password reset.

Also, you can use Free Windows Password Recovery Tools like Ophcrack, Kon-Boot, Offline NT Password & Registry Editor, to recover your windows passwords. Have you reset the forgotten Windows 10 password? Let us know on the comments below, Also read:

[vc_row][vc_column]

[/vc_column][/vc_row][vc_row][vc_column][/vc_column][/vc_row]

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More