Map a network drive before the application is launched in Terminal Services

Posted on 2011-10-12
Last Modified: 2012-05-12

We are going to be running terminal services 2003 (legacy app).

The app needs to have a network drive mounted before the application is launched.

We have already done the mount at the logon script but the mapping is not fast enough and the applications is lauched before the network drive is mounted.

Is there any way to have this drive already map on the server regarless of the user that logs on?

Are there any other alternatives?

Thank you!  
Question by:llarava

    Expert Comment

    why not have the app launched by the user manually afterwards?


    Author Comment

    We are launching the app when they connect via RDP to the TS server. They do not have access to the desktop.

    The way to do it is by using the Terminal Services TAB in AD for that particular user. From there you can enter the path and it seems to be fast enought to catch up with the app.
    LVL 25

    Accepted Solution

    You could create a batch file to run that calls the app with a delay built in to it.

    For example:

    @echo off
    REM *** Launch application after delay of 1 minute

    PING -n 60>nul

    call <program>

    LVL 65

    Assisted Solution

    When you configure "Start this program at logon", have you tried using a batch file that maps the drive, then launches the program?

    net use f: \\server\share
    c:\program files\myapp\myexe.exe


    Featured Post

    Training Course: Java/J2EE and SOA

    This course will cover both core and advanced Java concepts like Database connectivity, Threads, Exception Handling, Collections, JSP, Servlets, XMLHandling, and more. You'll also learn various Java frameworks like Hibernate and Spring.

    Join & Write a Comment

    This collection of functions covers all the normal rounding methods of just about any numeric value.
    Article by: Leon
    Software Metering within our group of companies has always been an afterthought until auditing of software and licensing became a pain point. Orchestrator and SCCM metering gave us the answer and it was an exciting process.
    Viewers will learn how to maximize accessibility options in an Excel workbook for users with accessibility issues.
    The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now