add domainuser account to local group

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.
 
C

Carey Frisch [MVP]

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
 
S

Steven L Umbach

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top