kxfcnsf99
asked on
Windows Task Scheduler directory name is invalid
I have a windows Task Scheduler task that runs perfectly using my own user account. My user account is also the author of the task.
However, when I run the task using a different user account, I get a last run result of "The directory name is invalid.(0x8007010B )
Please note:
Action: is start a program
Program/script: entry is enclosed in quotes
Start in (optional): entry is NOT enclosed in quotes
What do I have to do please in order to get the task to run successfully under an account other than my own?
However, when I run the task using a different user account, I get a last run result of "The directory name is invalid.(0x8007010B )
Please note:
Action: is start a program
Program/script: entry is enclosed in quotes
Start in (optional): entry is NOT enclosed in quotes
What do I have to do please in order to get the task to run successfully under an account other than my own?
Ok so this indicates invalid path and you state clearly you are following best practice:
Action: is start a program
Program/script: entry is enclosed in quotes
Start in (optional): entry is NOT enclosed in quotes
So two quick questions:
1. Is this running from a unc path or mapped drive ?
2. Do the other user accounts have access to the folder the program / script is being run from ?
Action: is start a program
Program/script: entry is enclosed in quotes
Start in (optional): entry is NOT enclosed in quotes
So two quick questions:
1. Is this running from a unc path or mapped drive ?
2. Do the other user accounts have access to the folder the program / script is being run from ?
ASKER
Thank you, but I don't think the article applies, as I don't have any quotes in the Start in (optional): field. I think the issue is that I'm trying to change the account the task runs under.
is this a domain account or local account?
Local account must have admin rights.
domain account must be added to the computers local account giving the account admin rights.
or you need to run policy editor on loal machine and add the account to the correct rights.
Local account must have admin rights.
domain account must be added to the computers local account giving the account admin rights.
or you need to run policy editor on loal machine and add the account to the correct rights.
ASKER
Thank you trgrassijr55 and becraig. I am researching your comments and checking the account's permissions. I'ill let you know when a solution is found or if I have more questions.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
The task now runs under the new user account.
http://matthewcevans.com/blog/2010/08/11/windows-task-scheduler-the-directory-name-is-invalid-0x8007010b/
Hope this helps.
What OS is this?