Ripopgodazippa 0 Posted July 15, 2001 Do you know of a 'stock' win2k command that can be issued in a command line shell to restart the computer? Share this post Link to post
Sweevo 0 Posted July 16, 2001 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
test_client 0 Posted July 21, 2001 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
test_client 0 Posted July 23, 2001 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