Build 17709 - Getting error 0x80070005 while creating scheduled Task using Task Scheduler 2.0

%3CLINGO-SUB%20id%3D%22lingo-sub-280981%22%20slang%3D%22en-US%22%3EBuild%2017709%20-%20Getting%20error%200x80070005%20while%20creating%20scheduled%20Task%20using%20Task%20Scheduler%202.0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-280981%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20are%20using%20Task%20Scheduler%202.0%20interface%20through%20c%2B%2B.%20The%20error%26nbsp%3B0x80070005%20is%20returned%20while%20Registering%20the%20task%20(RegisterTaskDefinition)%3C%2FP%3E%3CP%3EMade%20sure%20that%20the%20Local%20Admin%20privileges%20are%20OK.%20The%20same%20code%20works%20for%20Windows%202012%20and%202016.%26nbsp%3B%3C%2FP%3E%3CP%3EHas%20anybody%20faced%20the%20similar%20issue%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-280981%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%20Platform%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
Occasional Visitor

We are using Task Scheduler 2.0 interface through c++. The error 0x80070005 is returned while Registering the task (RegisterTaskDefinition)

Made sure that the Local Admin privileges are OK. The same code works for Windows 2012 and 2016. 

Has anybody faced the similar issue? 

0 Replies