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.

1 Answer 1

1

Open the Install.wim of your Windows 8 DVD with 7zip and extract the corrupted task to your HDD in C:\Temp.

Now add XML extension to all tasks, run task scheduler, delete the corrupted tasks and import the task again by selecting the extracted XML files.

8
  • 1
    The tasks that are faulty don't appear in the task scheduler, and deleting the files in %windir%\system32\Tasks doesn't do the trick. Commented Dec 7, 2013 at 16:42
  • have you imported the XML files? Commented Dec 7, 2013 at 16:46
  • When I import for example the VerifiedPublisherCertStoreCheck I get an error about incorrect format: (35,26):Duration:PT0S Commented Dec 7, 2013 at 16:51
  • for me line 35 is this: <AllowHardTerminate>true</AllowHardTerminate> Commented Dec 8, 2013 at 6:38
  • 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). Commented Dec 8, 2013 at 12:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .