Error 5 – Command Prompt issue

October 2016


I have a windows vista computer. I need help trying to remove administrator's password. I have done the command prompt and it told me error number 5 or something like that with 5 in it. But I don’t know what to do next. I typed my password that I wanted and then it gave me error 5 command prompt is not working for me.


I have had the same problem and it is easy to fix.

You need a higher user to do this and the only one high than admin is system, to get access to this you will have to hack vista's logon.

  • 1.Boot vista installation disc and go to repair.
  • 2.Open command prompt and type notepad.
  • 3.In notepad click on file and the on open.
  • 4.In the box go to C:Windowssystem32 and change document type to all file.
  • 5.Find file sethc.exe and rename it to sethc.exe.old
  • 6.Copy cmd.exe and paste it again, it will be called "Copy of cmd.exe".
  • 7.Rename "Copy of cmd.exe" to sethc.exe.
  • 8.Restart your PC.
  • 9.In logon press SHIFT 5 times and cmd will nou apear.
  • 10.In cmd type "Net user administrator *".
  • 11.Then type new password.

PS. No character will show when you type new password.


Thanks to Happy Hacker for this tip on the forum.

Related :

This document entitled « Error 5 – Command Prompt issue » from CCM ( is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.