Reset Windows Password

4 minute read

Description:

Sometimes, you will be locked out of an account due to not knowing the password, here are some things to try:

Update 2018:

Preferred Method:

  1. Boot from the Windows 10 DVD. Make sure that your PC setup is configured to boot from a DVD and that UEFI and Secure Boot are disabled.

  2. At some point in the beginning of the wizard, Press SHIFT + F10 to open a command prompt.

  3. Replace the file utilman.exe with cmd.exe. Before you do this, you should make a copy of utilman.exe so that you can restore it later. Note that you can only restore this file if you boot again from the Windows DVD. Windows 10 is usually installed on drive D: if you boot from a DVD. You can verify this with “dir d:\windows\system32\utilman.exe.” If the system can’t find utilman.exe, try other drive letters.

move d:\windows\system32\utilman.exe d:\windows\system32\utilman.exe.bak
copy d:\windows\system32\cmd.exe d:\windows\system32\utilman.exe
  1. After you have replaced utilman.exe successfully, you can remove the DVD and restart your problematic Windows 10 installation:

  2. On the Windows 10 sign-in page, click the Utility Manager icon. Since we replaced the Utility Manager with the cmd.exe, a command prompt should open now. Don’t worry about the error message. You can now add a new user with the commands below. Here we are creating a new user and adding to the administrators group.

net user (username) (password) /add
net localgroup administrators (username) /add
  1. Click the screen to make the sign-in page appear again. Your new account should show up, and you can sign in without a password.

NOTE: You will obviously want to do seps 1-3 again but putting files back where they belong.

Hirens Boot CD

  1. Download the ISO image of Hiren’s BootCD from its official website (about 593 MB). Burn the ISO file to your CD (or USB stick) using the freeware ISO2Disc.

  2. After getting Hiren’s BootCD ready, Boot your Windows 10 computer from CD (Change boot order on BIOS to set CD/DVD-ROM as the first boot device). Remember to change UEFI boot with Legacy and disable Secure Boot temporarily in BIOS.

  3. You will be prompted with the Hiren’s CD Menu, from there select Offline NT/2000/XP/Vista/7 Password Changer and press Enter. Don’t use Kon-Boot as it doesn’t support Windows 10/8 password bypass.

  4. Hit Enter when you see the boot prompt.

  5. The screen will list all your partitions and you need to select the partition where Windows is installed. It’s usually the larger one. Type 2 and press Enter.

  6. Now it will ask to confirm the registry path (Windows/System32/config). The default registry path will be correct so just press Enter.

  7. We’re going to reset forgotten Windows password, so choose the default choice Password reset [sam system security] by pressing Enter.

  8. Choose the default choice Edit user data and passwords and press Enter again.

  9. You will now see the user accounts on you computer. Type the username whose password you want to change and press Enter.

9a. Type 1 and press Enter. This will clear/remove the password of your selected account.

9b. Now type ! And hit Enter to quit the User Editor menu.

9c. Enter q to exit chntpw Main Interactive Menu and press Enter.

  1. Important step! Here must type y so it saves your password reset changes!

References:

https://www.top-password.com/knowledge/reset-windows-10-password-with-hirens-bootcd.html

Ways To Reset Windows Password:

  1. If XP, Try entering safe mode – it enables the local administrator account by default.

  2. Password reset disc or system restore.


Best Method- Hirens Boot CD:

  1. Download Hirens Boot CD and then use a tool like Unebutin or like it to burn to a bootable ISO.

  2. Follow the links to reset Windows password. Follow this link for help, http://www.hirensbootcd.org/resetting-windows-password/

To Enable the Built-In Administrator Account On A Domain:

  1. Run – gpedit.msc

  2. Computer Configuration – Windows Settings – Security Settings – Local Policies – Security Options.

  3. Select the “Account: administrator status” – make it enabled. Reboot.

Sticky Keys Trick:

  1. Boot from Windows PE or Windows RE and access the command prompt. NOTE: You can also boot to any Linux Live CD and access a Windows system.

  2. Find the drive letter of the partition where Windows is installed. In Vista and Windows XP, it is usually C:, in Windows 7, it is D: in most cases because the first partition contains Startup Repair. To find the drive letter, type C: (or D:, respectively) and search for the Windows folder. Note that Windows PE (RE) usually resides on X:.

  3. Type the following command (replace “c:” with the correct drive letter if Windows is not located on C:):

3a. copy c:\windows\system32\sethc.exe c:\ (This creates a copy of sethc.exe to restore later.)

  1. Type this command to replace sethc.exe with cmd.exe:

4a. copy /y c:\windows\system32\cmd.exe c:\windows\system32\sethc.exe

  1. Reboot your computer and start the Windows installation where you forgot the administrator password.

  2. After you see the logon screen, press the SHIFT key five times.

  3. You should see a command prompt where you can enter the following command to reset the Windows password:

7a.

net user gerry pa$$w0rd /add
net user localgroup administrators gerry /add

  1. After you login and do whatever you need to do it’s advised to:

  2. Replace sethc.exe with the copy you stored in the root folder of your system drive in step 3. For this, you have to boot up again with Windows PE or RE because you can’t replace system files while the Windows installation is online. Then you have to enter this command:

9a. copy /y c:\sethc.exe c:\windows\system32\sethc.exe

  1. Either delete the newly created account or hide it from the login/Control Panel users by:

10a. Run – regedit – Navigate to: HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList
NOTE: Create the subkeys if they are not there.

10b: In that directory, right click – New DWORD (32 bit) – Name it the name of your user account and set its value to “0” (w/o quotations).

10c. Reboot for it to apply as with any reg trick.

 

Categories:

Updated: