Site icon EfmSoft

What does HRESULT 0x80041328 (SCHED_E_START_ON_DEMAND) mean?

 
Previous Next
SCHED_E_TASK_NOT_V1_COMPAT SCHED_E_TASK_NOT_UBPM_COMPAT

SCHED_E_START_ON_DEMAND

SCHED_E_START_ON_DEMAND means the task settings do not allow a manual or programmatic demand start. It is a policy result, not evidence that the scheduled trigger is broken: the task can still run when a permitted trigger fires.

Where the setting comes from

The AllowDemandStart property maps to the AllowStartOnDemand task XML element. When it is false, Task Scheduler refuses a Run request independent of the normal trigger schedule. Microsoft also notes that RegisteredTask.Run can return without an error while the task does not start under this setting.

What to do

Microsoft: Task Scheduler status codes · Microsoft: AllowDemandStart · Microsoft: RegisteredTask.Run


Looking for a different code? Search another status or error code.

Exit mobile version