le dahut wrote:
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@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
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32