[python-win32] NT lockouts when spawning psexec from a multit hreaded program?

Tim Golden tim.golden at viacom-outdoor.co.uk
Fri Mar 26 09:04:32 EST 2004


>Does anyone have any clue why my accounts get intermittently locked
>out when spawning psexec from a multithreaded Python program?

[... snip details of spawning threads to run psexec ...]

I suspect no-one's answered this one yet (unless they've got back
to you directly) because it's a very difficult question to diagnose
at a distance, and doesn't seem likely to be tied to Python, threaded
or not.

Without wishing to insult your intelligence, have you tried running
the parallel psexec without using python, eg by launching a small
armada batch scripts or by using whatever other language is available
to you? Using Python to drive an external utility should give no more
nor fewer problems than using any other tool to drive the same utility.

If the symptoms only occur within Python, could you post some code
so we can see what's going on? Maybe something will show up.

TJG

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________



More information about the Python-win32 mailing list