no, the task is still enabled via the UI and Code. but the register is successful in the history of the task. This is what is most strange.
I do have administrative rights to this test environment. AD domain admin.
the task is updated according to the history, but does not register the change.
I have tried connecting to remote server new TaskService(servername, adminuserid,, PW) with and without the id and PW to no avail.
the task shows a status of Ready,
and the trigger is also still at Enabled.
No errors.
I do have administrative rights to this test environment. AD domain admin.
the task is updated according to the history, but does not register the change.
I have tried connecting to remote server new TaskService(servername, adminuserid,, PW) with and without the id and PW to no avail.
the task shows a status of Ready,
and the trigger is also still at Enabled.
No errors.
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-TaskScheduler" Guid="{DE7B24EA-73C8-4A09-985D-5BDADCFA9017}" />
<EventID>140</EventID>
<Version>0</Version>
<Level>4</Level>
<Task>140</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000000</Keywords>
<TimeCreated SystemTime="2015-03-11T17:16:50.183039000Z" />
<EventRecordID>323807</EventRecordID>
<Correlation />
<Execution ProcessID="1484" ThreadID="10676" />
<Channel>Microsoft-Windows-TaskScheduler/Operational</Channel>
<Computer>aserver.ms.ds.uhc.com</Computer>
<Security UserID="S-1-5-18" />
</System> - <EventData Name="TaskUpdated">
<Data Name="TaskName">\Testtask1</Data>
<Data Name="UserName">ms\id</Data>
</EventData>
</Event> - <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-TaskScheduler" Guid="{DE7B24EA-73C8-4A09-985D-5BDADCFA9017}" />
<EventID>142</EventID>
<Version>0</Version>
<Level>4</Level>
<Task>142</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000000</Keywords>
<TimeCreated SystemTime="2015-03-11T17:16:49.902235400Z" />
<EventRecordID>323806</EventRecordID>
<Correlation />
<Execution ProcessID="1484" ThreadID="12808" />
<Channel>Microsoft-Windows-TaskScheduler/Operational</Channel>
<Computer>servername.ms.ds.uhc.com</Computer>
<Security UserID="S-1-5-18" />
</System> - <EventData Name="TaskDisabled">
<Data Name="TaskName">\Testtask1</Data>
<Data Name="UserName">ms\id</Data>
</EventData>
</Event>