[python-win32] NT lockouts when spawning psexec from a multit
hreaded program?
R. Alan Monroe
amonroe at columbus.rr.com
Fri Mar 26 20:24:31 EST 2004
> 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.
Time didn't permit such a test until today. Since the first bunch of
accounts were always locking out, I had new accounts created,
dedicated solely to this project, and didn't have any lockout
problems. My suspicion is that while I was psexec'ing under the
original credentials from my domain workstation, a non-domain
standalone server was also using those same credentials simultaneously
for it's own (normal) purposes, and for some reason, the DC didn't
like that.
So I tried the multiple cmd windows first, which worked, then I fired
up the Python script with 20 threads and it appeared to work.
Alan
More information about the Python-win32
mailing list