Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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