|
Answer» I have set up an "at" commands that SHUTS my SONS pc down at a 11pm, I now need to stop him from altering the time.He has admin privelige otherwise I would have to spend my life installing games for him.
Is it possible to create an "at" command to resync time in xp with one command, using the next function or is the next function only for dates I have created a command that works for a specific time ie at \\%username 00:01 /every:M,T,W,Th,F,S,Su w32tm /resync Which resyncs the time at 1 minute PAST midnight. I want to keep resyncing the time at ten minute intervals.Do I have to create a task for every ten minutes or can it be done with one command.This really needs a scheduled script where you can loop a ten minute sleep and resync or utilize the setinterval method and run a resync every ten minutes.
Earlier versions of Windows had a CHOICE command that used a timer (only good for up to 99 seconds).
If you have a router you can set up an IP client filter to restrict internet access during certain hours.
There are COMMERCIAL programs available. (use Google for them)
Just a thought, if your son is clever enough to reset the system clock, he may be smart enough to abort a shutdown.
Good luck. I have just found out about schtasks which apparently replaces the AT command http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/schtasks.mspx
|