[FIX] Failed to create a scheduled task for update checking.

Go down

[FIX] Failed to create a scheduled task for update checking.

Post by Xemidra on Mon Jun 04, 2018 9:09 pm

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.


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

View user profile

Back to top Go down

Re: [FIX] Failed to create a scheduled task for update checking.

Post by Admin on Mon Jun 04, 2018 10:44 pm

Thanks for the information.

Next version will make that error message visible to the user. Should hopefully also prevent the hang.

Admin
Admin

Posts : 4074
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum