How to enable or disable administrator account in windows 7

February 28th, 2009

The easiest way to enable or disable the administrator account is from the command line. Open a command prompt with administrator rights. This is done by right-clicking on the command prompt icon in the Windows 7 start menu and selecting Run As Administrator from the available options.

runcmdasadmin

Then in the command line to enable administrator account using the following command:

net user administrator /active:yes

To disable the administrator account using the following command:

net user administrator /active:no

To change the password of administrator using the following command:

net user administrator *

Another mothed is to go to Control Panel —> Administrative Tools–>right click Local Security Policy and select “Run as administrator”

localsecurity Then find the option under Local Policies-> Security Options ,then double click “Accounts: Administrator account status“.

dis-enableadminacc
Note:To enable/disable the built-in administrator account,you must have the administrator privilege.

Related Posts:

21 Responses to “How to enable or disable administrator account in windows 7”

  1. [...] As you know,windows 7/vista put all system data and user data on the same partition,normally it’s drive C.Under this condition we must backup our user data every time we re-install our windows 7/vista.From windows vista ,Microsoft supply us a tool mklink which can create a symbolic link under windows 7 or vista just as the command ln under unix/linux.Below is an example about how to put user data on non-system using mklink in windows 7. 1.Enable administrator account and set a password for it.You can refer How to enable or disable administrator account in windows 7 [...]

  2. [...] Bydefault,windows 7/vista put all system data and user data on the same partition,normally it’s drive C.Under this condition we must backup our user data every time we re-install our windows 7/vista.From windows vista ,Microsoft supply us a tool mklink which can create a symbolic link under windows 7 or vista just as the command ln under unix/linux.Below is an example about how to put user data on non-system using mklink in windows 7. 1.Enable administrator account and set a password for it.You can refer How to enable or disable administrator account in windows 7 [...]

  3. Ananthu says:

    I am not an administrator but i wanna activate it.
    When i tried out the solutions it says access denied..
    Please help!! :(

  4. John says:

    Thank you very much for this. I had to enable the admin account with a linux hack to repair a computer and I couldn’t find a way to disable it again. Every other site out there just assumes you are working on Win 7 Professional, which has options in the user account settings specifically for doing this. These options are missing in Win7 Home. It took me a while to find your site, but you have a place in my bookmarks now.

  5. Peter says:

    How to disable ASK browser?

  6. mahmoud says:

    I am not an administrator but i wanna activate it.
    When i tried out the solutions it says access denied..
    Please help!!

  7. John says:

    Any one who is having the access denied issue, it is because you are not right clicking cmd and running as admin.

  8. John says:

    to hide it, type:

    “net user administrator /active:no”

    That should turn it off.

  9. In looking for websites associated to Internet hosting and particularly comparison internet hosting linux strategy internet,
    your internet site came up.
    You are a quite sensible individual!

  10. Pranay Lokegaonkar says:

    it works thanks yaar u r grate

    thanks a lot for sharing a knowledge

  11. halle says:

    i tried the process but it keeps telling me access denied. I logged on using an account that has administrative right. Is ther a default administrator password?

  12. imran khan says:

    i have win7 home premium but diz solution iz not wrking

  13. [...] 1: Reboot your computer and login as another administrator account ,move or copy your profile to another partition,then create a symbolic link to link back your [...]

  14. [...] Enable or disable administrator account in windows 7 [...]

  15. payal says:

    I am not an administrator but i wanna activate it.
    When i tried out the solutions it says access denied..
    an it also says ‘system error 5 has occurred.access is denied’
    Please help!!

  16. [...] just have permissions of a standard user for security purpose—even if you’re logged on as an administrator.But there still are some programs need administrative privilege to run properply,below step will [...]

  17. [...] be noted you need to log on with an administrator account to do the below [...]

  18. Chris Kidd says:

    New query: I have dropped my laptop and on powering up it comes up with Administrator as the log in requiring password. It has been so long I have no idea what the Aministrator password was and can’t get passed this page to get to any listings to run the command you suggest. Please can you give me any advice.
    Thanks Chris

  19. justin says:

    just use lusrmgr.mmc file in system32

  20. Tushar says:

    I am not adminstrator, but i wanna use it as an admin, but after following this complete process, it’s asking for Password of Admin, so plz help me for that…

  21. Justin Bell says:

    Yeah. My computer does not have a Local Security Policy directory. As a result, this isn’t doing me any good.

Leave a Reply