win32api.InitiateSystemShutdown and 'Access is denied'
Uwe Becher
uwe_becher at gmx.de
Thu Aug 29 13:51:35 EDT 2002
Hi,
I'm trying to shutdown my local W2K machine using
win32api.InitiateSystemShutdown(computer, "Rebooting!", 0, 1, 1)
an receive
pywintypes.api_error: (5, 'InitiateSystemShutdown', 'Access is denied.')
while shutting down any remote machine works fine. The error happens on
a Python 2.1.1 as well as on Python 2.2.1.
Does someone have an idea?
Thanks.
Uwe
More information about the Python-list
mailing list