Command line restart?

This is a discussion about Command line restart? in the Customization Tweaking category; 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 in our website and join the conversation

You already have an account on our website? To log in, use the link provided below.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This subject has been archived. New comments and votes cannot be submitted.
Jul 15
Created
Jul 23
Last Response
0
Likes
1 minute
Read Time
User User User
Users

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