forgot password or pin
On login screen you can run utilman.exe
for accessibilty features...the idea is to change what will be executed when one runs the utilman.exe/accesibilty
feature
You can use any of the following method depending on your use case
Method 1
press and hold the shift key and reboot your system to boot into your recovery environment
you can also use a live usb with a windows installation on it and press shift + f10 to get the recovery environment
once you get a cmd prompt locate yours windows installation drive and navigate to windows/system32 folder
ren utilman.exe utilman2.exe
copy cmd.exe utilman.exe
If you have dual booted
and you are currently on a linux machine ,you can mount the windows drive and navigate to the same windows/system32
folder and using your root account execute the foolowing command
mv utilman.exe utilman2.exe
mv cmd.exe utilman.exe
Reboot
When you press the accesibilty festure
the command prompt shows up and running the whoami command shows the user NT system authority
is currently logged in.With this coomand prompt we can
-create new users with admin privileges
-reset passwords for other users
net user johndoe password123 -- to change a particular users password
control userpasswords2 -- reset user passwords
Method 2
regedit
HKEY_LOCAL_MACHINE
file -- load hive
Navigate to windows/system32/config
open file SYSTEM
Create a new folder New folder
Open this new folder
Cmdline -- cmd.exe SetupType -- numder 2
Select new folder and unload hive