Restarting a windows 2000 computer from the command line
I cant find any info for this withoud installing some app. I have a HUGE upgrade that I'm working on (50,000 PC's) and It would be really nice for some of the batch files to reboot the PC's automatically after they are done installing the components. Thanks.
jjorgensen626
Junior Poster in Training
69 posts since Oct 2003
Reputation Points: 41
Solved Threads: 2
I have a HUGE upgrade that I'm working on (50,000 PC's) and it would be really nice for some of the batch files to reboot the PC's automatically after they are done installing the components.
EDIT: Shutdown.exe is part of an upgrade pack for 2000 (not included), but included in XP and Server 2003.
TallCool1
Practically a Posting Shark
865 posts since May 2003
Reputation Points: 149
Solved Threads: 45
Put it into the startup folder ( C:\WINDOWS\Start Menu\Programs\StartUp\ ) and every time the owner turns on or reboots the computer, it'll crash, bringing up the blue screen of death. A reboot is almost always insured!
If you are insane enough, go to your start menu, click run. Type either: c:\con\con or c:\aux\aux And hit enter. Now enjoy as your computer crashes infront of your very eyes!! A SImple way : Go to Start Run Clear everythig thats already there type in: C:/CON/CON or C:/AUX/AUX and hit enter crashes instantly!! It also works when u type the command in the InterNet Explorers address bar.
Is that what your talking about!
LOL thats a good one for future reference Big B, but not quite what i need, I dont want to crash the clients PC's but want the last line in my batch files to reboot the PC's. The only other 0ption I thought of was to copy shutdown.exe from within the batch file to a local directory, run it and either leave it or remove it when the last batch file is run.
jjorgensen626
Junior Poster in Training
69 posts since Oct 2003
Reputation Points: 41
Solved Threads: 2
I have to compile a cd to update all PC's to W2K SP4, IE 6 SP1, MS03-040-045, Adobe 6.0, and some other industry specific app upgrades. I have written some batch files but 2 they all need restarts before the next one can run. The batch files are all basically automated save this one problem (reboot automatically). I dont think I want to change the autoexec.bat or config.sys files, if there is an easier way, but if not then I'll try this (post #5). Thanks.
jjorgensen626
Junior Poster in Training
69 posts since Oct 2003
Reputation Points: 41
Solved Threads: 2
jjorgensen626
Junior Poster in Training
69 posts since Oct 2003
Reputation Points: 41
Solved Threads: 2
thanks Big B:
I downloaded the shutdown.exe from this site:
www.budja.com/shutdown/
used the switch -r
and it worked.
thanks for the help
jjorgensen626
Junior Poster in Training
69 posts since Oct 2003
Reputation Points: 41
Solved Threads: 2