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.
- Enable Administrator account through command prompt.
- 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.
- Click on the Start button.
- Type “cmd” in the search bar.
- 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.
Step 2: Run following command in the command prompt.
- Type the following command into the command prompt.
- Press the enter button from your keyboard.
net user administrator /active:yes
- 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.
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.
- 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.
- If you want to disable the administrator account then type the following command in CMD.
net user administrator /active:no
- When done, logout of your current account or reboot your computer.
- 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.
- Download activate_administrator_user.bat
- Download de-activate_administrator_user.bat
- Step 1: Download “activate_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 (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.
“I get System error 5 has occurred.
Access is denied.”
I get this even when opening command prompt as administrator :(.
System error 5 means you don’t have admin rights.
i get system error 5 has occured.access denied when i type net user Administrator/active:yes and no both time error has occured
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
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……
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.
Thanks. !!! It worked
merci
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.
can someone please answer ‘Cosmic Rocket’s question please? Apparently, I have the same problem too…..
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
can you explain why im still got denied ?ihave doing your step but still denied
Please check your user, Are you login into administrator account ? please login into administrator account the do it again.
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.
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.
I have the same problem but my account haven’t administator permissions. Please help
If your account have not the admin rights then you can’t do that. Sorry, It is possible on admin account.
Ok thanks. The only solution about my problem is to boot again windows.
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
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!
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?
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:
is there a way to do it on a standard account ?
sir i start cmd prompt as run as administrator but after it i also getting access is denied
people could not understand , even we are running command prompt as admin still we are getting access denied , please help
tell us exactly what you are doing when you run command….step by step..then we can help you
two thumbs up for this
Good Thread Post …
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
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..
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.
You can reset the password, via safemode.
i mistakely disseable for administrator user how to enable administrator user
in dos mode
the download links dont work
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
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.
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.
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?
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.
i cannot open any program run as administrator because when the message yes or no appear button of yes is not available
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.
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.
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.
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.
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
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.
Is your computer asking password when you try install any application or do anything administrative? or gives error message?
It is asking password for both try install any application or do anything administrative.
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.
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
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
Could you please explain what happens when you double click on an EXE file?
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
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.
it worked for me so well!! thanks a lot !!:)
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?
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.
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?
Sorry to say, but as of now we don’t have solution for this particular issue. You can try password recovery tools.
Thanks
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?
What happens when you start CMD (command prompt) without adminstrator privileges? Does it give you the same error message?
Hello Mr Techexpert
how when I click CMD run as administrator, it asks me to type password ?
Sorry to say but there is no other option to put administrator password on it.
My admin account is deleted.. Now I am using limited account.. How to enable administration permission… Please anybody and me….
Fabulous!
Worked like a charm, and Command Prompt after scan indicated no issues.
Thank you.
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.
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.
hi… i already use this way but why i can’t use my google?
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.
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)”
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
When you trying to do that, what it 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.
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.
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
Where do you get this message, in command prompt? Please explain it more detail so that we can assist you more about it.
I get this in lusrmgr. When I open it there should be users but there only reads what I allready sent.
Could you please provide the screenshot at info@techsupportall.com what you get in the “lusrmgr”?
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.
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?
To reset an administrator’s password without having administrative privileges, try this video tutorial: https://youtu.be/4wRoT_guuMs
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.
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
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.