Group Policy schedule task not appearing on Windows 8.1 machines - error code 0x80070057 "The parameter is incorrect"
Posted on 2014-10-06
I need to set up a GPO that wakes up our desktops from sleep for off-hours virus scans. I am using a scheduled task to run the virusscan with "wake up the computer to run the task" selected. This is currently being done with WOL but some combinations of NICs and Windows 8.1 don't respond. The new GPO works by installing a scheduled task on our Windows 7-64 boxes, but fails on Win 8.1. (I am just using ping for now for testing).
I enabled logging and see these errors:
2014-10-03 16:33:15.141 [pid=0x398,tid=0xac4] Properties handled. [ hr = 0x80070057 "The parameter is incorrect." ]
2014-10-03 16:33:15.141 [pid=0x398,tid=0xac4] Error suppressed. [ hr = 0x80070057 "The parameter is incorrect." ]
The task is being set up on one of the DCs running Server 2012. It occurred to me that the Task Version may be incorrect but I don't understand the logic behind setting it ("Configure for").
First, I don't see any place in the GP/Scheduled task interface to even control this option. How do I select it?
Second, the task arrives at the W7 desktops configured for for "Server 2003, WinXP, Win2000". The W7 boxes work, but is this correct for Win8.1? Possibly the reason for the failure?
If I make a local scheduled task on the Server 2012 box it defaults to "Server 2008, Win Vista". Why is this different?
Please explain to me how this "configured for" is used, and how to modify it in a sched task GPO.
The goal here is to get the Win8.1 boxes to accept the policy and install the task. I am just surmising that the task version is related so please redirect me if I'm on the wrong road.