[python-win32] Allowing service to interact with desktop

Mark Hammond mhammond at skippinet.com.au
Sat Apr 30 03:09:19 CEST 2005

> Actually, running python 2.0 and win32all-144.exe I don't see that:

win32all-144 is *very* old.  You are after the pywin32 builds - 204 is the
latest.  A service with that version of pywin32 supports:

Usage: 'pipeTestService.py [options] install|update|remove|start
[...]|stop|restart [...]|debug [...]'
Options for 'install' and 'update' commands only:
 --username domain\username : The Username the service is to run under
 --password password : The password for the username
 --startup [manual|auto|disabled] : How the service starts, default = manual
 --interactive : Allow the service to interact with the desktop.
 --perfmonini file: .ini file to use for registering performance monitor
 --perfmondll file: .dll file to use when querying the service for
   performance data, default = perfmondata.dll
Options for 'start' and 'stop' commands only:
 --wait seconds: Wait for the service to actually start or stop.
                 If you specify --wait with the 'stop' option, the service
                 and all dependent services will be stopped, each waiting
                 the specified period.


More information about the Python-win32 mailing list