Revision Summary Date Revision History Revision Class Comments 3/2/2007 1.0 Major Updated and revised the technical content. 4/3/2007 1.1 Minor Clarified the meaning of the technical content. 5/11/2007 2.0 Major New format 6/1/2007 2.0.1 Editorial Changed language and formatting in the technical content. 7/3/2007 2.1 Clarified the meaning of the technical content. 8/10/2007 3.0 Major Updated and revised the technical content. 9/28/2007 3.0.1 Editorial Changed language and formatting in the technical content. 10/23/2007 3.1 Minor Clarified the meaning of the technical content. 1/25/2008 3.1.1 Editorial Changed language and formatting in the technical content. 3/14/2008 4.0 Updated and revised the
technical content. 6/20/2008 4.1 Minor Clarified the meaning of the technical content. 7/25/2008 5.0 Major Updated and revised the technical content. 8/29/2008 6.0 Major Updated and revised the technical content. 10/24/2008 6.0.1 Editorial Changed language and formatting in the technical content. 12/5/2008 7.0 Major Updated and revised the technical content. 1/16/2009 8.0 Major Updated and revised the technical content. 2/27/2009 9.0 Major Updated and revised the technical content. 4/10/2009 10.0 Major Updated and revised the technical content. 5/22/2009 11.0 Major Updated and revised the technical content. 7/2/2009 11.0.1 Editorial Changed language and
formatting in the technical content. 8/14/2009 12.0 Major Updated and revised the technical content. 9/25/2009 12.1 Clarified the meaning of the technical content. 11/6/2009 12.1.1 Editorial Changed language and formatting in the technical content. 12/18/2009 13.0 Updated and revised the technical content. 1/29/2010 14.0 Updated and revised the technical content. 3/12/2010 15.0 Major Updated and revised the technical content. 4/23/2010 15.0.1 Editorial Changed language and formatting in the technical content. 6/4/2010 15.1 Minor Clarified the meaning of the technical content. 7/16/2010 16.0 Major Updated and revised the technical content.
8/27/2010 17.0 Major Updated and revised the technical content. 10/8/2010 17.0 None No changes to the meaning, language, or formatting of the technical content. 11/19/2010 17.0 None No changes to the meaning, language, or formatting of the technical content. 1/7/2011 17.0 None No changes to the meaning, language, or formatting of the technical content. 2/11/2011 18.0 Major Updated and revised the technical content. 3/25/2011 18.0 None No changes to the meaning, language, or formatting of the technical content. 5/6/2011 18.0 None No changes to the meaning, language, or formatting of the technical content.
6/17/2011 18.1 Minor Clarified the meaning of the technical content. 9/23/2011 18.1 None No changes to the meaning, language, or formatting of the technical content. 12/16/2011 19.0 Major Updated and revised the technical content. 3/30/2012 19.0 None No changes to the meaning, language, or formatting of the technical content. 7/12/2012 19.0 None No changes to the meaning, language, or formatting of the technical content. 10/25/2012 20.0 Major Updated and revised the technical content. 1/31/2013 20.1 Minor Clarified the meaning of the technical content. 8/8/2013 21.0 Major Updated and revised the technical content. 11/14/2013 21.0 None No changes to the
meaning, language, or formatting of the technical content. 2/13/2014 21.0 None No changes to the meaning, language, or formatting of the technical content. 5/15/2014 21.0 None No changes to the meaning, language, or formatting of the technical content. 6/30/2015 22.0 Major Significantly changed the technical content. 10/16/2015 22.0 None No changes to the meaning, language, or formatting of the technical content. 7/14/2016 23.0 Significantly changed the technical content. 6/1/2017 23.0 None No changes to the meaning, language, or formatting of the technical content.
SCHED_S_TASK_NO_MORE_RUNS 0x00041304 There are no more runs scheduled for this task. SCHED_S_TASK_NOT_SCHEDULED 0x00041305 One or more of the properties that are required to run this task on a schedule have not been set, or no runs are scheduled. SCHED_S_TASK_TERMINATED 0x00041306 The last run of the task was terminated by the user. SCHED_S_TASK_NO_VALID_TRIGGERS 0x00041307 Either the task has no triggers or the existing triggers are disabled or not set. SCHED_S_EVENT_TRIGGER 0x00041308 The task contains only event triggers that do not have set run times. SCHED_E_TRIGGER_NOT_FOUND 0x80041309 not found. SCHED_E_TASK_NOT_READY 0x8004130A One or more of the properties that are required to run this task have not been set. SCHED_E_TASK_NOT_RUNNING 0x8004130B There is no running instance of the task. SCHED_E_SERVICE_NOT_INSTALLED 0x8004130C The Task Scheduler Remoting Protocol service is not installed on this computer. SCHED_E_CANNOT_OPEN_TASK 0x8004130D The task object not be opened. SCHED_E_INVALID_TASK 0x8004130E The object is either an invalid
SCHED_E_SERVICE_NOT_RUNNING 0x80041315 The Task Scheduler Remoting Protocol service is not running. SCHED_E_UNEXPECTEDNODE 0x80041316 The task contains an unexpected node. SCHED_E_NAMESPACE 0x80041317 The task XML contains an element or attribute from an unexpected namespace. SCHED_E_INVALIDVALUE 0x80041318 The task XML contains a value which is incorrectly formatted or out of range. SCHED_E_MISSINGNODE 0x80041319 The task XML is missing a required element or attribute. SCHED_E_MALFORMEDXML 0x8004131A The task XML is malformed. SCHED_S_SOME_TRIGGERS_FAILED 0x0004131B The task is registered, but not all specified triggers will start the task. SCHED_S_BATCH_LOGON_PROBLEM 0x0004131C The task is registered, but might fail to start because the batch logon privilege is required to be enabled for the task . SCHED_E_TOO_MANY_NODES 0x8004131D The task XML contains too many nodes of the same type. SCHED_E_PAST_END_BOUNDARY 0x8004131E The task cannot be started after the trigger's end boundary.
SCHED_E_ALREADY_RUNNING 0x8004131F An instance of this task is already running. SCHED_E_USER_NOT_LOGGED_ON 0x80041320 The task will not run because the user is not logged on. SCHED_E_INVALID_TASK_HASH 0x80041321 The task image is corrupt or has been tampered with. SCHED_E_SERVICE_NOT_AVAILABLE 0x80041322 The Task Scheduler Remoting Protocol service is not available. SCHED_E_SERVICE_TOO_BUSY 0x80041323 The Task Scheduler Remoting Protocol service is too busy to handle the request. SCHED_E_TASK_ATTEMPTED 0x80041324 The Task Scheduler Remoting Protocol service attempted to run the task, but the task did not run due to one of the constraints in the task definition. SCHED_S_TASK_QUEUED 0x00041325 The Task Scheduler Remoting Protocol service has asked the task to run. SCHED_E_TASK_DISABLED 0x80041326 The task is disabled. SCHED_E_TASK_NOT_V1_COMPAT 0x80041327 The task has properties that are not compatible with the interface. SCHED_E_START_ON_DEMAND 0x80041328 The task settings do not allow the task to
. 25 A Abstract data model 63 74 58 51 50 15 29 21 20 18 63 129 29 B 42 C 46 15 145 Client 63 63 63 74 63 74 74 63 17 59 29 17 17 39 41 D 35 Data model - abstract 63 74 54 Data 17 XML task definition format ( 39, 39) 33 33 121 52 51 54 17 E 59 52 25 76 44 Examples 124 operations flow 126 124 124 122 122 122 122 122 123 124 58 54 F Fields 62 16 16 25 21 Full IDL ( 129, 129, 130, 131) G 121 9 40 H 52 Higher-layer triggered events 63 76 I IDL ( 129, 129, 130, 131) 76 52 43 128 13 Initialization 63 75 9 68
J 25 37 L 45 21 20 18 M 53 17 Message processing 74 server 79 77 91 77 83 Messages 17 17 17 34 36 36 50 N 62 79 80 81 82 51 39 12 O Operations flow examples 126 124 124 14 14 P 122 Packet sequence for task creation examples 122 122 122 123 62 62 62 29 21 20 18 24 39 15 15 54 54 135 24 R 12 13 12 40 43 14 30 50 29 54 51 121 S 90 89 65 130 87 88 131 104 115 120 106 109 108 110 117 119 105 118 92 93 115 103 112 116 104 112 111 Security 128 128 Sequencing rules 74 server 79
77 91 77 83 Server 74 76 75 message processing 79 77 91 77 83 74 sequencing rules 79 77 91 77 83 120 75 76 45 49 60 76 28 39 16 76 51 51 17 T Task definition format common data ( 39, 39) 38 61 23 24 22 24 Timer events 74 120 Timers 63 75 43 145 17 17 30 32 Triggered events - higher-layer 63 76 30 41 U 17 29 54 V 28 16 15 39 54 W 77 52 35 29 X XML task definition format common data types ( 39, 39) 38 61