View Full Version : auto shutdown in windows XP
hlminpdca
11-14-01, 04:06 AM
I've seen plenty of posts about how to do this in other OSes, and I've done it myslef as well. But SHDN will not work in XP, and I cannot get any other command line option to work either.
If anyone could help, I would appreciate it. I don't think the "BIOS shutdown at temp" works on my mobo when I have ACPI disabled. And I would much rather use something to interface with MBM, as well as being able to have a lower alarm than 60C.
hlminpdca
11-16-01, 07:24 AM
windows xp has shutdown.exe. I suppose that is why rundll32.exe...blah..blah doesn't work.
to see the necessary switches run shutdown under a DOS prompt, not the run box (flashes by).
Burning Phoenix
11-16-01, 07:36 AM
I copied this from a web site and haven't tried it. If it works post back and let me know for i like to leave my computer on 24/7 unless i'm changing drivers or hardware.
Windows XP has an actual shutdown command which can be launched from a command prompt — and which, therefore, can also be launched from a shortcut. To see all available options for this command, click Start, click Run, and type:
SHUTDOWN /?
This command starts a 30-second countdown for a shutdown or restart, which permits you to abort it (with a shutdown -a command). It you want the command to execute, use the -t flag, which lets you set the time lapse in seconds. The examples below use a 1-second delay.
For a shortcut to RESTART Windows XP:
SHUTDOWN -r -t 01
For a shortcut to SHUT DOWN Windows XP:
SHUTDOWN -s -t 01
hlminpdca
11-16-01, 07:41 AM
thats exactly what I found. It works. Just be sure to resolve the issues you have with normal shutdown, before you rely on this. I was getting to the "You can now shutdown your computer" screen and had to enable APM in the power management control panel before it would actually shut off the computer.
other people can't even get that far. But if you look around you can find info on how to find out what the culprits are. and there is a switch that will "close all programs without warning".
I looked on microsoft kb articles. found my exact question for 98/me/2000 but never for xp. I guess they haven't thought to write it yet.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.