Wednesday, March 31, 2010

Task Scheduler - Catastrophic Failure (Oh my!)

Ah, what a lovely day! April Fool's and all, I decided to finally Google something that was bothering me once every two months when I remembered it was a problem:



Speaking of Google, turns out it's their fault.

The error "Catastrophic failure (Exception from HRESULT:0x8000FFFF (E_UNEXPECTED))" comes, apparently, from Task Scheduler tripping over some bad data in a scheduled task.

I believe the offending task is located in the folder that represents its position in the Task Scheduler's tree view hierarchy. I got the error when I clicked on "Task Scheduler Library," and the task responsible was in the root task directory, which is commonly:

C:\Windows\System32\Tasks

1) Drag and drop all of those task files out to another folder and relaunch Task Scheduler to see if it behaves appropriately.

2) Drag and drop them back in a few at a time to see when you can reproduce the error. You may have to close and reopen Task Scheduler between each drag and drop, OR click "Refresh" on the right hand menu.

Once you've found the offending task(s), delete them and enjoy.

Mine came from a GoogleUpdateTask. Probably added by Chrome... or something. Who knows.