From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <1996q2-0239.alphant@archive.invalid> X-Archive-Original-Message-ID: <01I4RSCFDRME8Y5F04@BISDnet.jhuapl.edu> Date: Thu, 16 May 1996 09:54:27 -0700 From: John Vert 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 >