Disclosure: We are not providing any kind of paid support. Beware of scammers. This page may contain affiliate links read disclaimer

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

Question: Solved

How do I enable an administrator account (hidden) in Windows 10?

Solution:

Usually, this Administrator account (Windows built-in account) is disabled by default. Since it is disabled, it doesn’t appear on the login screen or anywhere else. If you want to enable it, you can do it easily by following a simple command in the command prompt.




The command is:

net user administrator /active:yes

However, enabling an administrator account in Windows 10 is an easy task, but sometimes it becomes tricky, especially when you don’t have administrator rights on your current account or trying to enable it through your standard account (without admin rights).

So we are going through both the scenarios, one if you have administrator rights and second if you don’t have administrator rights.

We are going to share some methods to enable administrator account on your login screen. Go to the steps below and apply them on your computer according to your scenario. Steps are properly annotated with the screenshots and a video tutorial so that you can easily understand the procedure. Please follow these steps:

How to Enable Administrator Account in Windows 10

There are two methods to enable an administrator account. We have explained both of them down below. Opt for one method and then follow its given instructions. We have performed these steps in Windows 7 computer, but the same steps can be worked on all the Microsoft Windows operating system like Windows 10, 8, 8.1, Vista, XP.

  1. Enable Administrator account through command prompt.
  2. Enable Administrator account automatically through a “.bat” file.

Method 1: Enable administrator account through command prompt

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.

Step 1: Open Command Prompt with the administrator rights.

  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.

  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.

  1. Step 1: Downloadactivate_administrator_user.bat
  2. 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 (Windows built-in account) on your logon screen in Windows 10, 7, 8. If you have any questions or any suggestions regarding the issue, please let us know in the comment section down below.

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

  1. “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.

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

    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.

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

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

  5. 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!

  6. 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:

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

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

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

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

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

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

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

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

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

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

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

  18. 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?

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

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

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

  22. 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)”

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

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

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

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

  27. hi tech, your article actually helpful, but not for mine.

    I accidentally choose standard user on /run netplwiz and it makes me cannot access anything with administrator permission, i tried from command prompt, it says access is denied, I tried to delete Admin acc in comp management and it says again access is denied, tried create new user still the same. until i found out that the admin acc had a password and i don’t know the pass. What should I do?

  28. HI
    I am using windows Xp and my all admin login are disable and only one guest user is available. so how can i enable admin login.

  29. hi techexpert,

    when i click the right mouse button and try to open as Admin, i get this message:”Enter an administrator username and password to continue.” this also my main problem since 2 weeks maybe more i am not able to install updates for different Applications on my Windows 10 Pro.
    Even i can’t change anything in my computer manangement i go to the local user and groups, under user > Administrator i can’t change anything.
    Please i need definitely help.

    Thanks in advance
    Arash

    1. It seems like some administrative privilege settings must have been changed on your computer. Check out the following solution to see if it works for you:
      1) First of all try to find out the password that you have set earlier on your computer and put it into the dialog box where the password asked.
      2) Try to login into another user if any other user exists on your computer. Try all the users one-by-one that exist on your computer.
      3) Scan your computer with good anti-malware like: HitmanPro or Malwarebytes etc.
      4) If nothing works then you have the last option to restore your computer with the back date.
      We cannot do more as we do not have much options to perform troubleshooting as we don’t have administrative privileges on your current account.

Leave a Comment

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

Scroll to Top