May 10, 2024
Contribute to the Windows forum!
Click here to learn more 💡
May 10, 2024
Windows 7 Top Forum Contributors:
Bill Smithers - LemP ✅
May 10, 2024
Windows 7 Forum Top Contributors:
Bill Smithers - LemP ✅
Task Scheduler Error and Windows 7 Defrag
Report abuse
Thank you.
Reported content has been submitted
Found a fix.
Go into your registry and delete the following key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache
Please make sure you backup the key before deleting. If you're not sure how to do this I don't recommend doing it.
Report abuse
Thank you.
Reported content has been submitted
Was this reply helpful?
Sorry this didn't help.
Great! Thanks for your feedback.
How satisfied are you with this reply?
Thanks for your feedback, it helps us improve the site.
How satisfied are you with this reply?
Thanks for your feedback.
If Event Viewer lists more than one faulting task (see below), definitely try the Registry edit first (always launch the Registry after selecting Run as administrator). Then, delete key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache). If wary, export the key (right click and choose Export) to a registration file named TaskCache.reg beforehand and if dissatisfied afterwards, merely double click it to restore the database to its former state.
Otherwise:
Deleting Task Scheduler's underlying XML files, found in the subfolders of path …\Windows\System32\Tasks\Microsoft\Windows, definitely does the trick! However, to streamline the discovery process, use Task Scheduler's Operational log in Event Viewer to locate any "Task loading at service startup failed" errors, easily identifiable in the Level column. The log's entries are displayed by selecting file Operational in folder Event Viewer (local)\Applications and Services logs\Microsoft\Windows\TaskScheduler from the navigation pane. Don't forget to sort the list by clicking on the Level column header. Perfect! But what about restoring those tasks, and preferably not by hand? Since they won't open in Task Scheduler anymore, open them in WordPad to check out their XML (don't forget to type * in the Filename textbox, then Enter, to display a non-WordPad file in its Open dialog; or use All Docs (*.*) in the dropdown list) to decide whether it's worth the effort to manually recreate the task after deleting the file. Wow! That sounds like an awful lot of work, especially if there is more than one task "(0)". Other than the subfolders, where is a list of all the prefabricated tasks, and better yet, where oh where can the XML files that constitute them be found to download? Oh, the humanity!
Report abuse
Thank you.
Reported content has been submitted
Was this reply helpful?
Sorry this didn't help.
Great! Thanks for your feedback.
How satisfied are you with this reply?
Thanks for your feedback, it helps us improve the site.
How satisfied are you with this reply?
Thanks for your feedback.
Question Info
Last updated August 28, 2019 Views 9,345 Applies to: