Jump to content
Compatible Support Forums
Sign in to follow this  
Ripopgodazippa

Command line restart?

Recommended Posts

There isn't a native command (that I know of!) but the Windows 2000 Resource Kit comes with a shutdown.exe utility to do this. but try http://crv.mp3car.com/shutdown.html which has the same sort of utility for free, but I haven't had chance to test it to see if it's Win2k compatible.

Share this post


Link to post

This batch file is supposed to reboot Windows NT 4. It may work on Windows 2000, give it a try:

 

@ECHO OFF

PUSHD %temp%

ECHO [Version] > {out}.inf

ECHO signature=$chicago$ >> {out}.inf

ECHO [defaultinstall] >> {out}.inf

RUNDLL32 SETUPAPI,InstallHinfSection DefaultInstall 1 {out}.inf

DEL {out}.inf

POPD

Share this post


Link to post

Well, I tried this batch file under Windows 2000 and it did not work. However, my guess is that the problem arises because of the bad "inf" file which gets created. Here is the page which talks about rebooting different versions of Windows using RUNDLL which may be helpful:

 

http://www.robvanderwoude.com/shutdown.html

Share this post


Link to post

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×