Add "Domain Admins" to Administrators from within Workgroup

I'm building a deployment image for my job. I was told in a related post not to connect your base image pc to a domain and to just have sysprep's mini setup take care of it. With that said, how can I now add "domains admins" as a member of the administrators group?
troubledFishAsked:
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.

slam69Commented:
hi

use the restricted groups option in group policy to force the domain admin group into the local admin group works a charm

http://support.microsoft.com/kb/555026
0

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
evanmcnallyIT ConsultantCommented:
Sysprep can automatically remove domain membership information and the unique SID from the PC when you use it to "reseal" the PC, so you do not need to avoid joining your domain with your image-source PC.  The unique information will all be stripped out by Sysprep.  

Sysprep supports a setting to have an imaged-PC automatically join a specified domain, or you can join the domain manually after you have deployed the image.  In either case, the act of joining the domain will automatically place the Domain Admins group into the PC's local "administrators" group.  

When I create images for Ghost using Sysprep, I do join the domain and also add additional custom domain groups to the image PC.  I then use Sysprep to remove domain information and create my ghost image.  Any additional custom groups you had added to the PC when when it was joined to the domin for image creation will also be preserved.  Domain groups remain on a PC when it is removed from a domain and will function normally if that PC is re-joined to the same domain.

Most of the automation settings in Sysprep can be easily configured with setupmgr.exe.  This link has a step-by-step procedure for making your sysprep.inf file using the GUI interface.
http://www.windowsnetworking.com/articles_tutorials/Customizing-Unattended-Setup.html

The sysprep help file is also actually helpful!
0
evanmcnallyIT ConsultantCommented:
Just to clarify, the question is how to add "Domain Admins" specifically and not just any arbitrary group, right?  In that case, no script is necessary.  Domain Admins is always added to the PC's Administrators group when a PC is joined to a domain.
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
Software

From novice to tech pro — start learning today.