I can’t change any system files from cmd
I forgot the Windows 7 password on my own computer, I used the trick described in Resetting Your Forgotten Windows Password:
Boot from the Windows 7 repair ISO.
copy c:\windows\system32\cmd.exe c:\windows\system32\sethc.exe
Use the Sticky Keys feature of the log in screen (now the command prompt) to execute:
net user Admin MyNewPassword
I kept the file there in case I ever forgot it again.
A client of mine asked if I could do the same for him, and he also has a PC with Windows 7 Home x86.
I followed the same steps as on my computer. The command of step 2 says it was successful, but when press Shift five times to trigger Sticky Keys, the regular message for
sethc.exe opens up.
I tried entering the command of step 3 directly from the repair ISO. This claimed to be successful as well, but the password was not changed!
What I'm doing wrong?