How to login as administrator in Windows 7?

This is a tutorial that will help you to login as a administrator in Windows 7.

In order to login as a administrator, you will first have to activate the “hidden” administrator account.

Activating the hidden admin account!

Goto “Start” and enter “cmd.exe” into the search field. (Cmd stands for Command)

Hold CTRL + Shift and hit Enter to run cmd.exe with administrator privileges.

If you need more instructions, read “How to open command prompt in Windows 7“.
Enter the following line into the command line prompt:
net user administrator /active:yes

Take Ownership

Logoff and login as adminstrator


You will notice that there is a new account on your login screen.

5 of 5 0 (100%) 1 vote
- Cheers!

Tags: , ,

Written by:
Oliver is the founder and lead editor of this site. He is interested in finding new ways to break Windows, find common errors and help others to fix them. Aside from that, he loves to fully customize systems with Rainmeter and Dreamscene, find out more about ancient civilizations like the Chachapoya, sharpen his digital photography skills and create software with a small group of selected developers. If you would like to connect with him to discuss anything, send him a mail!

Learn More About.Me

Follow me on Twitter for daily updates:

Contact The Author:

Get Free Help

Connect With Our Site:



Need help? Ask a question at our QA site, click the red button to get started:
Want to support us? Great, simply buy your favorite games from G2A via our referral link ( and save money at the same time:

7 Responses to How to login as administrator in Windows 7?

  1. Orange Community Approved Comment:
    Andre said:

    This doesn’t work if you lost the password to the Administrator account you built. You still need administrative rights to run this command.

  2. Orange Community Approved Comment:
    Steve said:

    Mmmm, can anyone explain to me where this might be useful?

  3. Orange Community Approved Comment:
    matzis said:

    UM, right I have done this but it says error 5 occured?

  4. Orange Community Approved Comment:
    Thim said:

    Ok, I’ve done so and it works. Thx. :)
    But I have one question: can I hide the “Administrator” account in the login screen, so that the account is still active but doesn’t appear in the login screen?

  5. Orange Community Approved Comment:
    TODD said:

    you can simply change the password to the admin if you dont know it.

    start command prompt
    type “net user” find the admin user name from the list and type
    “net user “name” *”" mine would be NET USER TODD *
    then type the new password and retype the password. it probably will not show up on screen but it will change it.
    reboot and logon using the new password.

  6. Orange Community Approved Comment:
    J said:

    @Thim yes you can hide the account at the login screen, is done in the registry I have done it before, g00gle it, is how I found out

  7. Orange Community Approved Comment:
    harish said:

    matzis – You have to open command prompt as as an Admin to use this command.

    Right click on CMD and click “Run as Adminstrator”

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Current day month ye@r *