Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month, online, via Jitsi Meet.

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] Python module for Windows services that runs on Linux



Matt Shields <matt at mattshields.org> writes:

> Anyone know of a python module that will let me query/start/stop a Windows
> service?  The module needs to be able work on a Linux system.  I've looked
> around but it seems all the modules I find require the python app to run on
> a Windows machine.

Never had to do it, but impacket looks promising:

https://code.google.com/p/impacket/source/browse/tags/impacket_0_9_12/examples/services.py

Seems the others use the client side SCM and WIN32 API to it rather than using the
wire protocol (http://msdn.microsoft.com/en-us/library/cc245832.aspx)
manually like this guy does.

-- 
Mike Small
smallm at panix.com



BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org