title: Restarting PC with Yes/No option
body: <p>I am trying to create a script to do the following however my coding skills are still not very good.</p>
  
  <p>I want to restart a PC which is idle, however I want to have a popup appear with the Yes or No command to proceed or cancel the restart command. </p>
  
  <p>I was going to do a task schedule to run the idle part and then run a batch file to pop up the yes/no option. </p>
  
  <h2>Update</h2>
  
  <p>@boxdog - PC does not lock.</p>
  
  <p>I managed to create a script as per below. </p>
  
  <pre><code>@ECHO OFF
  SHUTDOWN /S /F /T 60
  SET /P continue="You have been idle for more than 10 minutes.                                                                            Your computer is about to shutdown in 60 seconds do you want to abort (y/n): "
  IF %continue% EQU y (
  SHUTDOWN /A
  )
  </code></pre>
  
  <p>Not sure if its possible to change the default blue windows text with the count down? Or maybe someone can tweak my script to work better?</p>