As far as I can see, event log only lists the source as Service Control 
Manager, no user info.
Oh well, I'll just have to have it message me when it stops so I can restart it 
:)

I've seen solutions where you need to install debug tools etc. But can't 
install those on a shared computer.

Thanks anyhow guys.



________________________________
 From: Mark Hammond <skippy.hamm...@gmail.com>
To: Hans Rakotomanga <blucoun...@yahoo.com>; "python-win32@python.org" 
<python-win32@python.org> 
Sent: Wednesday, July 24, 2013 5:57 AM
Subject: Re: [python-win32] Question: Who killed a windows service
 

The Windows "system" event log should have this information.

Mark

On 23/07/2013 8:21 PM, Hans Rakotomanga wrote:
> Hi,
>
> I have a pywin32 service running on a shared computer. Now and then it
> gets killed by another user, for good reason mostly, but I would like to
> ask the person who does this why he/she/it did it.
> Soooo, is there a way to extract this information and have the service
> write it in its logs ? :)
>
> I was hoping the stop event would have it.
>
> -- Thanks for your help
>
>
>
> _______________________________________________
> python-win32 mailing list
> python-win32@python.org
> http://mail.python.org/mailman/listinfo/python-win32
>
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to