1

I have a problem with a scheduled task which uses a mapped network drive. On some days the task does not get executed without any traces in the event log. The task launches an application on a mapped network drive. Most of the time a remote desktop session is active on the computer.

Could it be that when no user is logged in the drive mapping is not available so that the task simply does not find the executable?

1 Answer 1

2

To use mapped drives, the task need to execute in the context of an interactively logged in user. This is why it seems to work only when a user is remoted in. Tasks that need ti access resources over the network should use unc when possible. Drive maps aren't reliable in scheduled tasks.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.