title: Batch job user wakes Windows from Sleep and Hibernate unintentionally
body: <p>I've 1 Admin and 1 Local user on Windows 10 machine and Sleep and Hibernate behaved as expected: PC awoken from Sleep by key/mouse press and from Hibernate only on power button press.</p>
  <p>Yesterday I've added a new user to the PC with a &quot;Log on as a batch job&quot; Local Security Policy and with a Task Scheduler task that runs an app as that user -- all exactly as described in this instruction: <a href="https://www.mysysadmintips.com/windows/home-and-media/555-setup-minecraft-server-to-start-automatically" rel="nofollow noreferrer">https://www.mysysadmintips.com/windows/home-and-media/555-setup-minecraft-server-to-start-automatically</a>
  or as screen-captured here (for those with false-positive malware warnings):
  <a href="https://i.stack.imgur.com/gBHie.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gBHie.png" alt="enter image description here" /></a></p>
  <hr />
  <p>My problem is that the Sleep and Hibernate don't function anymore as expected -- the change (it seems) makes them automatically interrupted and PC awakens immediately.</p>
  <p>My first guess was that the Task had some Power options wrong, but this (to me) looks OK:
  <a href="https://i.stack.imgur.com/n6JoM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/n6JoM.png" alt="enter image description here" /></a></p>
  <p>What can I change (apart from removing the task/new user) to have Sleep and Hibernate function as before?</p>