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.

43 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. Marlo says:

    Hi There!How are you doing? I am Kelly Anderson. I am a health and fnetiss blogger.I am one of the avid readers of and I was thinking if I can contribute to your site.I am currently promoting myself through my author bio and was hoping if I can get some exposure from your site.I can do social media help and press release assistance in exchange.I think the article Fighting The Canned Drink: My Sudden Switch To Danish Caffeine Pills will spark the interest among your readers.If you have other topics that you want me to write about, please don’t hesitate to tell me.I look forward to hearing from you.Kindest regards,Kelly Anderson

  33. Didn’t know the forum rules allowed such brilliant posts.

  34. gabbry non vedeva l’ora di postare il video musicale: anche se non si capisce bene cosa c’entra con Paolo. Probabilmente lo posta in ogni discussione perchè gli piace tanto e vorrebbe che piacesse tanto a tutti.Per ritonare in tema, pur non essendo un fisico, da appassionato di storia militare osservo che le scie di condensazione venivano create anche da aerei ad elica. Se non ricordo male, Paolo ha postato una foto di bombardieri alleati in proposito, mi pare si tratti di B-25.

  35. You are my breathing in, I own few web logs and infrequently run out from brand . “Analyzing humor is like dissecting a frog. Few people are interested and the frog dies of it.” by E. B. White.

  36. I needed this information, windows 7 drives me crazy.

  37. 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.

  38. just a suggestion, love the hd format, love the show. BUT, i'd kill for a lengthier show with more of whats being released by the big 2 and indies. i don't know if you have time constraints, or restrictions but a more elaborate discussion of more of the weeks books would be awesome. keep up the great work. you two are great.

  39. I would posit these numbers will level out and converge once the science community and the religous community settle on debating apples, or oranges, but not attempt both in the same context: evolution is a method, creationism a motive, it is a non-miscible binary system and rather prone to explosive boil overs as a consequence.

  40. Cyndi: so glad you like it! Yeah, I did the design. Photoshop and dreamweaver make it somewhat easy tho by no means did I do it the “best” way and its not easy for me to crank out.

  41. . . . 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?”

  42. know there are many variations to this recipe. My friend Robyn at Add a Pinch stirs a little honey into the peanut butter layer, something I will definitely try next time.

  43. "You have to be extremely delusional and or stupid to seriously say something like this."Then stick around, you'll be REALLY hard on some of the other posters here.

Leave a Reply