Re: Add user/group to local group via Group Policy
- From: "Joseph M." <joseph.majzoub@xxxxxxxxx>
- Date: Mon, 30 Apr 2007 15:22:14 -0400
There are a few different ways to handle this. One way may be to add a GPO
based logon script. Using a conditional (if/then for group membership), you
could run the following command:
net.exe localgroup administrators "Your.Domain.Name\Domain Admins" /add
Keep in mind this is a shell command and would need to be ran from a .cmd or
..bat file. There are several examples out there to accomplish this via
VBScripting as well.
Take a look at the following sites for examples:
http://www.microsoft.com/technet/scriptcenter/default.mspx
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/vbscripttoc.asp
http://www.scriptinganswers.com/
http://cwashington.netreach.net/main/default.asp?topic=news
Desktop Authority could also handle this for you, www.scriptlogic.com/da.
The "Application Launcher" Object could process the command I referenced
above with Admin Rights at Logon, Logoff and a Refresh interval. the
Refresh interval would ensure the group membership was correct throughout
the day.
Best,
--
Joseph Majzoub
Systems Engineer
ScriptLogic Corporation
www.scriptlogic.com
"RollNpc" <RollNpc@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:AA5EC2E6-0183-4BD5-8D16-C15C31051D16@xxxxxxxxxxxxxxxx
I want to add/force my domain administrators group to all machines in my
domain via group policy without disruption of service and without changing
any current memebers.
Some of my local administrators have removed the domain administrators
accounts from the local groups and i want to put the domain admins back
in.
If i use the standard GPO it replaces memeberships, i just awant to add
the
domain admins.
--
.
- Follow-Ups:
- Re: Add user/group to local group via Group Policy
- From: RollNpc
- Re: Add user/group to local group via Group Policy
- Prev by Date: Re: GPO Reinstall
- Next by Date: Re: Add user/group to local group via Group Policy
- Previous by thread: sceregvl.inf issue
- Next by thread: Re: Add user/group to local group via Group Policy
- Index(es):
Relevant Pages
|