domain security policy can do this and also the group policy can do it
Main Topics
Browse All TopicsHi,
I have a Windows 2000 domain with some Windows 2003 servers installed. I have a mix of Windows XP and Windows 2000 workstations. I need to somehow push out a particular Active Directory group into everyone's Local Administrators group on each pc. Is there a way to do this?
Thanks!
Mark
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Hi,
This link will help you.......... using Group policy and this would be the best solution for large companies
http://forums.techarena.in
regards
Chandru
Thanks chandru_sol! That worked perfect!
I just added the line "net localgroup administrators pai\LocalAdmin /add" to the login script and tested it and it worked great! Group Policy really wasn't going to work for me because it overwrites the local settings on the computer. And we have different permission settings on almost every computer. Thanks for all of your help everyone!
Mark
Business Accounts
Answer for Membership
by: bsharathPosted on 2007-11-08 at 11:35:39ID: 20244321
See if this helps... e.com/OS/ M icrosoft_O perating_S ystems/Q_2 2759098.ht ml
leSystemOb ject") tFile, _
, vbNewline)
ment/" & strUser) th)
http://www.experts-exchang
If you are talking about adding a user to all machines Administrator group.Then here is the cake.
strOutputFile = "C:\Workstations.txt"
strUser = "enochj"
Const OPEN_FILE_FOR_READING = 1
Const OPEN_FILE_FOR_APPENDING = 8
' Set Objects
Set oFSO = CreateObject("Scripting.fi
Set objInputFile = oFSO.OpenTextFile(strOutpu
OPEN_FILE_FOR_READING)
inputData = Split(objInputFile.ReadAll
For each strData In inputData
strComputer = strData
Set objGroup = GetObject("WinNT://" & strComputer & "/Administrators")
Set objUser = GetObject("WinNT://Develop
objGroup.Add(objUser.ADsPa
Next
This vbs script takes the machine names from the txt file.Put in all machine names 1 per line.