Task
: The task XML contains a value which is incorrectly formatted or out of range.
Question
Tuesday, March 6, 2018 7:14 PM
I receive this error:
"Task <task>: The task XML contains a value which is incorrectly formatted or out of range."
For dozens of tasks, on every Windows 10 machine in my environment, whenever task scheduler is opened remotely from a Windows 7, 8.1, Server 2008 R2, or Server 2012 R2 system. They're all Microsoft Windows tasks. Examples include:
- .NET Framework NGEN v4.0.30319 Critical
- AD RMS Rights Policy Template Management (Manual)
- SmartScreenSpecific
- EDP Policy Manager
and many others.
Would deleting these from the HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree key cause any problems? If so, what can I do instead to get rid of these errors?
All replies (4)
Wednesday, March 7, 2018 1:53 AM
Hi,
You can check "C:\Windows\System32\Tasks" and get the that XML. And removed the XML (=task) file from this folder.
Here is an blog on this problem:
The task XML contains a value which is incorrectly formatted or out of range
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].
Wednesday, March 7, 2018 7:16 AM | 1 vote
Hello,
I believe deleting the registry subkeys under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree will solve this issue for you. However, make sure you create a System Restore point first, before making any changes.
Regards.
Microsoft MVP (Windows and Devices for IT)
Windows Insider MVP
Windows Help & Support [www.kapilarya.com]
Thursday, October 25, 2018 11:25 AM
Really?
Deleting this key kills Task Scheduler
Nobody ever do it without a backup first!
And it helps NOTHING with GPP being **** for scheduled tasks!
Friday, October 4, 2019 6:10 AM
Hi KingRazor011,
What you need to do is to ensure the computer/server you are using to remotely connect on a Win10 device's task scheduler, has at least the same version of .NET as the Win10 device you're connecting to.