win32serviceutil - remove service

Roger Upole rupole at
Wed Jun 23 00:16:52 CEST 2004

Something like this should work if you have sufficient privileges.

import win32service
svc_mgr =
svc_handle =


"ChrisH" <secun at> wrote in message
news:MPG.1b424c3559bdcc8989684 at
> Does anyone know of a way to remove a Windows service on a remote
> machine using python?
> I found the following link on ASPN that tells you how to do just about
> everything but remove a service.
> Manipulating Windows Services
> According to the article, the answer is in Python Programming on Win32.
> I have that book and still can't find the answer.

More information about the Python-list mailing list