Link to home
Start Free TrialLog in
Avatar of bsharath
bsharathFlag for India

asked on

Domain Admin is removed from the Administrators group. Now how can i add it back.

Hi,

Domain Admin is removed from the Administrators group. Now how can i add it back.
So guys just remove this Domain admins from Administrators group and we end up not able to run any queries on there machines or Remote computer manage.

How can i add that.

Regards
Sharath
Avatar of kory1006
kory1006
Flag of United States of America image

You will have to log into the machine with an account that is in the administrators group.  Generally the local administrator account will do.  To add the domain admins group back to the machine, open computer management and goto Users and Groups.  Go to the Groups folder and then the Administrators group, click add, then in the object field type;  "YOURDOMAINNAME\Domain Admins" without the quotes.
Avatar of bsharath

ASKER

I want this in some way to add remotely?
ASKER CERTIFIED SOLUTION
Avatar of kory1006
kory1006
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Sorry the last command will be

net localgroup administrators DomainName\Domain Admins /Add
One more time...

net localgroup administrators "DomainName\Domain Admins" /Add

you need the quotes.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial