I have had my Windows XP Media Center running for months now without any kind of problems.
Normally Windows XP does a good job even when never/almost never restarted.
My developer machine can run for serval weeks, even so that I am programming resource hogs.
But when it comes to my Media Center running as a settop box, it somtimes just dies or do other kind of nasty stuff such as not being able to fetch the Electronic Program Guide (EPG) and its like.
This is very annoying as it misses TV recordings
I usually restart the Media Center PC once a day to solve this.
And because I am lazy I had been looking for a way to do this automatically.
The buildin windows commandline SHUTDOWN.EXE program isn’t just enough so I found :
NirCmd v1.85 - Freeware command-line tool
Copyright (c) 2003 - 2006 Nir Sofer
You can find it here: http://www.nirsoft.net/utils/nircmd.html
The program can do anything well almost anything, from a command line.
Including “standby”, which was what I was looking for.
So the only thing to automate the restart & standby process is to use:
SHUTDOWN.EXE -r
at 4:00 am and
NIRCMD.EXE standby
at 4:05 am.
I have added the two commands to the Windows XP scheduler found in the Control Panel.
The Media Center now behaves alot better, but unfortunately it is still far from perfect.
Benjamin Sølberg Microsoft