Command line restart?

Do you know of a 'stock' win2k command that can be issued in a command line shell to restart the computer?

Customization Tweaking 1789 This topic was started by ,


data/avatar/default/avatar19.webp

4 Posts
Location -
Joined 2001-07-15
Do you know of a 'stock' win2k command that can be issued in a command line shell to restart the computer?

Participate on our website and join the conversation

You have already an account on our website? Use the link below to login.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


data/avatar/default/avatar33.webp

30 Posts
Location -
Joined 2000-01-29
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.

data/avatar/default/avatar10.webp

17 Posts
Location -
Joined 2001-07-21
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

data/avatar/default/avatar10.webp

17 Posts
Location -
Joined 2001-07-21
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