I have scheduled a Task Scheduler using GPO (Windows 2012 R2). it failed when triggered by Task Scheduler with below error.
The operator or administrator has refused the request(0x800710E0)
I have followed below steps also after Google search
the actual command is
Schtasks.exe /Create /SC DAILY /TN Shutdown /TR "C:\Windows\System32\shutdown.exe /s /t 0" /ST 21:00:00 /SD 01/01/2015 /RU SYSTEM /RL HIGHEST
There's no reason (at least not one that you've explained) to make a task (via GPP) that creates a task (via SchTasks).
So just define the Shutdown task directly in GPP. To do this, in the GPP policy:
shutdown.exe
/s /t 0
User contributions licensed under CC BY-SA 3.0