banner



How To Break Windows 10 Password Using Command Prompt

Have you ever gotten locked out of your Windows 10 computer or had to figure out how to alter a user password like the ambassador password? Windows 10 offers several approaches to reset Windows user passwords if yous know the electric current password or not. One of the easiest methods is to reset a Windows 10 password via the command prompt.

If you're an IT pro and struggling with countersign reset problems in Active Directory, be sure to check out Specops' uReset tool.

In this article, yous will acquire many dissimilar means to reset Windows 10 passwords using the control-line and you'll even come across how to go back into a locked out Windows computer.

Non a reader? Watch this related video tutorial!

Not seeing the video? Make certain your ad blocker is disabled.

Related: How to Rotate Windows Admin Passwords with Microsoft LAPS

Prerequisites

This tutorial is going to get hands-on and become over the steps to reset a Windows x password. Other than a Windows 10 calculator, you volition likewise demand the Windows 10 recovery media if you can't log in to the PC. You can discover data here on how to set upwards recovery media.

This tutorial will utilize Windows x Build 1909 for all examples and volition be working on a computer that is non in an Agile Directory domain.

Resetting a Windows x Password While Logged In

If yous demand to reset a password, chances are y'all'll be in i of two states; logged-in and locked out. Let's kickoff embrace how yous tin reset a password while logged into Windows with an authoritative user account.

Verifying Reset Privileges

To reset a password while logged into Windows 10, y'all must have permission to do so. Although y'all could apply granular permission to reset a password, this tutorial will have the like shooting fish in a barrel route and require a user to exist in the Administrators group.

To confirm the account you lot're logged in with is a fellow member of the Administrators group:

  1. Click on the Get-go menu and type cmd, to open the command prompt window.

Exist certain to right-click on cmd and run the command prompt as ambassador so yous have the rights to make changes.

2. With the Command Prompt window open, type whoami to get the logged on user. The string earlier the \ is the name of the estimator.

The user adambertram is logged in.
The user adambertram is logged in.

iii. Now type net user followed by your logged-in user account.

The cyberspace user command is a handy command in nigh all Windows versions that will pull information about local user accounts, disable and enable user accounts and reset passwords.

You'll run into a lot of output but the information you lot're looking for is at the bottom as shown below. You tin can see that the adambertram local business relationship is part of the Administrators grouping.

Inspecting the Local Group Memberships of the logged-in user account
Inspecting the Local Group Memberships of the logged-in user account

Resetting a User Password via CMD

Once you've confirmed your logged-in account has permission to reset the password, y'all can now reset the password. To do that:

With the Command Prompt still open, blazon net user followed by the user account and the new countersign. The command below is changing the local adambertram user account'south countersign to [email protected].

In one case complete, you tin now login with the adambertram account with the new password!

Resetting a User Countersign via PowerShell

The more than "modern" manner to reset a Windows 10 user password is to use PowerShell. PowerShell is a shell that's available in all Windows operating system starting in Windows 7.

To reset a user password via PowerShell:

  1. Click on the Start carte du jour, type in 'powershell' and open Windows PowerShell as administrator.

Related: How to Run PowerShell as Administrator

With PowerShell open up, you lot'll at present need to define the new countersign only also convert it to a secure string. A secure cord is 1 fashion PowerShell ensures passwords aren't stored in plain text. This pace is enclosed in parentheses below.

The Gear up-LocalUser cmdlet is the control that really changes the password.

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

Resetting a Locked Out Windows 10 Password (Prophylactic Mode)

Changing a password, as you've seen above, is a breeze if you can't actually log into the computer. But what if you're completely locked out and can't log in at all? In that case, y'all're not completely out of luck but you've got some extra work to exercise!

To reset a user countersign while non logged in, you've got two options; using Windows 10 safe mode and recovery media. Let's cover each one now starting with safe mode.

Safe Mode is a Windows 10 troubleshooting tool that restarts the PC in a basic country using a limited set of files and drivers.

Yous tin use safe fashion to access the command prompt without loading the full operating system bypassing the login screen.

Getting into Safe Mode

Get-go up, y'all demand to get into safe fashion. To do that:

  1. Log out of Windows 10.

From the main login screen, press and hold the Shift key while clicking Restart as shown below. In one case restarted, Windows 10 volition exist at a spot to tell it you demand to boot into safe way.

Restarting Windows 10 in safe mode
Restarting Windows 10 in safe mode

3. From the Avant-garde Kick Options screen, click on Troubleshoot. The Troubleshoot screen is a place in safe mode where you tin fix some bootup and other Windows 10 problems.

4. While on the Troubleshoot screen, select Avant-garde Options.

Navigating to Advanced Options in safe mode.
Navigating to Avant-garde Options in safe manner.

v. The Advanced Options screen displays several options to cull from. Click on Startup Settings.

Selecting Startup Settings in the Advanced Options menu.
Selecting Startup Settings in the Advanced Options menu.

6. On the Startup Settings screen, select the Restart button. Once restarted, Windows 10 will be in rubber way.

 Startup Settings options prior to restarting in Safe Mode.
Startup Settings options prior to restarting in Safe Way.

7. After restarting, the Startup Settings screen will list several options to choose from. Press 4 to restart into safe way.

Advanced boot options: Press 6 or F6
Advanced boot options: Press half dozen or F6

eight. After restarting again, you should now see a Command Prompt opens with elevated privileges (Administrator:) rather than the normal Windows 10 desktop.

Running the command prompt in safe mode
Running the command prompt in rubber mode

ix. Once y'all have the Command Prompt open in safe mode, the only matter left to do is use net user to reset the password for the user business relationship.

If you cannot reboot into safe fashion, y'all can as well use the recovery media to change user business relationship passwords. Doing so requires you to copy cmd.exe to the local drive and modify the countersign using the aforementioned methods every bit higher up.

Let's footstep through how to brand information technology happen.

To use this method, you must have already created recovery media probably on a USB stick or a Windows 10 installation disk.

  1. Insert the recovery media and restart the computer. In one case Windows reboots, the Windows setup screen will announced.
Windows 10 install screen
Windows x install screen

2. Press Shift + F10 to open up a Control Prompt.

 Command Prompt
Command Prompt

3. In the Control Prompt window run the following two lines. These lines substantially overwrite a file called utilman.exe (Utility Manager) on the Windows x sign-in screen located in C:\Windows\system32 with cmd.exe.

If yous're looking for an easier and automated solution, cheque out Specops' uReset tool.

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

4. Now, remove the installation disk or the recovery media and restart the figurer again.

5. Once the Windows 10 login screen comes up on the Windows 10 sign-in screen tap the Utility Manager icon institute on the bottom-right corner to open the command prompt equally shown below.

Swapping Ease of Use with cmd.exe
Swapping Ease of Use with cmd.exe

6. Now that you're in a command prompt again, simply change the password with net user every bit before.

7. At present restart Windows 10 and login with the user business relationship with the new password!

Source: https://adamtheautomator.com/reset-windows-10-password-command-prompt/

Posted by: cusackrawas1998.blogspot.com

0 Response to "How To Break Windows 10 Password Using Command Prompt"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel