[FIX] Failed to create a scheduled task for update checking.
2 posters
Page 1 of 1
[FIX] Failed to create a scheduled task for update checking.
I had an issue with installing and updating K-Lite Codec Pack. At the very end of installation process the installer hanged with error (no actual error, just a sound of error popping out). The installation log said it "Failed to create a scheduled task for update checking". It concerned all recent versions of K-Lite Codec Pack and it was related to Windows Task Scheduler. It turned out it wasn't an issue with K-Lite Codec Pack. I couldn't create any new task inside Windows Task Scheduler. I found a way to painlessly resolve the issue.
Logs from failed installation:
https://pastebin.com/nqa32wGK
https://pastebin.com/zQwz6y8M
Link to TechNet article describing the method of solving the problem:
https://blogs.technet.microsoft.com/askperf/2015/05/14/task-scheduler-a-task-or-folder-with-this-name-already-exists/
TL;DL:
1. Open up an elevated CMD prompt
2. Type in the following and hit enter: "fsutil resource setautoreset true c:\"
3. Reboot
4. After your machine reboots, you should be able to create new Scheduled Tasks now
Note:
I have more then one local drive so I ran the command from point two for all drives (d:\, e:\, f:\ etc.).
The reboot from point three is not always required.
Logs from failed installation:
https://pastebin.com/nqa32wGK
https://pastebin.com/zQwz6y8M
Link to TechNet article describing the method of solving the problem:
https://blogs.technet.microsoft.com/askperf/2015/05/14/task-scheduler-a-task-or-folder-with-this-name-already-exists/
TL;DL:
1. Open up an elevated CMD prompt
2. Type in the following and hit enter: "fsutil resource setautoreset true c:\"
3. Reboot
4. After your machine reboots, you should be able to create new Scheduled Tasks now
Note:
I have more then one local drive so I ran the command from point two for all drives (d:\, e:\, f:\ etc.).
The reboot from point three is not always required.
Last edited by Xemidra on Tue Jun 05, 2018 11:21 am; edited 1 time in total
Xemidra- Posts : 36
Join date : 2016-04-12
Re: [FIX] Failed to create a scheduled task for update checking.
Thanks for the information.
Next version will make that error message visible to the user. Should hopefully also prevent the hang.
Next version will make that error message visible to the user. Should hopefully also prevent the hang.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum