[python-win32] NT service and login prompt
le dahut
le.dahut at laposte.net
Thu Oct 9 11:34:44 CEST 2008
I've put a loop that wait for the service to be up with
win32serviceutil.WaitForServiceStatus.
Tim Golden a écrit :
>
> 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
> _______________________________________________
> python-win32 mailing list
> python-win32 at python.org
> http://mail.python.org/mailman/listinfo/python-win32
>
>
More information about the python-win32
mailing list