I have a batch file that I can run manually as my own account and it will run a robocopy that copies files from a remote box in a perimeter network to my server (From 172.x.x.x to 192.168.x.x) but it only works when I am logged in. Even if it's scheduled it will run if I'm logged in.
If I'm not logged in it does nothing... permissions likely
I'd like to run it as the local account but it constantly fails the verification process.
When I try to run it as another account I can't get that account to work.
"An error has occured while attempting to set task account information. The specific error is: 0x80041310: Unable to establish existence of the account specified. Ensure the account name specified is valid."
Problem is that I need to run it from within my network to copy the files from the perimeter server to our internal file server but I can't get an account to run the scheduled task without being logged in.