Trevor said:
Yes I'm looking for a Utility that will switch off the PC after a period of
inactivity - say half an hour - a timer would achieve the desired effect.
We've come a long way! This thread started off with the
question "Is there any utility that will switch off my son's
PC after half an hour? ", followed by "half an hour after
he's cleared off", followed by "half an hour of inactivity".
The question is now sufficiently clear. If you search the
Internetnet for things like "screen saver" "turn off computer"
then you will probably find one that will do exactly what
you want. As an alternative you can do a registry hack like
so:
1. Log on under your son's account.
2. Click Start / Run
3. Type notead c:\Windows\MyShutdown.bat{OK}
4. Put these lines into the file:
@echo off
c:\windows\system32\shutdown.exe -s -f -t 180
5. Save & close.
6. Click Start / Run / c:\Windows\MyShutdown.bat {OK}
Did the PC shut down after 3 minutes?
7. Activate the Bezier screen saver. Set its time-out to 30 minutes.
8. Click Start / Run / regedit {OK}
9. Navigate here: HKEY_CURRENT_USER\Control Panel\Desktop
10. Locate "screensave.exe" on the right. Its data is "ssbezier.scr".
11. Replace the data with "c:\windows\MyShutdown.bat".
That's it! Note that you must repeat Steps 8 to 11 if you ever modify
your screen saver properties.
I have tested this method under Win2000 and I expect it work under
WinXP too.