Evan
7 years agoNew Contributor
TestExecute 12 'dotNET' is undefined using windows task scheduler
I have a powershell script that runs testexecute which works fine when I run the script from the powershell command line. I'm trying to have the same script run from a windows task scheduler task. Th...
- 7 years ago
I have UAC disabled on the machine. I also have the task set to run as a domain administrator and checked the box to run with highest privileges. I will look to see if there is something else that may be privilege related that is causing issues but I have my doubts about that.
Edit: It appears something got messed up with the user profile of the administrator account I was trying to use for the task and windows was creating temp profiles for the task to use. There were messages about this in event viewer I had missed. This was causing the main issues. Switched the task to run as a different administrator account and it appears to be working now. Thanks!