How to Change Windows 10 Password using a Recovery Disk or Bootable USB
Boot to a Windows Recovery Disk or a Windows 10 bootable USB
Please be aware that although the C: drive is used in the following commands, your drive letter may be different. If your commands don’t work using the C: drive, go up one drive letter. You can determine where your OS drive is installed by running “dir C:\windows\system32\utilman.exe”. This command must be run in the command prompt from the bootable Windows 10 usb. If an error is displayed, try another drive letter. If your system uses a different drive letter, just replace C:\ for your drive letter for the following examples.
When the Language Selection screen appears use SHIFT + F10
When the command prompt window pops up type the following commands:
copy C:\windows\system32\sethc.exe C:\
Press enter then type
Copy /y C:\windows\system32\cmd.exe C:\windows\system32\sethc.exe
Now close everything and cancel Windows Setup. Remove the installation USB/disc and reboot.
At the login screen hit SHIFT five times
Type “net user” to see the available user names
Pick the user name that you want to change and use it in the following command
net user “[user-name]“ [new-password]
the [user-name] and [new-password] are to be substitutes for the actual user you want to change and the new password that will be given. For user names that have a space you must use the “ ” quotes around the username.
Now close the command prompt and login with the new password. Enjoy!
But wait… Clean up and leave it as it was … if the command line screen is still open type the following command below and hit enter or if not then…
Again, Boot to a Windows Recovery Disk or a Windows 10 bootable USB
At the Language Screen hit SHIFT + F10
Type command and press enter
copy /y C:\sethc.exe C:\windows\system32\sethc.exe