Logon Windows Vista as Administrator

Posted on: 04.04.07 by Brent Trahan

This guide shows you how to enable and log on to Windows Vista with the Administrator account.

Introduction

If for whatever reason you must login Windows Vista with the Administrator account this guide will show you how it’s done.

Warning: Running as Administrator in Windows Vista bypasses all security (UAC) and is NOT recommended. If you decide to use the Administrator account don’t complain when you start having problems.

Enable the Administrator Account

  1. Open the command prompt with Administrative privileges by opening the Start Menu, and typing cmd in the search box, and then press Ctrl+Shift+Enter or click the Start orb, All Programs, Accessories, right-click Command Prompt and select Run as administrator.
  2. Type the following in the command prompt and press Enter after:

    net user administrator /active:yes

  3. Restart your computer and logon as Administrator.

Note: You might want to set a password for the administrator’s account for at least a little protection.

Disable the Administrative Account

To disable the Administrative account run the Net User command demonstrated above while logged on an account with administrative privileges but not as the Administrator account and replace yes with no.

Still need help? Ask Your Computer Question Now.

46 Responses to “Logon Windows Vista as Administrator”

  1. Paul Marga Says:

    Thanks a lot for your hint, saved me a lot of trouble. I am still amazed what Microsoft did with this admin account, which is actually needed by some applications.

  2. iNNdrit Says:

    Thankkks a lott man u r tha best ;)

  3. Paul Says:

    This does not work what a hoax.

  4. Brent Trahan Says:

    @Paul If you’re having a problem, try asking for help next time instead of trying to discredit this guide.

    I’ll be more than happy to help you out Paul.

  5. Achakru Says:

    This article was clearly explained and was very useful wen cracking into my friends system (in front of him to show off ;)) Thank you very much

  6. luka Says:

    i do not understand the ctrl+shift+enter it doesnt work to open can u explain it more clearly like do i have to select it first then do it or what

  7. Brent Trahan Says:

    Type cmd in the Start Menu’s search box and then press and hold down the Ctrl key on your keyboard. While holding down the Ctrl key press the Shift key. While holding down both Ctrl and Shift keys press the Enter key (Ctrl+Shift+Enter).

  8. Rob Says:

    How do you set a password?

  9. Brent Trahan Says:

    @Rob http://www.maximumpcguides.com/create-a-new-user-in-windows-vista/

    It shows you how to set a password halfway down the guide.

  10. stan Says:

    Don’t know what that dude PAUL is complaining about. Worked on the 1st try for me.

    Thanks!

  11. dez Says:

    another way for admin prompt

    type cmd (right click it)
    open as administrator

    follow above as required.
    the above works indeed, as ive just done it, and
    ive got whitnesses lol
    but this method is for the less button pressing alternative.

    good tutorial

    p.s paul? if this is ur site id just delete the post
    as they clearly dont follow instructions and become
    moronic user afterwards.
    aka (him: it doesnt work you:how? him:i dunno…)
    laters

  12. Bob Says:

    Worked like a charm. Thanks!

  13. moe Says:

    im trying to get into administrator just so i could download something, apparently im not administrator im im affraid that its goin to ruin my computer if i try this out.
    what kind of problems could you get?

  14. Brent Trahan Says:

    Do you need administrative rights to download and install software? You can give your user account admin rights by following this guide:

    http://www.maximumpcguides.com/add-or-remove-administrative-rights/

    Enabling the ability to log on as Administrator won’t hurt anything. Once you’re logged on as Administrator all protection like UAC is disabled leaving your computer wide open.

  15. marius Says:

    Man!!! This is a nice move i appreciate the hint it save my day. May i have your mail for more discussions.

  16. Steve Says:

    Is there someway to hide the admin account like on windows xp. On windows xp pro you type ctrl+alt+delete two times and you can then type in the administrator account, but it’s not a button on the login screen. That’s how I want it on my vista machine.

    Thanks.

  17. Tyler Says:

    Does this only work with a certain version of Vista? I have home premium and it still says access denied when i try to enable… I’m new to vista, but i’ve been around microsoft and previous versions for a long time.. thanks.

  18. Brent Trahan Says:

    This does work on home premium.

    It might not be working because you’re not opening the command prompt with admin rights.

  19. ViPo Says:

    i have a problem… i can’t open the prompt with adminn rights.
    the ctrl+shift+enter combo doesn’t work and the right-click->”open as admin..” doesn’t work.
    do i have to be on an admin account to do this?

  20. Brent Trahan Says:

    No, but it will ask you for the password of an account with admin rights in order for those admin rights to be temporarily passed to your account.

    If you don’t know the password you’re out of luck.

  21. DizzyX Says:

    Hi guys, i opened the cmd fine…but when i go to type in and hit enter it says *System error 5 has occurred.* * Access is Denied* :(:(:(, can someone PLEASE help me?!, i don’t get why it wont work…i am typing it in correctly.

  22. Brent Trahan Says:

    Did you run CMD as Administrator?

  23. DizzyX Says:

    yes i did :/

  24. DizzyX Says:

    When i do the above instructions, i get that error *System error 5 has occurred.* * Access is Denied*…even when i restart still says the same.

  25. Brent Trahan Says:

    You might have a firewall issue, or the Admin account is already enabled.

    This might help: http://support.microsoft.com/kb/555644

  26. Steven Hertz Says:

    great post…looked all over got bad info or info that only worked in vista ultimate. worked like a charm first time in home premium.

  27. Rich Gehring Says:

    I was able to log-on as adminstrator but I still can’t delete the user folder (costco majors). This is an hp portable purchased at Costco. I deleted all the files in the folder but can’t delete the actual folder.

  28. Joanne Says:

    i’m locked out of my vista laptop already.. somehow someone managed to tap into my laptop and changed the password with me knowing.. ideas?

  29. Brent Trahan Says:

    Try this:

    http://www.maximumpcguides.com/reset-a-forgotten-administrative-user-account-password-in-windows-vista/

  30. Brian Says:

    This worked so perfect and fast!! Thanks A Lot. In other words you can break into anyones vista system just by using the provided net user ad in the Dos command and being logged in as a only a guest? WTF?

  31. Brent Trahan Says:

    @ Brian: No. It’s not that easy. If you would have read the guide you would have read that you need to be logged in as a user with administrative rights to enable or disable the admin account.

    Enabling and disabling the Administrator account is nothing new. This has been available in numerous previous versions of Windows. The only difference is that Vista is the first client version of Windows with the Administrator account disabled by default.

  32. Brian Says:

    Thanks Brent. I had already discovered my error after writing my post. This did work for me and I was able to delete files installed from a program I downloaded that was not Vista compatible. I was unable to do this from my own acct. So is there any way to change my named account to an admin account ( I have only one account on my computer) and if not what is the reason for this? This is a bit confusing!! Again Thanks for your help!!!!!!

  33. Kid Says:

    Very Useful, but in reality the reboot/restart is not needed. All that you have to do is Switch users or Log off of the currently logged in account. Pressing Windows+L will allow you to switch users.

  34. hendra Says:

    anybody have a problem about login 2 administrator Win vista?
    cause i was success login it, and shown administrator while log on. I am used vista home basic.

  35. Pops Says:

    It worked when I navigated to \Windows\System32 and right clicked on CMD(.exe) and chose Run as administrator. Then the net user command shown at the top worked.

  36. Bobulon Says:

    Doesn’t work for me either. Putting ‘cmd’ into search results in nothing?

  37. amitesh kumar sinha Says:

    Thanks for help.Through your help I am able to logon with administrator account

  38. phebe Says:

    Easy instructions to follow. I found that it is important to follow the instructions of how to access CMD line in the original post. Windows key+R and then type “cmd” in Run box gets you to a different path (C:/User/username vs C:/Windows/system32). The first path leads to failure. The second, and correct one, leads to success.

  39. kenny Says:

    you must first disable the UAC. Then only go to the command prompt and type in “net user administrator /active:yes”. Then restart your machine. The “administrator” will automatically appear.

  40. Brent Trahan Says:

    You DO NOT have to disable UAC to enable the Admin account. You have to open the command prompt with admin privileges though.

  41. Dan Says:

    Wtf when I do the:net user administrator /active:yes. to windows system32 it just says: username can’t be found ftw??? please help me. I really need to log in as administrator.

  42. Dan Says:

    I even copied the net user text and attached it to commandprompt please help me :( not fun.

  43. Brent Trahan Says:

    What version of Windows are you using?

  44. Me Says:

    Beware that if UAC is turned off you will not be asked for credentials or permission when trying to run as administrator, and therefore the above will not work. It happenned to me and it took me a little while to figure it out - I have UAC turned off as the pop-ups are too annoying. I was able to active the administrator account when logged in with a logon that has administrator privileges alright, but when tried to log in as “guest” and tried the above, didn’t work because of the UAC being turned off. Hope this helps.

  45. Steve Says:

    I have a problem in that I have no active users with Administrator rights, so cannot enable UAC or active the Administrator account. Any advice?

  46. Steve Says:

    Steve adds:
    Sorry - Further to above: The user which DID have Admin rights was demoted to Power User (as a security measure!) This was before I found out that the default Administrator was disabled. There seems to be no way back!

Follow this guide's comments via RSS.

Comment pictures provided by Gravatar.

Leave a Reply

No Support Questions If you have a support question please ask it in the forum.