From: prewett AT pacific DOT mps DOT ohio-state DOT edu (Geoffrey Prewett) Subject: Re: reboot, anyone? 18 Apr 1998 05:40:51 -0700 Message-ID: <199804172003.QAA11165.cygnus.gnu-win32@campbell.mps.ohio-state.edu> References: <199804161614 DOT MAA00995 AT woodmore DOT gsfc DOT nasa DOT gov> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit To: arlindo AT niteroi DOT gsfc DOT nasa DOT gov (Arlindo da Silva) Cc: gnu-win32 AT cygnus DOT com > I'm looking for a command line, no questions asked, "reboot" utility for > NT. I'd like to be able to reboot my NT box remotely from a telnet shell. Try downloading the WinNT 3.51 Resource Kit from Microsoft. It has shutdown.exe which will do what you want. I should note, though, that I have had problems where it doesn't actually reboot when the time runs out. I think that if a user is logged in when the program runs, and logs out before the reboot occurs, it doesn't reboot. This manifests itself in shares not connecting (giving "Name not found"-type errors, MS's ftp server refuses connections, etc., since apparently the system still thinks that it is shutting down. > It is important that it skips the dialog box as I won't be there to click > the "OK" button. Can this be done? shutdown.exe /y You might also try compiling a quick C program to do it with the API. I think the command is ExitWindows or something similar. Geoff Prewett prewett AT pacific DOT mps DOT ohio-state DOT edu - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".