add domainuser account to local group

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all . . .
I need to add a domain user account to local group (Administrators) on the
windows Xp Pro. i have many computers on my network. i need a script to do
this work by putting ithis scrupt into group policy.
Thanks for answers.
 
Please visit the experts in the Group Policy newsgroup
news://msnews.microsoft.com/microsoft.public.windows.group_policy

--
Carey Frisch
Microsoft MVP
Windows - Shell/User

Enjoy all the benefits of genuine Microsoft software:
http://www.microsoft.com/genuine/default.mspx

------------------------------------------------------------------------------------------------------------

:

| Hi all . . .
| I need to add a domain user account to local group (Administrators) on the
| windows Xp Pro. i have many computers on my network. i need a script to do
| this work by putting ithis scrupt into group policy.
| Thanks for answers.
| --
| ahmad jaidanie
 
You can use the net localgroup command in a batch file for the Group Policy
"startup" script as in net localgroup administrators domain\username /add .
Another possibility is to use Group Policy Restricted Groups as described in
the article in the link below which describes that two ways it can work with
either "members of this group" which will remove those users/groups not
included or "this group is a member of" to make sure that the users/groups
are included. --- Steve

http://www.windowsecurity.com/articles/Using-Restricted-Groups.html
 
Back
Top