none
Scheduling a .bat job having drive mapping on windows 2008 RD server RRS feed

  • Question

  • Hi,

    I am not able to trigger the .bat job thorugh Task scheduler on windows 2008 RD server.

    Below are the options are tried.It works when I am logged in or Schedule a job just after 5-10 mins after I logged off / close the remote connection to MS server.However if I schedule the job for next day, it wont get triggered.The drive mapping have UNC path.

    option 1 - User logged in 

    Path - .bat file name

    start in - path to .bat file.

    option 2 - User logged in or not -- highest priority - checked do not store the password

    path - .bat file name

    start in - path to .bat file

    option 3 - 

     User logged in 

    Path - cmd

    paramenetr - /c start "" "path to .bat file"\

    option 4 :

    User logged in or not -- highest priority - checked do not store the password

    Path - cmd

    paramenetr - /c start "" "path to .bat file"\

    Friday, July 22, 2016 6:22 AM