[Samba] run a script with "administrator" credentials?
Jean-Jacques Moulis
jj at isy.liu.se
Sat May 21 16:48:17 GMT 2005
On Fri, 20 May 2005 19:05:42 +0200 Tomasz Chmielewski <mangoo at mch.one.pl> 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: jj at isy.liu.se
581 83 Linköping
More information about the samba
mailing list