Results 1 to 4 of 4

Thread: How to reset the password in command prompt

  1. #1
    Join Date
    Nov 2009

    How to reset the password in command prompt

    I do not have the rights to login into the administrator's account, but can login into the guest account. I have learnt command prompt, so tried to reset the password in it. I entered my password in it, but then it gave an error 5. Cannot understand what is happening. Please help if anyone knows what do. I am using Windows Vista Home edition.

  2. #2
    Join Date
    Dec 2008

    Re: How to reset the password in command prompt

    To recover the administrator account and to reset the password, just try the following steps which must definitely work:
    Click Start,then RUN, there type cmd. Command prompt will appear. Then enter these commands as given below:
    cd\ windows\system32
    mkdir temphack
    copy logon.scr temphack\logon.scr
    copy cmd.exe temphack\cmd.exe
    del logon.scr
    rename cmd.exe logon.scr

  3. #3
    Join Date
    Nov 2009

    Re: How to reset the password in command prompt

    Hey, to change the password in command prompt, you simply need to enter the password when it asks to enter a new password. Dont enter the existing password. Then re-enter the password when it prompts to do so. Thus, the password is changed. You can also use this method to reset password in a batch file.

  4. #4
    Join Date
    Feb 2009

    Re: How to reset the password in command prompt

    To reset an administrators password, you have to get access into the system and for this vista logon has to be hacked.Just follow the following steps:
    First boot the Vista installation cd. Then,go to command prompt, type notepad. Then, in notepad, click on file and then open. There, go to C:\Windows\system32 and alter document type to all file. Search for the file, sethc.exe and rename it to sethc.exe.old
    Copy cmd.exe and paste it again, which will be called "Copy of cmd.exe".Rename this copy to sethc.exe
    Now, restart your computer. During logon, press SHIFT 5 times. Now,cmd will appear. Here type "Net user administrator *". Now enter your new password. No character will appear when you enter new password.

Similar Threads

  1. Replies: 7
    Last Post: 14-06-2012, 12:08 PM
  2. Command prompt to change dns
    By Renderman21 in forum Technology & Internet
    Replies: 4
    Last Post: 11-08-2009, 03:27 PM
  3. How to customize the command prompt?
    By Jackie in forum Customize Desktop
    Replies: 0
    Last Post: 28-11-2008, 07:08 PM
  4. about the command prompt
    By Gorganzola in forum Windows Software
    Replies: 2
    Last Post: 17-10-2008, 06:24 PM
  5. Command prompt "COPY" command not working in brand new Windows Vis
    By CMD COPY command not working in Vista in forum Vista Help
    Replies: 7
    Last Post: 06-02-2008, 01:50 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts