text_combined: le dahut pdpdwbmlapostenet initiatesystemshutdown get 21 device ready wtsshutdownsystem 1702 binding handle invalid even dont logon reboots approximately 15 loops 2 seconds reboot machine extremely slow strange behavior exitwindowsex job correctly excepted workstation extremly slow need manual reboot work fine klaas tim golden wrote le dahut wrote reboot computer ive tried different functions win32apiexitwindowsexewx_reboot ewx_force win32apiinitiatesystemshutdownnone 0 true 1 win32tswtsshutdownsystemwtswts_current_server_handle wtswts_wsd_reboot wawinexecshutdown r 0 f ive correctly setup seshutdownprivilege calling bforceappsclosed set true since noticed didnt reboot computer raised error ive put loop true try waexitwindowsex break except exception e loggingerrorse timesleep05 permits reboot workstation several minutes 3 9 minutes im sure personally offer much le dahut would help showed traceback getting surely theres clue might suggest youre prevented rebooting delay period tjg _______________________________________________ pythonwin32 mailing list kpitckaew45pythonorg httpmailpythonorgmailmanlistinfopythonwin32 _______________________________________________ pythonwin32 mailing list kpitckaew45pythonorg httpmailpythonorgmailmanlistinfopythonwin32 wed 06 aug 2008 192350 0100 pythonwin32 reboot apis dont work nt service