How to Enable Administrator's Account in Vista Using Command Prompt

In Windows Vista and Windows 7, Microsoft has disabled and hidden the super-user administrator account by default. Logging in as administrator disables User Access Control and gives you additional privileges, such as providing unrestricted access to the command line. If you accidentally lock yourself out of your main account, knowing how to enable the administrator account will allow you to log in to your computer.


    • 1

      Click "Start" and type "Command" -- without quotes -- into the search box. Right-click on "Command Prompt" and select "Run as Administrator."

    • 2

      Type the following command into the window that pops up:

      net user administrator /active:yes

      and press "Enter." Note that there is a space after "administrator" but there is no space before "yes."

    • 3

      Close the Command window after you see the message "The command completed successfully."

    • 4

      Click "Start," click the small arrow to the right of the search box and select "Log Off" or "Switch User." The administrator account will be available as an option. It does not require a password by default.

Tips & Warnings

  • It's wise to create a password for the administrator account if you want to leave it enabled.
Related Searches


  • Photo Credit Spencer Platt/Getty Images News/Getty Images

You May Also Like

Related Ads

Related Searches
View Blog Post

Geek Vs Geek: Windows 10: Should You Want Microsoft’s Next Contentious OS?