Automatically Shutdown XP???

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a way to have XP shut down automatically using Scheduled Task for
instance? I read an earlier posting that showed how you could create an icon
and use the command line C:\windows\system32\shutdown.exe -s -t 0

Would this work as a scheduled task?
 
try this free small program
http://www.redbrick.dcu.ie/~den4b/


Shutter
Shutter is a multifunctional shutdown utility, which has a user friendly and
easy-to-use interface and supports many different Events and Actions.
Shutdown Events: Countdown, On Time, Winamp Stops, Low CPU Usage, User
Inactive, Battery Low, Window Closes, Process Stops, Ping Stops; Shutdown
Actions: Shutdown, Reboot, LogOff, Lock Workstation, Sleep, Hibernate,
Monitor Turn Off, Mute Master Volume, Alarm, No Action; Also, it is able to
play a custom sound and/or run a program of your choice, in addition to the
simple shutdown message. Optionally, Shell Links can be created to
immediately execute any of the supported actions from the desktop. Web
Interface - allows Remote Execution of any Action, it also displays some
run-time information about the computer: Logged In User, Up Time, List of
Processes, Screenshot of a Desktop.


screenshots
http://www.redbrick.dcu.ie/~den4b/projects-screenshots.php?project=Shutter


kenny www.computerboom.com
 
Clay said:
Is there a way to have XP shut down automatically using Scheduled Task for
instance? I read an earlier posting that showed how you could create an
icon
and use the command line C:\windows\system32\shutdown.exe -s -t 0

Would this work as a scheduled task?

Why don't you just try it?. I found I had to use the -f switch to get it to
work i.e.
C:\windows\system32\shutdown.exe -f -s -t 0
 
I actually gave it a try after posting my initial message, created a Task and
typed

C:\WINDOWS\system32\shutdown.exe -s -t 5

in the RUN field. I set it to run at a specified time and the system shut
down without any problems.
 
Is it possible to check for programs that are still running, save open
documents, etc., before shutting down?
 
No, I do not think so. You can force running applications to close without
warning or set the time long enough to allow for that.

Type: shutdown /? in a command prompt and hit Enter.

Also paste the following line into the Start | Run box and click OK...

hh ntcmds.chm::/shutdown.htm

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
Separate but related...do you know of a script that could be run during
a voluntary logoff that would check apps and save open documents?

Bill
 
You're welcome, Bill.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
Hey Wes.....okay, I set up the scheduled task on the home computer after
testing the script through a shortcut. The shortcut worked fine, however,
the scheduled task did not run. It says it did not run because I did not
supply a password. My confusion is that I do not have a password on the only
user account that I'm running. BTW--I am running XP Home.

Do I need to set a password for the task or what am I doing wrong?

Clay
 
Clay,

You can use this tweak to run Scheduled Tasks without a password.

67. Run Scheduled Tasks w/o PW Home
http://www.kellys-korner-xp.com/xp_tweaks.htm

Warning!
A word or two about...
Accounts: Limit local account use of blank passwords to console logon only

From David Candy...
<snip>
It does far more than just allow tasks to run without a password.

It should not be used.
<snip>
http://groups.google.co.in/groups?hl=en&lr=&[email protected]

---

More info...

[[It is possible for applications that use remote interactive logons to
bypass this setting.]]

Accounts: Limit local account use of blank passwords to console logon only
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/636.mspx

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
Back
Top