Jump to content

Mapped Share / Scheduled Task


Recommended Posts

Guest John Deakins
Posted

We have a scheduled task created under User1 to run a script. The script

requires a mapping to a share. The share is mapped using User2's

credentials. The task runs fine as long as User1 is logged on and the share

is mapped properly. Once User1 logs off, the mapped share is disconnected.

 

Is there a way to have the share mapped even while the user is logged

off...so that the task can run when the user is not logged on?

  • Replies 1
  • Created
  • Last Reply

Popular Days

Guest Lanwench [MVP - Exchange]
Posted

Re: Mapped Share / Scheduled Task

 

John Deakins <JohnDeakins@discussions.microsoft.com> wrote:

> We have a scheduled task created under User1 to run a script. The

> script requires a mapping to a share. The share is mapped using

> User2's credentials. The task runs fine as long as User1 is logged

> on and the share is mapped properly. Once User1 logs off, the mapped

> share is disconnected.

>

> Is there a way to have the share mapped even while the user is logged

> off...so that the task can run when the user is not logged on?

 

Use UNC paths instead of mapped drives. Mapped drives are for humans, not

computers :-)


×
×
  • Create New...