How to Reset a Windows 10 Password via Command Prompt


The Best WordPress plugins!

1. WP Reset

2. WP 301 Redirects

3. WP Force SSL

Many people have Windows 10, but some may be having trouble accessing the password reset feature. This article will provide a step-by-step guide on how to resolve this issue.

The “reset windows 10 password command prompt without disk” is a process that allows users to reset their Windows 10 password without using the disk.

How to Reset a Windows 10 Password via Command Prompt

Have you ever been locked out of your Windows 10 computer or needed to reset a user password, such as the administrator password? If you don’t know the current password, Windows 10 has numerous options for resetting it. Resetting a Windows 10 password using the Use the Command Prompt is one of the simplest techniques.

If you’re an IT specialist who’s having trouble resetting passwords in Active Directory, check out Specops’ uReset tool.

In this post, you’ll discover a variety of command-line methods for resetting Windows 10 passwords, as well as how to regain access to a locked Windows machine.

How to Use Microsoft LAPS to Rotate Windows Admin Passwords


This lesson will take a hands-on approach to resetting a Windows 10 password. If you can’t log in to your PC, you’ll need the Windows 10 recovery disk in addition to a Windows 10 machine. Information on how to set up recovery media may be found here.

For all instances, Windows 10 Build 1909 will be used, and the PC will not be part of an Active Directory domain.

While logged in, resetting a Windows 10 password

If you need to change your password, you’ll likely be in one of two states: signed in or locked out. Let’s start with how to change a password while using an administrator user account on Windows.

Checking for Reset Privileges

You must have access to reset a password when signed into Windows 10. Although granular permissions might be used to change a password, this article will take the simple path and need a user to be a member of the Administrators group.

To make sure the account you’re using is a member of the Administrators group, do the following:

  1. To launch the Use the Command Prompt window, go to the Start menu and enter cmd.

Make sure you run cmd as administrator by right-clicking on it and selecting “Run as administrator.”

2. In the Use the Command Prompt window, enter whoami to find out who is currently signed in. The string preceding the is the computer’s name.

The user adambertram has successfully logged in.The user adambertram has successfully logged in.

3. Next, enter net user, then your logged-in user account.

The net user command is a useful tool that pulls information about local user accounts, disables and enables user accounts, and resets passwords in almost all Windows versions.

There will be a lot of output, but the information you need is at the bottom, as seen below. The adambertram local account is a member of the Administrators group, as you can see.

Examining the logged-in user account's Local Group MembershipsExamining the logged-in user account’s Local Group Memberships

Using CMD to Reset a User Password

You may now reset the password after confirming that your logged-in account has authorization to do so. To do so, follow these steps:

Type net user followed by the user account and the new password while the Use the Command Prompt is still open. The password for the local adambertram user account is changed to [email protected] using the command below.

After that, you may use the new password to log in to your adambertram account!

Using PowerShell to Reset a User’s Password

PowerShell offers a more “contemporary” technique to reset a Windows 10 user password. Starting with Windows 7, PowerShell is a shell that is accessible in all Windows operating systems.

To change a user’s password using PowerShell, follow these steps:

  1. Open Windows PowerShell as administrator by going to the Start menu and typing “powershell.”

How to Run PowerShell as an Administrator is a related topic.

You’ll need to launch PowerShell and specify the new password, as well as convert it to a safe string. PowerShell uses a secure string to guarantee that credentials aren’t kept in plain text. The next step is included in parentheses.

The command that really changes the password is Set-LocalUser.

Set-LocalUser -Name adambertram -Password (ConvertTo-SecureString “[email protected]” -AsPlainText -Force) Set-LocalUser -Name adambertram -Password (ConvertTo-SecureString “[email protected]” -AsPlainText -Force)

Resetting a Windows 10 Password that Has Been Locked Out (Safe Mode)

If you can’t get onto the computer, changing a password is a snap, as you’ve seen above. But what if you’ve been entirely locked out and are unable to log in? You’re not entirely out of luck in such instance, but you’ll have to put in some additional effort!

You have two methods for resetting a user password when not signed in: utilizing Windows 10 safe mode or recovery media. Let’s take a look at each one one by one, beginning with safe mode.

Safe Mode is a troubleshooting feature in Windows 10 that restarts the computer in a minimal state with just a few files and drivers.

Safe mode allows you to enter the Use the Command Prompt without having to load the whole operating system and skip the login screen.

Activating Safe Mode

First and foremost, you must enter safe mode. To do so, follow these steps:

  1. Windows 10 should be shut off.

Press and hold the Shift key while pressing Restart on the main login screen, as seen below. When Windows 10 is restarted, it will ask you whether you want to go into safe mode.

Safe mode restarting Windows 10Safe mode restarting Windows 10

3. Select Troubleshoot from the Advanced Boot Options page. In safe mode, the Troubleshoot screen is a location where you may solve various bootup and other Windows 10 issues.

4. Select Advanced Options from the Troubleshoot screen.

In safe mode, go to Advanced Options.In safe mode, go to Advanced Options.

5. On the Advanced Choices page, you may choose from a variety of options. Go to Startup Settings and choose it.

In the Advanced Options menu, choose Startup Settings.In the Advanced Options menu, choose Startup Settings.

6. Click the Restart button on the Startup Settings screen. Windows 10 will boot into safe mode after restarting.

 Before resuming in Safe Mode, go through the Startup Settings choices.Before resuming in Safe Mode, go through the Startup Settings choices.

7. The Startup Settings page will appear after resuming, with numerous choices to select from. To return to safe mode, press 4.

Press 6 or F6 to access advanced boot settings.Press 6 or F6 to access advanced boot settings.

8. Instead of the standard Windows 10 desktop, a Use the Command Prompt with elevated rights (Administrator:) should appear after resuming.

In safe mode, run the Use the Command PromptIn safe mode, run the Use the Command Prompt

9. Now that you’ve got the Use the Command Prompt open in safe mode, all you have to do is utilize net user to reset the user account’s password.

If you can’t get into safe mode, you may change user account passwords using the recovery media. To do so, copy cmd.exe to your local disk and change the password using the techniques outlined above.

Let’s go through the steps to make it happen.

You must have previously prepared recovery media, most likely on a USB stick or a Windows 10 installation disk, to utilize this procedure.

  1. Restart the computer after inserting the recovery disc. The Windows setup screen will show when Windows has rebooted.

The installation screen for Windows 10The installation screen for Windows 10

2. To launch a Use the Command Prompt, press Shift + F10.

 Use the Command PromptUse the Command Prompt

3. In the Use the Command Prompt window run the following two lines. These lines essentially overwrite a file called utilman.exe (Utility Manager) on the Windows 10 sign-in screen located in C:Windowssystem32 with cmd.exe.

Check out Specops’ uReset tool if you’re seeking for a more convenient and automatic alternative.

rename c:windowssystem32utilman.exe to c:windowssystem32utilman.exe c:windowssystem32utilman.exe x:windowssystem32cmd.exe

4. Restart the computer after removing the installation disk or recovery media.

5. Once the Windows 10 login screen comes up on the Windows 10 sign-in screen tap the Utility Manager icon found on the bottom-right corner to open the Use the Command Prompt as shown below.

CMD.exe's Ease of Use has been swapped with cmd.exe's Ease of Use.CMD.exe’s Ease of Use has been swapped with cmd.exe’s Ease of Use.

6. Now that you’re in a Use the Command Prompt again, simply change the password with net user as before.

7. Restart Windows 10 and log in using the new password for the user account!

The “reset windows 10 password with bootable usb” is a way to reset the Windows 10 password without using any software. The process will take about 20 minutes, and it requires a USB drive or CD-ROM.

Frequently Asked Questions

How do I bypass Windows 10 password from Command Prompt?

A: You can use the CmdKey utility that was made by Microsoft. It is a free tool you download from here, and it will allow you to bypass security restrictions on your computer.

Can you reset Windows password from Command Prompt?

A: It should be noted that there is no way to reset Windows password from Command Prompt.

Related Tags

  • reset windows 10 password without logging in
  • how to find administrator password windows 10 using command prompt
  • how to reset a windows 10 password through a backdoor
  • net user change password windows 10
  • how to reset windows 7 administrator password using command prompt

Table of Content