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 » General XP issues or comments
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

I want to reboot the computer automatically.



 
 
Thread Tools Display Modes
  #1  
Old December 13th 08, 12:44 AM posted to microsoft.public.windowsxp.general
Frank Martin
external usenet poster
 
Posts: 300
Default I want to reboot the computer automatically.

I have WindowsXP pro.

My computer is always on, recording movies and downloading
from the internet.

Sometimes the computer needs a cold boot, and I want this to
happen at about 6.00am.

How can I do this automatically. Is there a XP setting for
this?

My computer takes a long time to shut down while it "saves
my settings", and then takes a long time to start up again,
with all the virus checkers etc that occur on startup.

Failing a cold boot, a warm one might suffice, if this is
easier.

Please help, Frank


Ads
  #2  
Old December 13th 08, 12:53 AM posted to microsoft.public.windowsxp.general
ShadowTek[_4_]
external usenet poster
 
Posts: 16
Default I want to reboot the computer automatically.

"Frank Martin" wrote in news:evyMovLXJHA.4852
@TK2MSFTNGP04.phx.gbl:

I have WindowsXP pro.

My computer is always on, recording movies and downloading
from the internet.

Sometimes the computer needs a cold boot, and I want this to
happen at about 6.00am.

How can I do this automatically. Is there a XP setting for
this?

My computer takes a long time to shut down while it "saves
my settings", and then takes a long time to start up again,
with all the virus checkers etc that occur on startup.

Failing a cold boot, a warm one might suffice, if this is
easier.

Please help, Frank


You can use the shutdown command to set a reboot for a certain delay.

At the command prompt, type "shutdown" to see the argument list.
  #3  
Old December 13th 08, 01:41 AM posted to microsoft.public.windowsxp.general
Randem
external usenet poster
 
Posts: 884
Default I want to reboot the computer automatically.

Set up a task in the "Scheduled Task" section to run the shutdown command at
6:00am.

--
Randem Systems
Your Installation Specialist
The Top Inno Setup Script Generator
http://www.randem.com/innoscript.html
http://www.rndem.com/installerproblems.html
http://www.randem.com/vistainstalls.html
http://www.financialtrainingservices.org


"Frank Martin" wrote in message
...
I have WindowsXP pro.

My computer is always on, recording movies and downloading from the
internet.

Sometimes the computer needs a cold boot, and I want this to happen at
about 6.00am.

How can I do this automatically. Is there a XP setting for this?

My computer takes a long time to shut down while it "saves my settings",
and then takes a long time to start up again, with all the virus checkers
etc that occur on startup.

Failing a cold boot, a warm one might suffice, if this is easier.

Please help, Frank



  #4  
Old December 13th 08, 01:58 AM posted to microsoft.public.windowsxp.general
Big_Al
external usenet poster
 
Posts: 1,430
Default I want to reboot the computer automatically.

Randem wrote:
Set up a task in the "Scheduled Task" section to run the shutdown command at
6:00am.


Restart with: %windir%\System32\shutdown.exe -r -t 0

-r (restart) -t (time) 0 seconds.

I have a shortcut on my desktop doing this.
  #5  
Old December 13th 08, 02:28 AM posted to microsoft.public.windowsxp.general
Frank Martin
external usenet poster
 
Posts: 300
Default I want to reboot the computer automatically.

Thanks. How do I do this? There is a "shutdown" program
in the WINDOWS\System32 folder that will not shut the system
down.


"Randem" wrote in message
...
Set up a task in the "Scheduled Task" section to run the
shutdown command at 6:00am.

--
Randem Systems
Your Installation Specialist
The Top Inno Setup Script Generator
http://www.randem.com/innoscript.html
http://www.rndem.com/installerproblems.html
http://www.randem.com/vistainstalls.html
http://www.financialtrainingservices.org


"Frank Martin" wrote in message
...
I have WindowsXP pro.

My computer is always on, recording movies and
downloading from the internet.

Sometimes the computer needs a cold boot, and I want this
to happen at about 6.00am.

How can I do this automatically. Is there a XP setting
for this?

My computer takes a long time to shut down while it
"saves my settings", and then takes a long time to start
up again, with all the virus checkers etc that occur on
startup.

Failing a cold boot, a warm one might suffice, if this is
easier.

Please help, Frank





  #6  
Old December 13th 08, 02:41 AM posted to microsoft.public.windowsxp.general
Thip
external usenet poster
 
Posts: 294
Default I want to reboot the computer automatically.


"Frank Martin" wrote in message
...
Thanks. How do I do this? There is a "shutdown" program in the
WINDOWS\System32 folder that will not shut the system down.



On the Desktop, right click NewShortcut. For shutdown, in "location"
type in (remove the quotes)

"%windir%\system32\shutdown.exe -s -t 00"

Or, for reboot, type in

"%windir%\system32\shutdown.exe -r -t 00"

I have both in my Quicklaunch.


  #7  
Old December 13th 08, 02:59 AM posted to microsoft.public.windowsxp.general
JS
external usenet poster
 
Posts: 6,475
Default I want to reboot the computer automatically.

I would suggest you also turn off Windows Automatic Updates
as you do not want to be in the middle of an update when
the shutdown command is issued.

JS
http://www.pagestart.com


"Frank Martin" wrote in message
...
I have WindowsXP pro.

My computer is always on, recording movies and downloading from the
internet.

Sometimes the computer needs a cold boot, and I want this to happen at
about 6.00am.

How can I do this automatically. Is there a XP setting for this?

My computer takes a long time to shut down while it "saves my settings",
and then takes a long time to start up again, with all the virus checkers
etc that occur on startup.

Failing a cold boot, a warm one might suffice, if this is easier.

Please help, Frank



  #8  
Old December 13th 08, 03:28 AM posted to microsoft.public.windowsxp.general
Frank Martin
external usenet poster
 
Posts: 300
Default I want to reboot the computer automatically.


"Thip" wrote in message
...

"Frank Martin" wrote in message
...
Thanks. How do I do this? There is a "shutdown"
program in the WINDOWS\System32 folder that will not shut
the system down.



On the Desktop, right click NewShortcut. For
shutdown, in "location" type in (remove the quotes)

"%windir%\system32\shutdown.exe -s -t 00"

Or, for reboot, type in

"%windir%\system32\shutdown.exe -r -t 00"

I have both in my Quicklaunch.


Thanks, I tried the "%windir%\system32\shutdown.exe -r -t
00" and sure enough it shutdown and restarted the computer
straight away.

Normally I leave work at 7pm and arrive back at about
7.30am, so that if I set the argument for 10hours (36000
seconds) I can activate the shortcut to have the computer
fresh & rebooted before I get to work next day.

Overnight I often have the computer recording TV, and
downloading from the internet or wiping free space or
defragging etc. Presumably I can alter the reboot time as
needed.





  #9  
Old December 13th 08, 03:32 AM posted to microsoft.public.windowsxp.general
Frank Martin
external usenet poster
 
Posts: 300
Default I want to reboot the computer automatically.

I have the Windows updates set for download at 3.00am every
day, so this should be OK. I'll keep a watch on it though.


"JS" @ wrote in message
...
I would suggest you also turn off Windows Automatic Updates
as you do not want to be in the middle of an update when
the shutdown command is issued.

JS
http://www.pagestart.com


"Frank Martin" wrote in message
...
I have WindowsXP pro.

My computer is always on, recording movies and
downloading from the internet.

Sometimes the computer needs a cold boot, and I want this
to happen at about 6.00am.

How can I do this automatically. Is there a XP setting
for this?

My computer takes a long time to shut down while it
"saves my settings", and then takes a long time to start
up again, with all the virus checkers etc that occur on
startup.

Failing a cold boot, a warm one might suffice, if this is
easier.

Please help, Frank





  #10  
Old December 13th 08, 03:33 AM posted to microsoft.public.windowsxp.general
HeyBub
external usenet poster
 
Posts: 2,258
Default I want to reboot the computer automatically.

Frank Martin wrote:
I have WindowsXP pro.

My computer is always on, recording movies and downloading
from the internet.

Sometimes the computer needs a cold boot, and I want this to
happen at about 6.00am.

How can I do this automatically. Is there a XP setting for
this?

My computer takes a long time to shut down while it "saves
my settings", and then takes a long time to start up again,
with all the virus checkers etc that occur on startup.

Failing a cold boot, a warm one might suffice, if this is
easier.

Please help, Frank


In addition to the shutdown commands others have listed, you can
alternatively use hibernate:

%windir%\system32\rundll32.exe powrprof.dll SetSuspendState S4

This is not a shutdown, although it does power off the computer. When you
tap the power on button in the morning, the computer is instantly restored
to its state when the above command was issued. This might be useful if the
project on which you were working left an important message on the screen.


  #11  
Old December 13th 08, 05:15 AM posted to microsoft.public.windowsxp.general
Frank Martin
external usenet poster
 
Posts: 300
Default I want to reboot the computer automatically.


"HeyBub" wrote in message
...
Frank Martin wrote:
I have WindowsXP pro.

My computer is always on, recording movies and
downloading
from the internet.

Sometimes the computer needs a cold boot, and I want this
to
happen at about 6.00am.

How can I do this automatically. Is there a XP setting
for
this?

My computer takes a long time to shut down while it
"saves
my settings", and then takes a long time to start up
again,
with all the virus checkers etc that occur on startup.

Failing a cold boot, a warm one might suffice, if this is
easier.

Please help, Frank


In addition to the shutdown commands others have listed,
you can alternatively use hibernate:

%windir%\system32\rundll32.exe powrprof.dll
SetSuspendState S4

This is not a shutdown, although it does power off the
computer. When you tap the power on button in the morning,
the computer is instantly restored to its state when the
above command was issued. This might be useful if the
project on which you were working left an important
message on the screen.


Thanks, 6 hours seems to be the max I can plan hibernation.
Is there any way to extend this?


  #12  
Old December 14th 08, 12:21 AM posted to microsoft.public.windowsxp.general
Frank Martin
external usenet poster
 
Posts: 300
Default I want to reboot the computer automatically.

It works OK. I put 36000 sec as an argument into the
expression, and now the computer is ready to go 1st thing in
the morning.
Thanks


"Frank Martin" wrote in message
...

"Thip" wrote in message
...

"Frank Martin" wrote in message
...
Thanks. How do I do this? There is a "shutdown"
program in the WINDOWS\System32 folder that will not
shut the system down.



On the Desktop, right click NewShortcut. For
shutdown, in "location" type in (remove the quotes)

"%windir%\system32\shutdown.exe -s -t 00"

Or, for reboot, type in

"%windir%\system32\shutdown.exe -r -t 00"

I have both in my Quicklaunch.


Thanks, I tried the "%windir%\system32\shutdown.exe -r -t
00" and sure enough it shutdown and restarted the computer
straight away.

Normally I leave work at 7pm and arrive back at about
7.30am, so that if I set the argument for 10hours (36000
seconds) I can activate the shortcut to have the computer
fresh & rebooted before I get to work next day.

Overnight I often have the computer recording TV, and
downloading from the internet or wiping free space or
defragging etc. Presumably I can alter the reboot time as
needed.







  #13  
Old December 14th 08, 01:03 AM posted to microsoft.public.windowsxp.general
Thip
external usenet poster
 
Posts: 294
Default I want to reboot the computer automatically.


"Frank Martin" wrote in message
.. .
It works OK. I put 36000 sec as an argument into the expression, and now
the computer is ready to go 1st thing in the morning.
Thanks


Glad it worked.


  #14  
Old December 14th 08, 04:20 AM posted to microsoft.public.windowsxp.general
HeyBub
external usenet poster
 
Posts: 2,258
Default I want to reboot the computer automatically.

Frank Martin wrote:
"HeyBub" wrote in message
...
Frank Martin wrote:
I have WindowsXP pro.

My computer is always on, recording movies and
downloading
from the internet.

Sometimes the computer needs a cold boot, and I want this
to
happen at about 6.00am.

How can I do this automatically. Is there a XP setting
for
this?

My computer takes a long time to shut down while it
"saves
my settings", and then takes a long time to start up
again,
with all the virus checkers etc that occur on startup.

Failing a cold boot, a warm one might suffice, if this is
easier.

Please help, Frank


In addition to the shutdown commands others have listed,
you can alternatively use hibernate:

%windir%\system32\rundll32.exe powrprof.dll
SetSuspendState S4

This is not a shutdown, although it does power off the
computer. When you tap the power on button in the morning,
the computer is instantly restored to its state when the
above command was issued. This might be useful if the
project on which you were working left an important
message on the screen.


Thanks, 6 hours seems to be the max I can plan hibernation.
Is there any way to extend this?


So far as I know, you can't schedule the machine to come OUT of
hibernation - the power is OFF.

However you CAN sit at a hibernated computer with your coffee, punch the
power button, and, before you finish your first sip, the machine is ready to
go. I'm serious - less than ten seconds from power on to ready for action.


  #15  
Old December 14th 08, 04:20 AM posted to microsoft.public.windowsxp.general
HeyBub
external usenet poster
 
Posts: 2,258
Default I want to reboot the computer automatically.

Frank Martin wrote:
"HeyBub" wrote in message
...
Frank Martin wrote:
I have WindowsXP pro.

My computer is always on, recording movies and
downloading
from the internet.

Sometimes the computer needs a cold boot, and I want this
to
happen at about 6.00am.

How can I do this automatically. Is there a XP setting
for
this?

My computer takes a long time to shut down while it
"saves
my settings", and then takes a long time to start up
again,
with all the virus checkers etc that occur on startup.

Failing a cold boot, a warm one might suffice, if this is
easier.

Please help, Frank


In addition to the shutdown commands others have listed,
you can alternatively use hibernate:

%windir%\system32\rundll32.exe powrprof.dll
SetSuspendState S4

This is not a shutdown, although it does power off the
computer. When you tap the power on button in the morning,
the computer is instantly restored to its state when the
above command was issued. This might be useful if the
project on which you were working left an important
message on the screen.


Thanks, 6 hours seems to be the max I can plan hibernation.
Is there any way to extend this?


So far as I know, you can't schedule the machine to come OUT of
hibernation - the power is OFF.

However you CAN sit at a hibernated computer with your coffee, punch the
power button, and, before you finish your first sip, the machine is ready to
go. I'm serious - less than ten seconds from power on to ready for action.


 




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 04:27 PM.


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