UPDATE: Thanks, Twisty Impersonator, your suggestion below worked and it the task will now run successfully! I chose to code into the .bat to map to the network drive.
One more question? Is there a way to get the task to launch and run successfully without manually signing into the remote desktop computer? The idea is for this to run whether or not I have the ability to sign into a computer.
Thanks again!
I'm trying to use Task Scheduler to run a .bat file off a remote desktop connection. The task is completed successfully, BUT I receive an 0x1 error, and I notice that the file that is to be updated on a network server has not been updated.
If I execute the .bat file manually, the file on the network server is updated successfully.
I have mapped the network server to the remote desktop machine.
I'm wondering if I need to have the remote desktop machine added to the network servers list of trusted computers (this is not something I have permission to do, but can request it).