Windows error 0x8004131A, -2147216614

Detailed Error Information

SCHED_E_MALFORMEDXML[1]

MessageThe task XML is malformed.
Declared inwinerror.h

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode4 (0x004)
NameFACILITY_ITF[2][1]
DescriptionThe source of the error code is COM/OLE Interface management.[2][1]
Error Code4890 (0x131a)

Questions

1vote
1answer

:Powershell Register-ClusteredScheduledTask from XML

I'd like to take my tasks on a non-clustered server, and import them as clustered tasks on a new cluster that has been built and tested. Here's what I have tried: cls $xmlFilename="i:\Scripts\ImportScheduledTasks\CleaupMessageLog.xml" $xmlContents = get-content $xmlFilename Register-ClusteredScheduledTask -TaskName "TestXMLTask" -TaskType AnyNode -Xml $xmlContents The XML imports okay into the [...] read more
powershell
scheduled-task
0votes
1answer

how to import build-in tasks with powershell

Im trying to import task with Powershell and getting this error BTW using import in Task Scheduler is working fine CMDLINE: PS C:\windows\system32> Register-ScheduledTask -Xml "C:\Windows\System32\Tasks\Microsoft\Windows\TextServicesFramework\MsCtfMonitor" -TaskName "MsCtfMonitor" Error: Register-ScheduledTask : The task XML is malformed. (1,2)::ERROR: incorrect document syntax At line:1 char:1 * Register-ScheduledTask -Xml "C:\Windows\System32\Tasks\Microsoft\Wind ... * + [...] read more
windows
powershell

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0