From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <1996q2-0242.alphant@archive.invalid> X-Archive-Original-Message-ID: Date: Thu, 16 May 1996 12:55:02 -0600 From: Mike Bethany Subject: RE: Remote Reboot. Excellent! I'm not a C programmer, but I have the reference material. It's an API call luckily! Thanx for the quick reply, no one here had any idea how to do it. Ok, what program do you want. I'll mail it out tomorrow. ---------- From: John Vert[SMTP:jvert@microsoft.com] Sent: Thursday, May 16, 1996 10:54 AM To: 'alphant@garply.com'; 'Mike Bethany' Subject: RE: Remote Reboot. The InitiateSystemShutdown function initiates a shutdown and optional restart of the specified computer. BOOL InitiateSystemShutdown( LPTSTR lpMachineName, // address of name of computer to shut down LPTSTR lpMessage, // address of message to display in dialog box DWORD dwTimeout, // time to display dialog box BOOL bForceAppsClosed, // force applications with unsaved changes flag BOOL bRebootAfterShutdown // reboot flag ); see your favorite Win32 documentation for the gory details. -John >---------- >From: Mike Bethany[SMTP:mikeb@microhouse.com] >Sent: Thursday, May 16, 1996 8:55 AM >To: alphant@garply.com >Subject: Remote Reboot. > >Does anyone have source code, or detailed information (that can be used >to write code) on how to remotely reboot an NT server? I have a >command line program that will do it from an Intel machine, but it >doesn't work on the Alpha. I must have code or detailed instructions >that can be used to write code, as I am writing my own monitoring >programs. > >I can give free software to the first person that gets this info for >me. > >You can have any of these products: >http://www.microhouse.com/products/products.htm >(Retail value up to $1000!) > >Thanx in advance, > >Mike Bethany >Sr. IS Engineer >Micro House International >800.926.8299x3015 >