To try and save energy I am trying to set up a scheduled task to automatically initiate a shutdown of all of our PCs at 1900 every night. The shutdown will have a 10 minute delay with the ability for the end user to cancel the shutdown if they are still working.
I've copied a batch file that we had for a server shutdown which works but doesn't have the ability for the user to cancel. It looks like this:
shutdown /S /f /t 120 /d p:1:1 /c "PC Shutting down in 2 mins"
What do I need to do to it to allow the user to cancel the shutdown?
Thanks in advance.