Reboot Windows XP using Python's win32api

Peter Hansen peter at engcorp.com
Fri Feb 7 08:34:09 EST 2003


Lukas Kubin wrote:
> 
> Does anybody have an experience doing Windows XP reboot from within the
> Python's script using win32all modules? I'm trying to use the function
> initiateSystemShutdown() but am getting "Access denied" response. But I
> ame trying it being logged in as Administrator. Should I do something more
> with the privileges?

Google could help here:

http://groups.google.ca/groups?q=initiatesystemshutdown+access+denied+group:comp.lang.python

-Peter




More information about the Python-list mailing list