Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I (current user) was a member of Administrators group. I changed my group to another one. Now, I can't change back to Administrators:

Access denied when changing group to Administrators

Also, this command (and several others) was denied:

net user administrator /active:no

net command denied

How to become a member of Administrators group again?

share|improve this question
Did you make sure to run the net user command from an elevated CMD prompt? – edusysadmin Feb 21 '12 at 14:12
Yes, I think so. Right click cmd.exe and "Run as admin" does the work? – mmdemirbas Feb 21 '12 at 14:17
up vote 1 down vote accepted

You need to re-join the Administrators group through the Windows' built-in (but almost always hidden) Administrator account. The command you're trying to execute (net user administrator /active:no) actually disables the built-in Administrator account and I'm not sure why you would execute this... Because that would leave the computer with no accessible account that has Administrator rights, access is denied.

Log in using the Windows' built-in Administrator account (if not visible in the login screen, use this on an elevated command prompt: net user administrator /active:yes) and re-add your user to the Administrators group. You can then disable the built-in Administrator account using the command.

share|improve this answer
Unfortunately, net user administrator /active:yes also denied – mmdemirbas Feb 22 '12 at 7:01
And I don't now Administrator password :( – mmdemirbas Feb 22 '12 at 8:02
My system admin logged on as Administrator and added me to Administrators group. Problem solved. Thanks @BloodPhilia :) – mmdemirbas Feb 22 '12 at 11:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .