MicrosoftWindows 10

How to reset forgotten Windows 10 password with Windows 10 Installation Disk

I am pretty sure that it happens at least once with everyone when they forgot their Windows 10 password and they could not find any way to reset it, or I should say any free and reliable way to reset it.

This blog post will show you how you can easily reset Windows 10 password with disk “Windows 10 installation media/disk,” The good thing is this method will be pocket friendly, I mean absolutely free without any hidden clickbait.


There is only one requirement which is bootable Windows 10 media/Disk, but for simplicity, you can divide it into two parts.

  1. Windows 10 installation media/disk
  2. A USB flash drive minimum 8GB free space (You can also use bootable media like DVD instead of USB)

Windows 10 Installation media creation

Downloading of Windows 10 ISO File:

If you do not have Windows 10 ISO file, download it for free from the link below. Copy the link in your browser and follow the on-screen instruction and download the ISO file. If you still face difficulties, you can refer to this post, How To Create A Bootable USB Installation Media For Windows Server 2019. It is for Server 2019 but downloading ISO procedure is precisely the same.

Recommended For You:  How do I export or backup a Microsoft Teams team configuration using PowerShell?

Create Windows 10 bootable USB from ISO file:

Once you successfully download the Windows 10 ISO file creating bootable media/disk is very easy. You can follow either How to create Bootable USB From ISO using PowerShell or this How To Create A Bootable USB Installation Media For Windows Server 2019 to create bootable ISO/Installation media from ISO file.

Booting From Windows 10 Bootable Media

Once you have created the Windows 10 bootable media disk, restart your computer, go to your computer Bios, go to your computer Boot settings, change the first boot device to newly create bootable USB or DVD, and save the settings restart your computer.

Replacing CMD with Sethc in System32

Once you change your boot setting in your bios and restart your computer, it will ask you to press any key to boot from CD or DVD, as shown in the screenshot below.

 Press any key on your computer

press any key to boot from cd

On the Windows 10 setup screen, press Next to continue.

Boot With Windows 10 Disk

Once you are on Install now screen, press SHIFT, and F10 keys together to open the command prompt.

after pressing Shift F10

Once you change your directory to C: type DIR and ensure it’s the same directory where your Windows 10 installs/running. You can look for Program Files, and Windows directory for reference as shown in the screenshot below.

dir command

Once you are sure it’s the same directory, run the following command to replace the CMD.exe with SETHC.exe in the system32 folder as shown in the screenshot below.

copy /y c:\windows\system32\cmd.exe c:\windows\system32\sethc.exe
Replace CMD with sethc

Make sure the replacement was successful, as shown in the image below.

Replace of Sethc with Cmd successful

After replacing the CMD.exe with Sethc.exe, close the command prompt and also close the Windows 10 setup and on the confirmation window, click Yes, and remove the bootable USB or DVD from your computer and let the computer restart.

Resetting the Windows 10 Forgotten Password

After restarting your computer, when you reach the Login screen, press the SHIFT key five times quickly without any delay in between to open up the Command Prompt with Admin Privileges, as shown in the image below.

press shift 5 times
Press Shift Five Times to open cmd

Once the command prompt is open, the following command will show you all the users’ accounts and permission levels.

net user
use net user to check user accounts

Note the username of which you want to reset the password and execute the following command. And make sure you get the following message “The command completed successfully.”.

net user "Username" "Password"

#Example: net user fazee 654321
reset password with net use

After executing the password reset command, close the Command Prompt window and type the new password, and press Enter button on your computer keyboard.

Login with new password

Reset Windows 10 Password with Disk Successfully completed.

Login Successful

Muhammad Faizan

Hi, My name is Muhammad Faizan and i have spent last 15 years working as System Administrator mainly with Microsoft Technologies. I am MCSE, MCTP, MCITP, certified professional. I love scripting and Powershell is the scripting language i am in love with.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button