Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

Scheduling XP to shutdown


  • Please log in to reply

#1
vise

vise

    Member

  • Member
  • PipPip
  • 31 posts
Hey all,

I am interested in knowing if there is a way to schedule a shutdown of the computer. Not remotely
or anything though. I need to schedule my dad's and sister's computers to shut off at like 12am because
they leave them on all night and it uses up valuable electricity for other purposes, plus it's just a pain.

Thanks,


vise
  • 0

Advertisements


#2
Michael

Michael

    Retired Staff

  • Retired Staff
  • 1,869 posts
This should be quite easy. First you need to create a file that will shut the computer down. So open notepad and copy this in
%windir%\system32\shutdown.exe -s -t 00
save it as shutdown.bat

Now if you dubble click on that file your computer will shutdown. Now we need to set this to run at 12:00 so go

Start
then
Control Panel
then
Scheduled Tasks
then
Add Scheduled Task


In the wizard that comes up press Browse and find the file we just made. Then select to run it Daily. The press Next set the time, and press Next again enter the user name and password (this might be the tricky part). And then your done.

Edited by Michael, 26 December 2006 - 08:38 PM.

  • 0

#3
vise

vise

    Member

  • Topic Starter
  • Member
  • PipPip
  • 31 posts
Hmm, that just might work.. Let me try it out. Thanks for replying!

vise
  • 0

#4
ghetto_smurf

ghetto_smurf

    Member

  • Member
  • PipPip
  • 25 posts
That's interesting. It's a neat little trick that I could find a lot of use for but never actually thought about it too much. I'm just curious here, though. Couldn't you just schedule the original shutdown.exe file from your system32 directory?
  • 0

#5
vise

vise

    Member

  • Topic Starter
  • Member
  • PipPip
  • 31 posts
Well, it works! :whistling:
Excellent, thanks Michael

vise
  • 0

#6
Michael

Michael

    Retired Staff

  • Retired Staff
  • 1,869 posts
Provided you got pass the password bit, I would expect it to. Glad it did.

That's interesting. It's a neat little trick that I could find a lot of use for but never actually thought about it too much. I'm just curious here, though. Couldn't you just schedule the original shutdown.exe file from your system32 directory?


NO, I did not add that for the fun of it, you need the other bit as well. Try running shutdown.exe, nothing happens. You see you need the -s to make it shut down. And I add -t 00 to remove the delay. There are other options to like -r to restart -l to log off.

I use it in shortcuts on my desktop, you can read more about that in the Easy XP tweaks #12 http://www.geekstogo...s...st&p=370272

Edited by Michael, 26 December 2006 - 11:51 PM.

  • 0

#7
vise

vise

    Member

  • Topic Starter
  • Member
  • PipPip
  • 31 posts
:whistling: thanks again
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP