How to Enable Administrator Account in Windows 10, 7, 8

Question: Solved

How to enable administrator account in Windows 7, 8, 8.1, Windows 10, XP or Vista?

Solution:

Sure, we’ll teach you how to enable or disable the administrator user account (buidin user) in Windows. Usually, this built-in Administrator account is disabled by default. If you want to enable it, then you will have to easily enable it by following some simple steps. Let’s see what those steps are.




Below, we have prepared a how-to instructions along with the screenshots so that you can easily understand the procedure.

How to Enable Windows Administrator Account

There are two methods to do that. We have explained both of them down below. Opt for one method from them and then follow its given instructions.

  1. Enable Administrator account by following manual steps
  2. Enable Administrator account automatically through a “.bat” file.

Method 1: Enable administrator account manually

In method1, you’ll get manual commands to enable the administrator account.  The following steps are for Windows 7, 8, 8.1, Windows 10, Vista, XP, Servers.

Steps:

Step 1: Open Command Prompt with the administrator.

  1. Click on the Start button.
  2. Type “cmd” in the search bar.
  3. Right-click on the found cmd.exe as a search result and click on “Run as Administrator”. A command prompt window will open up with administrative privileges. Click here to get more details on how to open the command prompt with administrative rights.
    start command prompt with administrator

Step 2: Run following command in the command prompt.

  1. Type the following command into the command prompt.
  2. Press the enter button from your keyboard.
    net user administrator /active:yes

    type the command

  3. In a few moments after pressing the enter key, either you receive the error message: “system error 5 has occurred – Access is denied” or a successful message: “The command completed successfully
    If you receive this message: “The command completed successfully” it, means your administrator account has been activated.
    enable administrator account successfully
    If you receive “Access is Denied” message it means either you did not open your command prompt with administrator privileges or your current user account doesn’t have administrative rights. In this case, we suggest you to just start the command prompt with “Run as administrator”. If you don’t have administrative rights, then you cannot enable the administrator account.
    enable_administrator_acccount 2
  4. Now, restart your computer and check if the Windows buitin administrator account got enabled or not.

Here are the steps if you want to de-activate (Hide/disable) your Administrator Account again.

  1. If you want to disable the administrator account then type the following command in CMD.
    net user administrator /active:no
  2. When done, logout of your current account or reboot your computer.
  3. After rebooting, the Administrator account should not be present on your login screen.

Method 2: Enable administrator Account through .bat file.

If you are looking forward to doing it automatically, then you can easily do it by using the “.bat” file. Please follow the following steps: Your administrator account will be in an active state on the login screen.

Step 1: Downloadactivate_administrator_user.bat

Step 2: Right-click on the activate_administrator_user.bat file and click on “Run as Administrator” It will flash the command prompt and make the administrator account automatically in the Windows login screen.

If you want to disable the administrator account then you can run its de-activator file:de-activate_administrator_user.bat

That’s it.

Hopefully, this article helped you enable or disable the administrator account on your logon screen in Windows 10, 7, 8. If you have any questions regarding the issue, please let us know in the comment section below.

79 thoughts on “How to Enable Administrator Account in Windows 10, 7, 8”

  1. I already got it, i had to reset my computer from advanced startup and clear my whole computer to factory sets. But thank you for trying to help me.

  2. Ther reads that “This extesnion can not be used with this Windows 10 -version. You can control this Computers user accounts using control panels user accounts -tools

    1. Where do you get this message, in command prompt? Please explain it more detail so that we can assist you more about it.

  3. this is bad situation for me, i have done everything exactly the way it should be done but when i type: (net user administrator /active:yes) it says: [username has not been found] what should i do.

    1. Maybe you had changed the administrator account name earlier. We suggest you to please run the “lusrmgr.msc” command to open up the “local users and groups.” Please check out the user’s names that your computer has in locally. Here you can enable/disable the account from here as well. Please check out the pictures.
      lusermgr.msc command
      lusermgr window

  4. hello
    can you help me to this problem. I enable the administrator account then after that I log on to the administrator account. My problem is after I log on to the administrator account I disables the administrator account then after that i log off now and enter the user account. I want to enable again the administrator account but because of that I log in to the user account I can’t able to do that. Can you help me to fix this.

    Thanks and Best Regards,
    Need help Urgent

  5. C:\Windows\system32>net user administrator /active:yes
    The command completed successfully.

    C:\Windows\system32>net view
    Server Name Remark

    ————————————-
    \\RAMANA-PC
    \\RAMANANDA
    \\RAMANANDATIRTHA
    \\RECN-PC
    \\RECNPA-PC
    The command completed successfully.

    C:\Windows\system32>shutdown -i
    Remote shutdown dialog is opened
    next i click add
    then i entered \\recn-pc
    next press ok…after that i get error msg is “\\recn-pc: Access is denied.(5)”

  6. I got the command completed successfully message, yet I am getting permission denied message when I am trying to delete an application , I can’t change the security permissions too.

  7. And how am I supposed to run cmd as Administrator or download things when I don’t have Administrator rights?
    I can’t do or run anything right now, not even reset the PC because, you guessed it, I don’t have ANY admin rights.

    1. Yes this is the fact that without admin rights you can’t do. But if you had an admin right’s account and you have lost its password then there are some software available in the market which can help you reset your password. Please let us know if this is the case.

  8. My admin account is deleted.. Now I am using limited account.. How to enable administration permission… Please anybody and me….

  9. Omar Faruque Molla

    Hello Techexperts !, nice to meet you all , I have problem with my windows 8.1 , there actually when I’m gonna open Command Prompt (Admin) windows is saying that – ” This file doesn’t have a program associated with it for performing this action. Please install a program or, if one is already installed, create an association in the Default Programs control panel.” What should I do now ?, please tell me? , and perhaps my windows 8.1 is not activated , Is it’s the real reason for admin problem or other?

    1. What happens when you start CMD (command prompt) without adminstrator privileges? Does it give you the same error message?

  10. Hello,

    i have windows 7 professional version, unfortunately i have disabled administrator account and i also changed the password of admin account, now i have only standard user account, when i am going to run any task with administrator account then i am not able to run any task and popup windows yes tab also disabled, what should i do?

    1. Sorry to say, but as of now we don’t have solution for this particular issue. You can try password recovery tools.
      Thanks

  11. This is the most ridiculous post I have seen. The TechHelp person did not understand the problem or the many people trying to explain.
    Clearly if you have the password for the Administrator account AND it is set to “/active:yes” then you can access CMD (as Administrator). In this case there would be no question or problem to be solved – you just log on! This is what Bill (contributor) tried to point out.

    Windows security is set so that Right-Mouse-Click on CMD for “run as Administrator” will either prompt for Administrator’s password, or the “Yes” option is denied (greyed out). If your Windows version prompts for password and you know the password and enter it, there is no problem. You can access CMD and reset the Administrator account to be visible by “/active:yes”.

    However, if your Windows version (such as RT 8.1) presents the “Yes” option greyed out, access to CMD with Administrator rights is not possible.

    The real question is this: When Administrator has been set as “/active:no”, and there is no Administrator visible as a user on Windows Users Log On screen, how can the Administrator log on?

    1. Hi, GenieMac,
      Thank you for highlighting this matter to us. We have not done any research on this, we will research on this matter and update on this page.

      As we keep saying CLEARLY, there is NO option (as of now OR you can say as we know) to active administrator account if you don’t have user of administrative privileges OR you know administrative privilege’s user account password. This post is only for assistance to know the command how to active the administrator account because administrator account does disable as default settings of windows.

  12. hallo
    i have window 7 professional and when write ” net user administrator / active:yes ” in command promt it says ” sys error 5 ” also right click on cmd run as administratot didnt work

    1. It means your current user profile which you have logged in is not the administrator account, may be it is a standard account. So please make use you login into administrative privileges account.

  13. Hi I am unable to run exe file and unable to create Administrator, showing below popup message

    Usually, if u run as administrator then it will open a popup with Yes and No right but for me Yes is disabled. Appreciate for the solution

  14. This thread is exasperating. I am having the same difficulty. If I right-click on “cmd” and “Run as administrator” then I am prompted for an administrator log-in and password.

    Under the System32 folder I am able to click on and get into the cmd prompt, but not as an administrator.

    I can no longer run many executable files. I have heard that malware bytes solves this problem. However, since I cannot add any more .exe file changes to the computer without an admin password, the only programs that can be updated are those that do so automatically, on a previously set schedule. “Microsoft Security Essentials” does have regular updates and scans, yet does not solve the problem. Why is it that another company has a program that evidently has been cleaning up this issue for a very long time, whereas Microsoft is not? Obviously this is a known malware problem that Microsoft has chosen not to address for some reason.

    I cannot get the laptop to boot up in safe mode.

    Additional problems are cropping up (no longer finding the “path” to a file when I click on it), and I fear that rebooting it one more time will be the end of this laptop.

    I have now been stalled on everything for work for weeks, and spent countless hours reading redundant articles that haven’t provided a solution without resorting to downloads (which I cannot run) or booting off of a disk that I don’t have.

    It would be great to have a different, workable solution.

    Thanks.

    1. Alright, I read your message and want to know: Is your current user have “administrator privileges” or “Standard” user?
      Secondly, Make a new administrator user account and login into that new account and then try to run your exes
      Please let us know the problem what you are facing while opening up the exe files.

      1. Can you please explain how to make a new administrator using a user which is facing these admin privileges? Please do not suggest to use the user which has administrator privileges. In that case we would not raise this issue.

      2. Moreover, I need to inform you that I have never activated the default administrator so do not have password. Always installing applications using run as administrator or providing access rights. But somehow local user lost admin privileges. Now if I try to open command prompt as admin as you suggested, it requires administrator password. But as mentioned earlier, never activated default administrator and not have the password. Hope you understand the scenario now.

        1. Yes, we understand that,
          Please turn off the UAC setting from control panel: Go to control panel –>> user account –>> change user account control setting. Drag it too never notify. Let us know if your account allow to do so. If it doesn’t work then let me know the how many accounts in your computer and their account types as well. Also let me know which antivirus are you using on this computer.
          Thanks

          1. Thank you very much for your response.
            My account is not allowed to access “change user account control setting”. I am using only one account from the very beginning which had admin privilege that time. But now not able to install any application using that local account. I have already mentioned, default administrator is disabled.
            I am not using any third party antivirus, only windows defender.

          2. Is your computer asking password when you try install any application or do anything administrative? or gives error message?

          3. I have understood your issue exactly, however, as of now we have no solution of this situation because my logic is stuck at point of if we try anything manual steps or automatic tool, we need administrative password or account which don’t have. As of my assumption, might be a virus / malware have done these changes with your account.

        2. Yes, we understand that,
          Please turn off the UAC setting from control panel: Go to control panel –>> user account –>> change user account control setting. Drag it too never notify. Let us know if your account allow to do so. If it doesn’t work then let me know the how many accounts in your computer and their account types as well. Also let me know which antivirus are you using on this computer.
          Thanks

  15. most of them are says access denied ,,,,,,,,,it happen tooo me also

    and i think admin account works only in original operating system …..

    my thinking is correct r im in wrong way?

    1. Did you open CMD windows using the correct method, clicking on “Run as administrator” option. If you get this access dined issue that means either you did not open CMD using “Run as administrator” command or your current user do not have administrative privileges.

      1. i cannot open any program run as administrator because when the message yes or no appear button of yes is not available

  16. Heres my issue. When I installed Windows 10 I used a Microsoft account. Apparently Im not an admin on the computer. I cannot do anything that requires admin priveldges because there simply is no admin. I cant create one. I cant do anything because there is no admin account and I cant make one.

    1. To activate Administrator account you must have to login into your account which have full administrative privilege, without this you can’t active that one.

  17. When I’m trying to run the cmd from admin account, it is asking the admin id and password. Eventually when i m put the id and password it showing “admin account is disabled”, do anyone have the solution for this…..Thanks

  18. The problem is; I have totally forgotten my admin password and I want to reset in cmd but every time I get System error 5 Access is denied. I can neither enter with Admin previlage because it requires password nor reset in guest account. What can I do? Please help..

    1. Hi HCB, You can reset the Administrator’s account password if you have another admin privilege account. Simply login into another admin privilege account and go to the change password option of administrator’s account. Here you easily can change the password.

  19. we r unable to log in into administrative account

    for me,
    i’d deleted my administrator acount by mistakenly the name was for e.g “shubham” and it was without any password

    den when i restarted my win7 pc it is showing log on screen

    when i type only “administrator” in username and puts password box as blank, aftr pressing enter or clicking on tat arrow, it says “your account is disabled”

    so i opnd in safe mode and added to more accounts
    one is “shubham” which i put as standard account coz unable to put it as administrative account now 🙁
    and another one is “Guest”

    now i restart my pc again n now logon screen showing this 2 accounts “shubham” and “guest” only … n not showing login for administrative account ….

    so do i want to repair win7 using cd
    or format it
    or what can i do without above 2 things to work it as before ..

    while typing this question
    i got quik idea to try
    and worked suprbly
    follow if having same problem

    go to safe mode
    add stndrd acnt with any name
    add pswrd to it
    try to change type as administrator (it won’t b change bt the magic is here .. it will help to enable administrator and will put same password to administrator account n we want the same )
    now restrt pc again
    go to “safe mode with cmd prmt”
    it will now show 2 accounts i.e. the standrd one u hv created and 2nd one is administrator
    jst click on administrator and put the passwrd of ur created standrd acnt
    now in cmd prmt box type below

    net user administrator /active:yes

    and u r done
    now rstrt again n loging with administrator with same psswrd….
    enjoy

  20. people could not understand , even we are running command prompt as admin still we are getting access denied , please help

  21. I get System error 5 has occurred.

    Access is denied.” and when i get command prompt or Ur above step to enable run administrator, “yes” is not enable only “NO” how i get solution pls help me?

    1. This command is for active the administrator account: “net user administrator /active:yes”
      This command is for de-active the administrator account: “net user administrator /active:no”

      If you get this following error message “system error 5 has occurred – Access is denied” while running this command, that means you have not started your command prompt window with administrative privileges or your account doesn’t have the administrative rights to do this which you have logged in right now. So please make sure, you are running command prompt with “Run as administrator” option by right click on that.

      Please revert back for any further help.
      Thanks

      Error message:

  22. I cannot log on any longer but your trick requires log-in. Eventually I managed to enable the built-in administrator account offline by booting into PCUnlocker Live CD. Thank you!

  23. My Administrator account is disabled but in very bad way..we system starts it shows only user account and i have tried every solution provided on internet….it seems that it is deleted permanantly

  24. After doing all these also still i am not able to disable or enable the administrator account and not able to install any software also.
    Please help me.

    1. You got error 5 message that means you haven’t run “command prompt” window without administrative mode. To solve that error 5 message you have to start “Command prompt(CMD)” with “Run as administator” mode. Please follow above article again.

      Here are the steps
      1. Click on Start
      2. Then click on All programs
      3. Then click on Accessories
      4. Find there command prompt
      5. Run this command prompt with administrative mode (right click on that and choose “Run as administrator)
      That’s it

        1. Please check your user, Are you login into administrator account ? please login into administrator account the do it again.

      1. Dude dont you get it dome of use cant run or log into a admin account do to it not being there when we try it says denied on cmd what do you do when this happens REMEMBER WE HAVE NO ACCESS TO ADMIN ACCOUNT! sorry for the caps but tired of seeing people not helping us when clearly we cant log in and need a way to get or accounts back to admin like they where before.

  25. my admin is no active,yet,some of my pc programmes are lock within the admin. and i cant upgrade my anti-virus for the worst of it. pliz help me,thanks.

  26. “I get System error 5 has occurred.

    Access is denied.”

    I get this even when opening command prompt as administrator :(.

    1. i get system error 5 has occured.access denied when i type net user Administrator/active:yes and no both time error has occured

      1. Please run your CMD with administrator privileges (Run as administrator).

        Click on Start menu button then click on search box and type there; CMD. CMD will appear as in search result. Do right click on it and choose the option “Run as administrator” them type the command again “net user administrator /active:yes”. Make sure you type this command in the same format that we written here: net user administrator /active:yes

        1. i do same but when i right click on that cmd and choose “Run as administrator” than that time also am getting yes are no permission access window is appear,but yes option is disabled.

          so now tell me what will be do now……plz help me……

          1. It means you are not an administrative privilege user account. And without administrative privileges you can do anything. Sorry we can’t help you on this particular situation.

Leave a Comment

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