Mega Code Archive

 
Categories / Delphi / Examples
 

Reboot

Subject: RE: Disconnecting users from a machine Paul, Have you tried ExitWindowsEx( EWX_REBOOT or EWX_FORCE ) ? Peter Szymiczek -----Original Message----- [..] As my reboot will usually occur when no one is around to press "Yes" I would like to kill any connections that exist, before I reboot.