$theTitle=wp_title(" - ", false); if($theTitle != "") { ?>
About Virtualization, VDI, SBC, Application Compatibility and anything else I feel like
Recently I installed a new Windows 10 machine (version 1709 aka Fall Creators Update).
After a while I noticed a problem with the Task Scheduler: when I wanted to open the “Schedule Tasks” option from settings I received the following error message:
The Task Scheduler MMC snapin was empty:
I opened the Services snapin and noticed that the Task Scheduler was not running. Attempting to start it would either result in immediate crash with Error 1067 or crash shortly after starting:
The System eventlog didn’t provide any helpful details other than notification that the service terminated unexpectedly:
Next step was to check the Event Log for the Task Scheduler which is located under Application and Services Logs | Microsoft | Windows | TaskScheduler | Operational. Note that this log needs to be enabled:
I then attempted start of the Task Scheduler service again (several times) and the last line in the log would always be: Task Scheduler launched action "" in instance "{f9903615-3d9f-4cb5-9838-70a38327eec8}" of task "\Microsoft\Windows\.NET Framework\.NET Framework NGEN v4.0.30319 64 Critical".
I checked the corresponding xml file in C:\Windows\System32\Tasks\Microsoft\Windows\.NET Framework\.NET Framework NGEN v4.0.30319 64 Critical
and compared it to a working system and there were no differences.
Next attempt was to delete the TaskCache registry key which is located under HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache
.
Before you do this make a backup or simply rename the key!
You need to take ownership of this registry key by opening Permissions by right clicking on the key and taking ownership by clicking Advanced and then Change next to Owner (System by default). Set the Owner to be either Administrators, click OK and tick “Full Control” for Administators.
The Task Scheduler service now started and didn’t crash however the view in the Task Scheduler snapin was still empty (no tasks).
I used the Repair Tasks tool from this link and clicked Scan followed by Repair:
Finally that fixed it!
Leave a reply