Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How to gain access of admin account of Windows, I activated a guest user and I want to change the admin password from the command line. When I type:

net user administrator password

the response is

System error 5 has occurred. Access is denied

I am using winxp pro sp2

I am running this command from cdm.exe and I am running this command from guest user. I actually want to change my admin password from guest user.

share|improve this question
    
Are you running this from an elevated prompt command? –  Diogo Jul 4 '12 at 12:44
    
i am running this command from cmd, and i am running this command from guest user. –  John Smiith Jul 4 '12 at 12:46
    
cmd.exe does not grant special privileges. –  Andrew Lambert Jul 4 '12 at 13:04
    
There's this concept of security ... allowing a guest user to change the admin password... well... that would be bad. Very Very Bad. Try booting into Safe Mode. –  lornix Jul 5 '12 at 9:31
    
if administrator user is password protected than? –  John Smiith Jul 5 '12 at 12:58
add comment

4 Answers 4

Guest users cannot change the administrator password.

share|improve this answer
    
so how can i change it i wan't yo change my 32bit server password i forgot it and only guest and one limited account is enable only . –  John Smiith Jul 4 '12 at 13:13
    
You can't change it without modifying the SAM registry hive –  Andrew Lambert Jul 4 '12 at 13:24
    
this is more technically correct –  tumchaaditya Jul 10 '12 at 5:00
add comment

At the login screen, press

Ctrl+Alt+Delete twice

Now in the box that appears, type the username as Administrator and leave the password empty and log in. Now change your password.

share|improve this answer
    
if the admin account is password protected and i forgot then... –  Liang Lee Jul 4 '12 at 13:34
    
@Lynch is John Smith your another account ? –  HackToHell Jul 4 '12 at 13:36
    
no i asked you if admin is protected how to do then –  Liang Lee Jul 4 '12 at 13:37
    
@Lynch blog.superuser.com/2012/03/01/… –  HackToHell Jul 4 '12 at 13:39
    
@HackToHell ctrl+alt+delete works thanks –  John Smiith Jul 4 '12 at 13:40
show 5 more comments

No, you can't change password via your guest user.

  • Boot your PC from Safe Mode by pressing F8 when PC stars.
  • Login the accessible account with administrator privileges.
  • Start - Local Users and Groups – lusrmgr.msc in the Search box - ENTER.
  • Local Users and Groups - choose Users.
  • Right click the account needed to reset password, and then select Set Password.
  • Input and confirm the new password.
share|improve this answer
add comment

As it's the guest account that is logged in your powers to change settings on the system are minimal if nothing. Log out and log in as a user that has the authority as set up in the user accounts in order to perform this. If you are still stuck see if you can get your hands on the Hirens Boot Disk, as this has a useful function that allows you to edit any users password on that machine etc.

share|improve this answer
add comment

protected by Community Aug 2 '13 at 7:07

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.