[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


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

Posted on 2011-10-12
Medium Priority
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

ID: 36956883
why not have the app launched by the user manually afterwards?


Author Comment

ID: 36956939
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 26

Accepted Solution

pony10us earned 1000 total points
ID: 36956949
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

RobSampson earned 1000 total points
ID: 36959402
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

Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The System Center Operations Manager 2012, known as SCOM, is a part of the Microsoft system center product that provides the user with infrastructure monitoring and application performance monitoring. SCOM monitors:   Windows or UNIX/LinuxNetwo…
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

872 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