How to Reset Forgotten Windows 10 password

You sit down on the table and try to log into your Windows computer, but can’t because you forgot the password. Technically you cannot change the password without sign into Windows 10. Although you can easily reset the forgotten Windows 10 password, you have to dive into Windows settings.

To reset the forgotten Windows 10 password, you will need a Windows 10 Bootable DVD or Bootable PenDrive. We use a bootable media drive to enter recovery Mode. If you don’t have a bootable media drive, still, you will be able to boot Windows 10 in recovery mode.

We’re neither going to reinstall Windows nor reset Windows. We only use a bootable drive to access the command prompt through the recovery mode. So, Let’s go and complete the task.

Reset Forgotten Windows 10 password

The following method is only applicable to the local admin user account. You can’t reset the Microsoft user account password using this way.

  1. First of all, turn on your PC and don’t try to login using a random or wrong password.
  2. Next, Insert the Bootable Drive (DVD or Pendrive) into your PC.
  3. Restart your PC.
  4. When the PC starts and the first screen displays, immediately press the ESC key to open the startup menu. (The key mapping may be different on your PC)
  5. Select the Boot Device Options or Menu from the Startup Menu.
How to Reset Forgotten Windows 10 password
  1. Select the Windows bootable drive and then boot your PC from.
  2. Once the system boots with Windows media drive, then start the Windows setup and then click the Next.
Reset Forgotten Windows 10 password
  1. You get Repair your Computer option, click that.
reset windows 10 password
  1. Then, open the Troubleshoot Menu (Reset your PC and see the advanced option).
forgot windows 10 password
  1. Select the Command Prompt (Use the command prompt for advanced troubleshooting).
how to reset windows 10 password
  1. In the command prompt, type the following commands. (C is for navigate the C drive where Windows is installed, and dir is used to list the directories)
Command: c:
Command: dir

Note: We use this command to find the Windows installation drive; however, generally, Windows is installed in the C drive. Suppose you didn’t get the correct drive, then you can navigate to other drives by changing the drive letter, for example, use “d:” to navigate to D drive.

How to Bypass Windows 10 password
  1. Next, navigate to Windows > System32, then type the following command, and then hit the enter button.
Command: cd Windows/system32
windows 10 forgot password
  1. Next, run the command “dir osk.exe” to check whether osk.exe exists.
Command: dir osk.exe
  1. We will back up this file, to do this enter the following command.
Command: ren osk.exe osk.exe_bak
  1. To check the backup file run the following command.
Command: dir osk*
windows 10 password reset
  1. Now, we will copy the cmd.exe into the osk.exe, to do this type the following command, and then hit the enter button.
Command: copy cmd.exe osk.exe
  1. To check the new osk.exe, run the following command.
Command: dir osk*
Reset Forgotten Windows 10 password
  1. Enter the command “Exit” to exit the Command Prompt.
Command: Exit
  1. Restart your PC now.
  2. Once you’re on the Login screen, select the Ease of Access and click the On-Screen keyboard, it will open Command Prompt instead.
how to reset Forgotten Windows 10 password
  1. Through Command Prompt, we can easily reset the user account password.
  2. Enter the following command and then hit the enter button, replace the username with your admin username.
Command: net user username *
  1. Now, enter the new password and confirm the password. The Password is not visible, So type the password carefully and keep in your mind.
  2. If you want to know how many user accounts are on the computer, use the following command to list all users.
Command: net user
forgot windows 10 password
  1. Enter the “Exit” command to exit the command prompt.
  2. Now you can log into your computer with a new password.

Note: If you want to use the On-Screen Keyboard as before, then run the following commands in the command prompt.

  1. First Command = c:
  2. Second Command = cd windows\System32
  3. Third Command = del osk.exe
  4. Fourth Command = ren osk.exe_back osk.exe
  5. Fifth Command = Exit 

You can use your On-Screen keyboard as before

Related article ⇒ How to Disable Fast user switching 

I hope you could successfully reset the forgotten Windows 10 password. Using this method, you can only reset the local user account password, but cannot reset the Microsoft user account password.

To reset the Microsoft user account password, you should go to Microsoft.com, and then reset your account password. Once you’ve reset your password, then open your computer and Login using the new password, but make sure you have an internet connection.

Leave your reply here

Scroll to Top