[python-win32] NT service and login prompt

Tim Golden mail at timgolden.me.uk
Wed Oct 1 10:57:42 CEST 2008


le dahut wrote:
> Yes, I was trying to intercept user's logon. I've done it using userinit 
> registry key, a python NT service and a python service running on the PDC.
> 
> My problem is also that the service has to be available at logon time to 
> do some administrative stuff.
> 
> It seems that the policy "gpedit" > Computer 
> Configuration\Administrative Templates\System\Logon\ "Always wait for 
> the network at computer startup and logon" (registry key
> HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows 
> NT\CurrentVersion\Winlogon : SyncForegroundPolicy=1) can help me.
> 
> Putting a loop to wait the service is up can also be a good idea.


I'd be very interested (on behalf of anyone else who might
also be!) to see how this one resolves itself...

Thanks

TJG


More information about the python-win32 mailing list