How To Reset Your Forgotten Windows Password

You are using a Windows computer, and somehow you don’t remember the password to access it. It’s not a fun story, right? But luckily, there is an easy way to reset your Windows password. All you need to do is just a Windows installation disk (CD/DVD or USB flash drive) and a few simple commands.

If you are using Windows 10 with a Microsoft account to log into your computer, this way can’t help you to reset your password. You need to reset the password of your Microsoft account instead of using this method for locally.

Windows Password Incorrect

How To Resetting Forgotten Windows Password?

Firstly, you need to boot the Windows installation disk up, click on the Next button.

click the Next button

And then choose the “Repair your computer” option at the bottom of the screen.

repair your computer

Next, select “Next” on System Recovery Options window.

system recovery options

And then click on the “Command Prompt” option.

Command Prompt Windows Recovery Mode

In the next step, type “copy C:\Windows\System32\sethc.exe C:\” to make a copy version of “sethc.exe” to C:\

copy and backup sethc.exe file

Next, type “copy C:\Windows\System32\cmd.exe C:\Windows\System32\sethc.exe” to copy “cmd.exe” file and replace “sethc.exe” file.

overwrite sethc.exe with cmd.exe

Type “Yes” to overwrite “sethc.exe” file with “cmd.exe”.

You can also use “copy /y C:\Windows\System32\cmd.exe C:\Windows\System32\sethc.exe” to by pass the confirmation step.

After executing two above commands, reboot your computer and boot into Windows as normal.

Once you get to the Windows login screen, press Shift key five times, and the Command Prompt with Administrator mode will show up.

sethc.exe command prompt

Now it’s time to reset your Windows password with the following command. Just replace the username with your Windows username, and set the new password for it.

net user techforus newpassword

In this case:

  • techforus is your Windows username
  • newpassword is the new password you want to use with your username

Reset Windows 7 Password

After executing the above command, you will be able to access your Windows computer with the new password that you have set.

After logging into your PC, make sure to move the original “sethc.exe” file back to C:\Windows\System32\.

See Also: What Is svchost.exe And Why Is It Running?

You can do this by copying and pasting to the System32 folder, or just open Command Prompt, and type “copy C:\sethc.exe C:\Windows\System32\sethc.exe”, and type Yes to confirm the overwrite.

If you are unable to copy sethc.exe from C:\ back to System32, we would suggest you to launch Repair your computer again and choose Command Prompt to do that.

copy sethc.exe file back to System32

You know, it’s very easy to reset a password of any Windows computer if you an installation DVD or USB flash, right? So if someone with the right tool, they can also reset your password and log into it. Beware of people who are sitting nearby your PC.

Notes: Reset your Windows password with the Sticky Keys (press Shift five times), you will lose access to all encrypted files, such as encrypted personal files, encrypted emails, or saved passwords on Internet Explorer and Firefox. So, remember to backup your important files frequently.

See Also: 5 Ways To Free Up Your Storage Space On Windows.

Prevent Attackers From Resetting Your Windows Password

As we mentioned above, any person with a Windows installation disc or rescue disc can easily reset your password. There are a few methods you can apply to protect your PC from attackers:

A. Set password for your BIOS and disable your PC from booting from an external source. Or you can just enable password protection when someone want to boot from an external source.

B. Enable BitLocker on your hard drive to protect your PC and its data from attackers.

C. Disable Sticky Keys function to avoid other users to reset your Windows password. To do that, press Windows key on your keyboard, type “Change how your keyboard works” and press Enter.

See Also: How To Use New Task Manager On Windows 10?

Disable Sticky Keys

Click on the “Set up Sticky Keys” option.

Set up Sticky Keys

Next, uncheck the “Turn on Sticky Keys when Shift is pressed five times” option.

Turn on Sticky Keys when Shift is pressed five times

We hope this article will help you to reset your Windows password. If you have any question or need further help, let us know.