Adding AD users with Local Administrator Rights

Hi Windows Experts,

Can someone provide me the steps on how to assign or provide AD users with Local Admin Rights only? I'm using Windows 2008

Thanks in Advance
SandManAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
motnahp00Commented:
You can also try this:

net localgroup Administrators your_ad_account /add
0
SandManAuthor Commented:
Thanks big_daddy0690, Is this applicable to 2008? I tried to follow it, but it seems this is for 2003.

Hi motnahp00, where do I execute this? on the AD Server or on the Workstation that I want the AD user to have access rights?
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

motnahp00Commented:
You can execute this from a command line on your applicable workstation or server. It will require an elevated command prompt for you to add an AD user as a local admin.
0
jacobstewartCommented:
Does this need to be done for all users or just a one time thing?
0
motnahp00Commented:
It's on a per user basis.
0
Brian PiercePhotographerCommented:
Don't do it on a per-user basis

Create a securiy group - call it something like 'LocalAdminusers'

Then use a restricted group to assign local admin rights to the group as detailed in a previous post (yes it works with 2008)

The advantage of using a group, it that is you want to modify who has local admin rights, all yiu need to do once the policy is in place is to add or remobe uses from the group to grant or demy them local admin rights.
0
motnahp00Commented:
Nesting of domain groups to local groups is not supported with the net command.

Feel free to correct if I'm wrong to include an example.
0
Prashant GirennavarCommented:
To accomplish above you have 2 options,

1. Use Restricted Groups in GPO
2. By the help of Scripts.

Using Restricted Groups in GPO.

 Please follow below link which explains about to use Restricted groups option to add domain users to local administrator account group.

http://www.windowsecurity.com/articles/using-restricted-groups.html

http://myitforum.com/cs2/blogs/rdixon/archive/2008/06/17/how-to-add-domain-accounts-to-local-administrators-group-using-gpo.aspx

Using Powershell Script.
Follow below link which include powershell script.

http://powershell.com/cs/media/p/2325.aspx

http://blogs.technet.com/b/heyscriptingguy/archive/2008/03/11/how-can-i-use-windows-powershell-to-add-a-domain-user-to-a-local-group.aspx

If I was you, then I would have configured Restricted Groups option.

Hope this helps.

Regards,

_Prashant_
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Active Directory

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.