I need to run a robocopy script which copies to a mapped network drive on several workstations. I created a new password protected account on each machine named "Backup". I mapped the network drive where the file copy is supposed to be stored in the new "Backup" account and set it to connect at logon. (This network share is connected as a mapped drive in all the other accounts on these machines as well). I then created a new scheduled task using the "Backup" user's credentials within the Backup user's account.
However the robocopy backup is not running as expected. The script is launched but the mapped network drive is not available so the file copy fails. At the time the script runs the computer is usually being used and the mapped drive is available within that session.
I could have sworn that I have done this type of configuration in the past with any problem and am not completely clear why it is failing this time. Any ideas how I can get this to work reliably without putting the script within the active user's account?