Re: scripts on servers
From: Mike Aubert (mikenews2_at_2000trainers.com)
Date: 02/17/04
- Next message: Jörgen: ""Unjoin a domain NT4""
- Previous message: Mike Aubert: "Re: event id 206 listen failed:15"
- In reply to: juanb: "scripts on servers"
- Next in thread: juanb: "Re: scripts on servers"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 17 Feb 2004 02:12:31 -0600
Group Policy can be used to apply startup and shutdown scripts to computers.
Here is an article that contains the necessary steps:
http://support.microsoft.com/default.aspx?scid=kb;en-us;322241
When you apply the scripts, be sure to store the scripts in a location that
is accessible to all clients. For example, click the "Show Files" button on
the scripts dialog box (see the above link to locate this in a GPO) and then
copy and paste your script into the folder that opens.
Now the question is - where to apply the GPO? If all the servers are in the
same organizational unit you can simply create a GPO linked to the
organizational unit (or use an existing GPO if one is linked to the
organizational unit).
However, if all your servers are not in the same organizational unit, and
applying the GPO at a high enough level would also effect workstations, you
can use security filtering. Here is more info on security filtering:
and
http://support.microsoft.com/default.aspx?scid=kb;en-us;322176
(the How to Filter the Scope of Group Policy According to Security Group
Membership section)
You would basically use the following steps:
- Create a group called something like "Domain Servers"
- Add the computer accounts of all servers to the "Domain Servers" group
- Create a new GPO and apply it at a high level so it will apply to all the
servers (such as at the domain level)
- Remove the allow "Apply Group Policy" permission from the Authenticated
users group (but, do not deny)
- Add the "Domain Servers" group and allow the Read and the Apply Group
Policy permissions
- Configure the script in the GPO
------------------------------------------------------------------
Mike Aubert
MCSE, MCSD, MCDBA
mikenews2@2000trainers.com
Note the "news2" in my email address is temporary and may be changed in the
future, remove it to email me at my Permanente address.
This posting is provided "AS IS" with no warranties, and confers no rights.
"juanb" <juanb.11rheb@mail.mcse.ms> wrote in message
news:juanb.11rheb@mail.mcse.ms...
>
> Hi !
>
> I have an windows 2000 net+Ad.
> I want to be able to run a script on all my 2000 servers.
> can i do that from one local location ?
> maybe using GPO to only the servers ?
>
> thanks
>
>
> juanb
> ------------------------------------------------------------------------
> Posted via http://www.mcse.ms
> ------------------------------------------------------------------------
> View this thread: http://www.mcse.ms/message399950.html
>
- Next message: Jörgen: ""Unjoin a domain NT4""
- Previous message: Mike Aubert: "Re: event id 206 listen failed:15"
- In reply to: juanb: "scripts on servers"
- Next in thread: juanb: "Re: scripts on servers"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|