Skip to content

Learn how to fix "The task XML contains a value which is incorrectly formatted or out of range" error for Task Scheduler in Windows 10, in this post.

Today, when I opened Task Scheduler on my Windows 10, I came around set of strange errors. These different task related errors keep popping and I can’t use Task Scheduler due to them.

Following is the error message that was associated with one of the tasks:

Task <TASKNAME>: The task XML contains a value which is incorrectly formatted or out of range.

Here, the <TASKNAME> can be any task affected with this error, for example, Adobe Flash Player Updater, SvcRestartTask etc.

The Task XML Contains A Value Which Is Incorrectly Formatted Or Out Of Range Windows 10

As you can see in the above mentioned screenshot, there is no hint except the error message to resolve this issue. Also, there is no support article from Microsoft regarding this error. You can face this issue on Windows Server editions as well. After researching various forums, I apparently find out a hit and trial solution to this problem. Basically the idea came to my mind was to delete the affected task’s entry in the registry. I tested it with few task names for which I was getting error, and luckily it worked for me.

So if you’re also facing this weird issue, these steps may help you to resolve:

FIX : The Task XML Contains A Value Which Is Incorrectly Formatted Or Out Of Range Error For Task Manager In Windows 10/8.1/8/7

Registry Disclaimer: The further steps will involve registry manipulation. Making mistakes while manipulating registry could affect your system adversely. So be careful while editing registry entries and create a System Restore point first.

1. Press W8K + R and put regedit in Run dialog box to open Registry Editor (if you’re not familiar with Registry Editor, then click here). Click OK.

Windows 10 Registry Editor

2. In the left pane of Registry Editor, navigate to following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree

The Task XML Contains A Value Which Is Incorrectly Formatted Or Out Of Range Windows 10

3. In the left pane of above shown window, expand the Tree key. Now you’ll see few subfolders which corresponds to different tasks. You have to here spot the same task folder which was mentioned in the error you received. In my case, it was Adobe Flash Player Updater. When you spot the correct folder, do a right click on it and select Export. By this, you’re exporting the registry configuration into a file for backup purpose.

The Task XML Contains A Value Which Is Incorrectly Formatted Or Out Of Range Windows 10

4. Now right click on same folder and select Delete. Provide a confirmation by clicking Yes here:

The Task XML Contains A Value Which Is Incorrectly Formatted Or Out Of Range Windows 10

Close Registry Editor and reboot. Check the status of error by opening Task Scheduler. If you were getting too many errors, I believe this time you won’t get the error corresponding to that task whose registry key you deleted above. To suppress rest of errors, you can follow step 3 and 4 and fix this issue completely.

Hope this helps!


Facebook Google+ Twitter

6 Comments

  • Good One Kapil !

  • Kapil Arya

    ^^ 😊

  • Simply deleting the problematic tasks doesn’t seem like the best idea. See this tool here (not mine) for a better solution: repairtasks.codeplex.com

  • Kapil Arya

    ^^ Thanks for adding this 😊

  • Whatever you guys say… This is the best method… I’ve got like 8 errors, fixed them all with this method. Thank you Kapil Arya.

  • Kapil Arya

    ^^ Glad it worked!

  • Leave a Reply

    Your email address will not be published. Required fields are marked *

    What's New


    Recent Comments

    • Kapil Arya : ^^ You're always welcome and I'm doing well 😊 It is the read...

      17 hours ago

    • miracle lady : Good morning from Nigeria kapil, I've been going through som...

      1 day ago

    • ifeanyi anya : Thanks, I think I will manage it since it is not affecting t...

      1 day ago

    • Kapil Arya : ^^ Thanks a lot for your feedback 😊...

      1 day ago

    • Kapil Arya : ^^ Glad we could help 😎...

      1 day ago

    • henry : Step 1 helped me to solve this issue, thank you very much!...

      1 day ago