Windows 7

How to Enable the Hidden Administrator Account in Windows 7

Similar to Windows Vista, Windows 7 also has a built-in administrator account which is created when it is installed and it is disabled by default. This account can be enabled if you need to work as administrator without having UAC. It is advisable not to enable the administrator account unless you are fixing some issue and need admin account. You can enable the administrator account by a simple command.

1. Open Command prompt by running as administrator. To do this, right click on the command prompt and select “Run as Administrator”.

Run as Administrator

2. In the command prompt type the command- net user administrator /active:yes. If you want to set a password for administrator account type Net user administrator password, where password is the password you want to set for this account.

command Prompt

Once the command is executed successfully, log off and log in back to see the administrator account in place. If you need to disable in back, type the command- net user administrator /active:no and the administrator account will be disabled.

Alternatively you can also enable or disable the administrator account from the Local Policy. Click on the start menu and type secpol.msc in the search bar and click enter.  This opens the Local Security Policy. Navigate to Local Policies-> Security Options and here you can see an entry Accounts: Administrator account. Double click the entry to enable or disable.

Local Policy

Every time you enable or disable the account, you will need to log off or log in to see in action.

Nirmal is a Technology Blogger and a Microsoft MVP in Windows. Blogging has been his passion for more than a decade now, he started with this blog in 2007. He can be contacted at You can find Nirmal on , and .

You may also like


  1. […] How to Enable the Hidden Administrator Account in Windows 7 […]

  2. […] How to Enable the Hidden Administrator Account in Windows 7 […]

Leave a reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

More in:Windows 7