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

Here we'll show you how to enable the built-in administrator account in Windows 10. Activate Windows 10 administrator account without admin rights, without password, or without logging on login screen is possible. We have explained both methods in the following article, so please read it.



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

Solved Answer (Solution)

Sure, we’ll teach you how to enable or disable the administrator user account (default user) in Windows. Usually, the built-in Administrator account is disabled by default. If you need the administrator account to be enabled, then you can enable it anytime by following simple command in command prompt easily.

Below, we have mentioned the proper command so that you can run the command into the command prompts (DOS – CMD) to enable the administrator user.

How to Enable Administrator Account

There are two methods to do that. We have explained both of them down below. Opt 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 the manual commands to enable the administrator account.  The following steps for Windows 7, 8, 8.1, Windows 10, Vista, XP, Servers.


Step 1: Open Command Prompt with the administrator.

  1. Click on 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 the more detail 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 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 “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”. In case you don’t have administrative rights, then you cannot enable the administrator account.enable_administrator_acccount 2
    If you receive this message: “The command completed successfully” it, means your administrator account has been activated.
    enable administrator account successfully
  4. Now, restart your computer and check, is the default administrator account got enabled or not.

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

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

Method 2: Enable administrator Account Automatically (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 the 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 active 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 to enable or disable the administrator account on your logon screen on Windows 10, 7, 8. If you have any questions regarding the issue, please let us know in the comment section below.

Was this article helpful?

  1. Cosmic Rocket says

    “I get System error 5 has occurred.

    Access is denied.”

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

    1. none says

      System error 5 means you don’t have admin rights.

    2. akshay says

      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. Techexpert says

        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. Chinna says

          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. Techexpert says

            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. Max says

    Thanks. !!! It worked

  3. juana says


  4. lendyboy says

    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.

  5. wyse says

    can someone please answer ‘Cosmic Rocket’s question please? Apparently, I have the same problem too…..

    1. Techexpert says

      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. moi says

        can you explain why im still got denied ?ihave doing your step but still denied

        1. Techexpert says

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

      2. komic says

        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.

  6. Sidharth says

    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.

  7. Pappas says

    I have the same problem but my account haven’t administator permissions. Please help

    1. Techexpert says

      If your account have not the admin rights then you can’t do that. Sorry, It is possible on admin account.

  8. Pappas says

    Ok thanks. The only solution about my problem is to boot again windows.

  9. asif says

    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

  10. harold says

    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!

  11. Teshe says

    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. Techexpert says

      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.

      Error message:

      1. kRISTON west says

        is there a way to do it on a standard account ?

      2. ramkala says

        sir i start cmd prompt as run as administrator but after it i also getting access is denied

  12. hihead says

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

    1. Emily says

      tell us exactly what you are doing when you run command….step by step..then we can help you

  13. Emily says

    two thumbs up for this

  14. adyjayaputro says

    Good Thread Post …

  15. shubham says

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

  16. hcb says

    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. Techexpert says

      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.

    2. Hobbsy says

      You can reset the password, via safemode.

  17. ram says

    i mistakely disseable for administrator user how to enable administrator user
    in dos mode

  18. nathan says

    the download links dont work

  19. diwakar says

    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

  20. Travis says

    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. Techexpert says

      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.

  21. sandeep says

    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. Techexpert says

      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. mohammad says

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

  22. jmg says

    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.


    1. Techexpert says

      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. Bill says

        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. Bill says

        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. Techexpert says

          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.

          1. Bill says

            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. Techexpert says

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

          3. Bill says

            It is asking password for both try install any application or do anything administrative.

          4. Techexpert says

            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. Techexpert says

          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.

  23. Ravi says

    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

    1. Techexpert says

      Could you please explain what happens when you double click on an EXE file?

  24. neeraj says

    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. Techexpert says

      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.

  25. Harsh says

    it worked for me so well!! thanks a lot !!:)

  26. GenieMac says

    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. Techexpert says

      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.

  27. Abhishek says


    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. Techexpert says

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

  28. Omar Faruque Molla says

    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. Techexpert says

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

  29. reza says

    Hello Mr Techexpert
    how when I click CMD run as administrator, it asks me to type password ?

    1. Techexpert says

      Sorry to say but there is no other option to put administrator password on it.

  30. Dhanush says

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

  31. Mr.B says

    Worked like a charm, and Command Prompt after scan indicated no issues.
    Thank you.

  32. AfbakBroodje69 says

    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. Techexpert says

      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.

      1. hi says

        hi… i already use this way but why i can’t use my google?

  33. tushar gautam says

    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.

  34. RAMANANDA says

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

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

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

  35. raymond says

    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

    1. Techexpert says

      When you trying to do that, what it says?

  36. Miika Tolsa says

    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. Techexpert says

      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.

  37. Miika Tolsa says

    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. Techexpert says

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

  38. Miika Tolsa says

    I get this in lusrmgr. When I open it there should be users but there only reads what I allready sent.

    1. Techexpert says

      Could you please provide the screenshot at what you get in the “lusrmgr”?

  39. Miika Tolsa says

    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.

Leave A Reply

Your email address will not be published.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More

[fc id='2' type='slide' placement='right' button_color='#4488ee' font_color='white']Feedback[/fc]