1. Set locked Windows 10 computer boot from Windows 10 DVD.
Before you boot Windows 10 from DVD, please confirm that UEFI and Secure Boot are disabled.
2. Open Command Prompt with Shift + F10 keys.
3. Run commands to replace the full utilman.exe with cmd.exe. And before replacement, make a copy of utilman.exe would let you restore it later.
Code: Select all
move d:\windows\system32\utilman.exe d:\windows\system32\utilman.exe.bak
copy d:\windows\system32\cmd.exe d:\windows\system32\utilman.exe
Code: Select all
wpeutil reboot
6. If everything goes well, command prompt runs. You can type following commands to create a new user account and add it to Windows 10 local administrator group.
Code: Select all
net user <username> /add
net localgroup administrators <username> /add
It is worth mentioned that, you can reset Windows 10 local user password with command with above procedure. Just need to change the commands in step 6.
Code: Select all
net user <username> <password> /add