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

  1. Checked "Run whether user logged in or not"
  2. Unchecked "Start the task only if the computer is on AC power"

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

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

  • How exactly are you using GP to distribute this task? GPP? Computer-level or user-level? How exactly are you utilizing your "actual command"? I ask because that's a command to create a task, which you wouldn't use AS a task, nor would you use it like that in conjunction with GPP to configure a task. – Ƭᴇcʜιᴇ007 Jan 10 '17 at 17:34
  • Computer Configuration. In the run field, schtasks.exe and in the argument field, everything from /Create .... then start in is "C:\Windows\system32" – software is fun Jan 10 '17 at 18:08
  • Ok assuming you're using GPP (Group Policy Preferences) to create the scheduled task (as you haven't clarified that yet), why are you telling it to create a task that runs Schtasks to create a task? – Ƭᴇcʜιᴇ007 Jan 10 '17 at 18:10
  • to be honest, it was in my documentation from my predecessor. Not sure why it was done this way. – software is fun Jan 10 '17 at 18:37
  • we are create a task that runs as "SYSTEM" instead of a Domain account. – software is fun Jan 10 '17 at 18:57

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:

  • Set "Run" to shutdown.exe
  • Set "Arguments" to /s /t 0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.