I want to force a Windows7 Professional home pc, single administrator account, to shut down every day at a predefined time (e.g., 10pm). I want to make it cumbersome for the user to interfere with the shutdown.
My first ideas was running
shutdown.exe /s /t xwhen the computer starts, wherexis the difference between the system time and 10pm in seconds. Unfortunately,shutdown.exe /scan be easily canceled by callingshutdown.exe /a.My second idea was using Windows' task scheduler to schedule
shutdown.exe /s /t 0at 10 pm. This can easily be circumvented by fiddling with the system time.A VBScript that
Sleeps until 10pm and then shuts down can be stopped from the task manager.
Please assume the user is aware of the method I install to force the shutdown. (E.g., renaming shutdown.exe to an unknown name is not an good solution, because the user will discover the unknown name). Internet access is available, but I would like to avoid much more additional traffic/connections because of this.
The user is not generally malicious and will not take action at 4pm to cancel a shutdown. At 9.50pm, on the other hand, he might be tempted to cancel the next shutdown. The user will not remove programs from the startup folder.