|
OK - I'll toss in my two cents - do it via a startup script
in a group policy applied at whatever level is going to hit your
workstations. In the startup script (cmd, bat, vbs - whatever your
comfortable with) you'll want something along the lines of:
@echo off
::Add2Admin.cmd set log=c:\audit.log time /t > %log% rem Change domain to your domain name but leave everything else. set grp="<YourDomain>\Domain Admins" set grp2="<YourDomain>\Workstation Admins" echo Adding %grp% to local Administrators group >>%log% net localgroup Administrators %grp% /add >>%log% echo *************************************** >>%log% echo Adding %grp2% to local Administrators group >>%log% net localgroup Administrators %grp2% /add >>%log% echo *************************************** >>%log% set log= set grp= set grp2= :EOF What this accomplishes for us is a group that is maintained
in AD (Workstation Admins) is added to the local Administrators groups of the
workstation, along with the domain admins group. The Workstation Admins
group is our technical services group, responsible for managing and maintaining
the PC's. And, because it runs as a startup command, it runs at
LocalSystem context - therefore no issues in performing the
commands.
Under no circumstances do I trust anyone with Domain Admin
privileges that 1) do not absolutely require it, and 2) have not passed my
stringent requirements for the responsibility. It's way to easy for
someone to make mistakes that I ultimately will be responsible for, and it's
also too easy to make sure that those that need to do a particular job have
the permissions to do so. Two examples to cite - the script above and the
AD Delegation White Paper.
Rick Kingslan MCSE, MCSA, MCT From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bruce Clingaman Sent: Thursday, December 04, 2003 9:44 AM To: [EMAIL PROTECTED] Subject: RE: [ActiveDir] You
could add him to the local administrators group using the computer management
tool. The addusers.exe can add users to local groups using the cmd or batch
file.
|
- RE: [ActiveDir] Free, Bob
- RE: [ActiveDir] Free, Bob
- [ActiveDir] Mike Baudino
- Re: [ActiveDir] Matjaz Ladava
- [ActiveDir] Jerry Johnson
- RE: [ActiveDir] Douglas M. Long
- RE: [ActiveDir] Jerry Johnson
- RE: [ActiveDir] Bruce Clingaman
- RE: [ActiveDir] Jerry Johnson
- RE: [ActiveDir] Bruce Clingaman
- RE: [ActiveDir] Rick Kingslan
- RE: [ActiveDir] Jerry Johnson
- RE: [ActiveDir] Joe
- RE: [ActiveDir] Joe
- RE: [ActiveDir] Oliver Marshall
- RE: [ActiveDir] Jordan, Jason [EPM/AUS]
- RE: [ActiveDir] Joe
- RE: [ActiveDir] Creamer, Mark
- RE: [ActiveDir] Oliver Marshall
- RE: [ActiveDir] Joe
- RE: [ActiveDir] W2K List
