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.

35 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. Chelsey Benninger says:

    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.

  22. Donald says:

    OK…here’s my situation: I bought this computer with an apparently already created administrator password, (which I do not know). Now, how can I run cmd.exe as administrator when it prompts me to enter the aforementioned unknown password?
    I cannot run repair or maint. processes without being asked for this unknown admin password.

  23. 9supersonic9 says:

    OK I’M SERIOUSLY PISSED OFF! SOMEONE MADE AN ADMIN ACCOUNT ON MY COMPUTER AND I CAN’T REMOVE IT NOW! HELP ME!!!!!!!

  24. […] easiest way to work around it, as I found from this page , is to right click Command Prompt from Start button and pick the “Run as administrator” from […]

  25. Does your blog have a contact page? I’m having problems locating it but, I’d
    like to shoot you an email. I’ve got some ideas for your blog you might be interested in hearing. Either way, great website and I look forward to seeing it expand over time.

  26. An intriguing discussion is definitely worth comment.
    I think that you should write more on this subject matter,
    it might not be a taboo matter but usually people don’t talk about these subjects. To the next! Many thanks!!

  27. Ibrahim says:

    Dear All,
    I have a critical issue,i was changing Administrator name,so I deactivate the USER Acount,then i was asked for ADMIN Rights but i put Admin Password wrong more times,so it got locked.
    Now el me what i should do?……………………………………………………………………
    …………
    ……
    ..
    .

  28. kamal ismail says:

    Thank you very much for this.

  29. Cesar says:

    My friend i don’t have a local security policy so can you help me maybe you have other oppinions.

  30. […] 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 […]

  31. JACK says:

    “I have an IT related job for a global company, Which headquarter situated in berlin.
    I saw, Microsoft offer its license activation keys to activate only one PC or Notebook as a time,
    Last week, We need 7 key codes to activate new laptops for our new office,
    Where installed windows 7 professional,
    So I called my vendor to buy more activation, But he asked me that,
    They don’t have windows 7 pro activation at their stock.
    I was confused, As I must need license within two days to provide it for new office,
    So I searched at Google to find another distributor of Microsoft products, Where I found: http://cheaproduct.com
    They have reasonable price for all their products. Now we’re buying all products license from there via PayPal,
    Which are working well, I’ll suggest it for all my friends.”

  32. JB420DLow says:

    Under all programs type: cmd
    Then right click on cmd then run as Administrator
    Once cmd pops up type: net user administrator [/DELETE]
    This will delete the administrative account from your windows7 home prem and allow you full access to your computer.

  33. . . . live from the Capitol Building, where just hours ago millions of horrified CSPAN views saw the Senate Majority Leader merge with a T-Rex and EAT the Vice President of the United States!”“Bret, we’ve got to break, we’ve got a report of triceritops at the White House, Marty is on site with video . . . Look at the mess! I think they broke through the windows, and sometimes the walls, but the herd has stopped now to eat the Rose Garden . . . Watch, the dinosaurs are flickering, fading . . . zoom in, zoom in, to the left! Is that the President puking up rose thorns?”

  34. Oren says:

    Nice post. I learn something totally new and challenging on blogs I stumbleupon every day.
    It’s always useful to read articles from other authors and practice a little something from their sites. http://worldofgame.eu/groups/7-romantic-driving-games-ideas/

  35. 86Toby says:

    I have noticed you don’t monetize your page, don’t waste your traffic, you can earn extra
    bucks every month because you’ve got hi quality content.
    If you want to know how to make extra $$$, search for:
    best adsense alternative Wrastain’s tools

Leave a Reply