A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » New Users to Windows XP
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

automatically shut down computer two hours after it's turned on



 
 
Thread Tools Display Modes
  #1  
Old December 31st 07, 04:14 AM posted to microsoft.public.windowsxp.help_and_support,microsoft.public.windowsxp.newusers,microsoft.public.windowsxp.general
John Smith
external usenet poster
 
Posts: 65
Default automatically shut down computer two hours after it's turned on

Possible to configure an XP Pro computer so it'd shut down two
hours after it's turned on?
Ads
  #2  
Old December 31st 07, 04:20 AM posted to microsoft.public.windowsxp.help_and_support,microsoft.public.windowsxp.newusers,microsoft.public.windowsxp.general
Shenan Stanley
external usenet poster
 
Posts: 10,523
Default automatically shut down computer two hours after it's turned on

John Smith wrote:
Possible to configure an XP Pro computer so it'd shut down two
hours after it's turned on?


Set a scheduled task...

You could run a scheduled task at startup to create a second scheduled task
that would utilize the built-in shutdown command in 120 minutes from the
creation of the task...

I am sure there are more elegant ways.

--
Shenan Stanley
MS-MVP
--
How To Ask Questions The Smart Way
http://www.catb.org/~esr/faqs/smart-questions.html


  #3  
Old December 31st 07, 11:26 AM posted to microsoft.public.windowsxp.help_and_support,microsoft.public.windowsxp.newusers,microsoft.public.windowsxp.general
Pegasus \(MVP\)[_85_]
external usenet poster
 
Posts: 1
Default automatically shut down computer two hours after it's turned on


"John Smith" wrote in message
...
Possible to configure an XP Pro computer so it'd shut down two
hours after it's turned on?


Create a scheduled task that gets invoked at boot time.
It should run this batch file:

@echo off
ping localhost -n 7200 nul
shutdown -s -f


  #4  
Old December 31st 07, 11:27 AM posted to microsoft.public.windowsxp.help_and_support,microsoft.public.windowsxp.newusers,microsoft.public.windowsxp.general
Pegasus \(MVP\)[_86_]
external usenet poster
 
Posts: 1
Default automatically shut down computer two hours after it's turned on


"John Smith" wrote in message
...
Possible to configure an XP Pro computer so it'd shut down two
hours after it's turned on?


At second thoughts - here is a simpler batch file:

@echo off
shutdown -s -t 7200


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 07:47 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.