I have a script that needs to run on a schedule but the script touches another machine via UNC. When it runs out of localsch, the result is "Access is denied.". I have confirmed this by running the following command -
localsch.exe /exe=%ComSpec% /cmd=/K
This lauches a command window running in the context of the Intel Local Scheduler Service which is configured to log on as Local System account. I can then run the script and see the error messages that are displayed.
Can startasuser.exe be used in a localsch task or is that program only useful in the context of software distribution? Are there any other work arounds to make a localsch task run in user context?