Duplicate existing Task using RegisterTaskDefinition fail #1013
Unanswered
eng-marani
asked this question in
Q&A
Replies: 1 comment
-
|
Using this overload effectively, I do not have any crash, i wonder anyway why i can't use the previous one, expecting also the principal and security to be copied from the definition
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to create a duplicated task from an existing task, in disabled state, preserving credentials.
Of course, I'm running under admin.
This is my actual code, but RegisterTaskDefinition() does not complete the job raising an exception "Invalid credentials"
What I'm doing wrong ?
Beta Was this translation helpful? Give feedback.
All reactions