When a scheduled task runs via the Task Scheduler is uses the same configuration as if the task is run manually, with one exception if the task is configured to "run task whether the user is logged in or not" then you will not have access to network mapped drives or encrypted files.
This setting is located on the Edit Task dialog under the Windows tab.
By default the scheduled task only runs when the user is logged in.
Depending on which version of Windows OS you're using there may be other unknown factors involved as well, and the connection failure could be related to a software firewall and/or anti-virus denying access when run as a scheduled task.
|