Monday, December 20, 2010

Creating Scheduled Task via GPO fails on Windows Server 2008 or Vista

When creating a Scheduled Task via GPO and applying it on Windows Server 2008 (or Windows Vista), the task will not appear in Administrative Tools -> Task Scheduler on the affected machines. Instead, the following error appears in the Event Log:

The computer 'Compress Logs and Backups' preference item in the 'Scheduled Tasks - Compress Logs and Backups {A76A14CE-5000-4AD7-931C-81D50A768C29}' Group Policy object did not apply because it failed with error code '0x80070057 The parameter is incorrect.' This error was suppressed.

The error is pretty lame, actually a missing 'Start in' parameter in the GPO.


After filling in the Start in: parameter with any value, and doing a gpupdate, the scheduled task suddenly appeared on the servers where the GPO is applied. Yaay :D

No comments:

Post a Comment