On Fri, 20 May 2005 19:05:42 +0200 Tomasz Chmielewski <[EMAIL PROTECTED]> wrote:

TC> Is it possible to run a custom script for a given machine when it boots up 
TC> (that is already joined to the domain), with administrator 
TC> credentials (for example, to install software)?

A machine script can be run at bootup.
It runs with Administrative privileges and
can be used to install software (we do!).

Use gpedit.msc on the client to define a the startup script
-->Local Computer policy -->Computer Configuration
-->Windows Settings --> Scripts (Startup Shutdown)

The script may reside on a samba share.

We are using an imaging system to deploy machines
and all new machines have the script defined.

You could perhaps copy the file
%SystemRoot%\system32\Group Policy\Machine\Scripts\scripts.ini
to already deployed machines but I don't know if
it's sufficient 

ex of a scripts.ini:

[Startup]
0CmdLine=\\Sambaserver\Publicshare\Startup.cmd
0Parameters=




-- 
Jean-Jacques   Moulis                              Tel:  (013) 281684
ISY                                                Fax:  (013) 139282
Linköping University                            E-mail: [EMAIL PROTECTED]
581 83 Linköping
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to