Windows error 0x80041319, -2147216615

Detailed Error Information

SCHED_E_MISSINGNODE[1]

MessageThe task XML is missing a required element or attribute.
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 Code4889 (0x1319)

Questions

2votes
4answers

Powershell v4. Create remote task scheduler task set to expire and delete

I am trying to create a task that essentially reboots the server but the task is put there by a remote server running a check to see if a reboot is needed. I am stuck trying to add an expiration so it deletes itself but can't find where to put [...] read more
powershell
scheduled-tasks
0votes
1answer

Register scheduled task works perfectly from workstation

This script works great from my workstation during testing. It grabs the username disable date time and enable date and time from a CSV then creates a scheduled task to expire the account during a specific lockout time. It will then unlock the account during the enable process. I have [...] read more
powershell
powershell-5.0
0votes
1answer

Error Creating Scheduled Task

I am trying to create a scheduled task using PowerShell 5. But I'm getting an error while trying especially with adding DeleteExpiredTaskAfter to ScheduledTaskSettingsSet > -DeleteExpiredTaskAfter (New-TimeSpan -Seconds 120) The PowerShell script below: $taskname = "Test01" $taskdescription = "Testing" $taskpath = "\Test" $action = New-ScheduledTaskAction -Execute 'Powershell.exe' -Argument '-NoProfile -WindowStyle [...] read more
powershell
scheduled-tasks
powershell-5.0
taskscheduler

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