Changes

Jump to: navigation, search

WPKG with winexe

363 bytes added, 11:39, 21 December 2009
m
no edit summary
** TIMEOUT - winexe 0.90 has some bug which prevents it from exiting in some circumstances. Makes sure it's killed if it ever happens for you.
** IGNOREIPS - don't try to start software installation on these IP addresses
 
* down in the script, correct \\\\branchdc\\unattended paths to point to your server and software/wpkg share
* Create a LOGPATH directory (default: /var/log/wpkg)
* security: the script has admin username/password, so make sure to keep it in a directory which is accessible by root only
* security: winexe will present username/password in ps output. If it's a concern for you (i.e. unprivileged users can view process list on that server), you have to modify the script to use --authentication-file with winexe
* if you have WPKG Client running, but would rather disable it from this script, you can add these lines just before "net use \\\\branchdc\..." in the script:<source lang="dos>taskkill /F /IM wpkgsrv.exesc config wpkgservice start= disabled</source>
= Script source =

Navigation menu