Windows 10 GPO auto shutdown when idle on login screen
<p>Is it possible to make computers shutdown (with task scheduler or a script) via GPO when there are no users logged in?.</p>

<p>What i have now is that users are being logged off automatically, when they are inactive for 1 hour after 18:00 after that i want the computer to shutdown automatically for the night.</p>

<p>Is this possible even when there are no users logged in?</p>