1
When I open the task scheduler I get a pop up telling me that the XML code contains an incorrect value, badly formatted, out of bounds or a bad node.
I get this error for the following tasks:
- VerifiedPublisherCertStoreCheck
- UserTask
- SystemTask
- Consolidator
- Background Synchronization
- HiveUploadTask
When I run Get-ScheduledTask
in PowerShell I get this output:
Get-ScheduledTask : Le code XML de la tâche contient un noud inattendu.
Au caractère Ligne:1 : 1
+ Get-ScheduledTask
+ ~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (MSFT_ScheduledTask:Root/Microsoft...T_ScheduledTask) [Get-ScheduledTask], CimException + FullyQualifiedErrorId : HRESULT 0x80041316,Get-ScheduledTask
The first line is about a not expected node in the XML code.
I'm running Windows 8 Pro 64bits and I didn't get a power outage or have to hard reboot.
I had the same issue recently / ended up having to delete the tasks via the filesystem as couldn't get the import to work (even after deleting the original and attempting with the same task exported from another machine as well as trying various tweaked copies of the local task's xml. The tasks in question weren't important (e.g. Customer Experience Improvement), so deleting them was OK / resolved the PowerShell function's issue and prevented errors showing when opening task scheduler. – JohnLBevan – 2016-06-23T13:45:19.823
NB: After having done the above though, I spotted this which claims to work (sadly I no longer have the corrupt tasks to test this / confirm): http://www.ghacks.net/2016/06/19/repair-tasks-task-image-corrupt/
– JohnLBevan – 2016-06-23T13:45:53.8601The tasks that are faulty don't appear in the task scheduler, and deleting the files in
%windir%\system32\Tasks
doesn't do the trick. – SenpaiSilver – 2013-12-07T16:42:46.853have you imported the XML files? – magicandre1981 – 2013-12-07T16:46:40.980
When I import for example the VerifiedPublisherCertStoreCheck I get an error about incorrect format: (35,26):Duration:PT0S – SenpaiSilver – 2013-12-07T16:51:06.447
for me line 35 is this: <AllowHardTerminate>true</AllowHardTerminate> – magicandre1981 – 2013-12-08T06:38:49.493
If you're running Windows 8, is it possible for you to upload the contents of the
%windir%\System32\Tasks\Microsoft\Windows
or just the files listed in the OP, I may be able to just replace the faulty files since the ones on the install disc are different (even for working files). – SenpaiSilver – 2013-12-08T12:42:15.683when you extract the files from the Win8 DVD, the files should be ok. Those files should be better than mine. – magicandre1981 – 2013-12-08T18:29:43.483