PDA

View Full Version : Changing Windows Password



quarinteen
2019-11-27, 19:26
Does anyone know a way to change the local windows password using Kali? I have a 2012 server on aws I need into. I blanked out the password with chntpw, but when I booted it back up and tried to log in it would not let me because of security issues having a blank password. So if anyone knows how to set or change it please let me know.

_defalt
2019-11-29, 04:41
Rename sethc.exe in C:\windows\system32\ to cmd.exe.

Rename cmd.exe in C:\windows\system32\ to cmd.exe.bak.

On login screen, press shift five times, it will open cmd as administrator.

net user yourusername *

Revert the filename after setting the password.