[python-win32] NT service

walou c.walou at laposte.net
Wed Nov 10 15:08:53 CET 2004


Thanks,
it's the vocabulary that misses to me. I've walking through the article
and came to the conclusion that I better have to use dll interaction
with winlogon.exe and to send a signal to the NT service.
I'm now looking for a way to write such a dll in python so if someone
has any idea ... even just tell me if it's possible ...

Klaas

Le mer 10/11/2004 à 12:26, Tim Golden a écrit :
> [walou]
> | how can I get the event "user XXX is opening a session" or/and the
> | event "user XXX's registry hive is ready to be modified" ?
> 
> Quick answer. I googled for "enumerating logon sessions" and
> came across a useful-looking Code Project article by Stefan
> Kuhr which suggests -- among other interesting ideas -- using
> WMI. Have a look at his article, but basically since you're on XP, 
> you can use the Win32_Session class and you can use WMI event
> querying to detect when a session has been created (or, presumably
> destroyed).
> 
> Haven't tried it, I'm afraid, beyond checking that you can get
> the Win32_Session object on XP, but it has potential.
> 
> TJG




More information about the Python-win32 mailing list