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

x
?
Solved

How to map a drive for terminal services.

Posted on 2007-10-02
8
Medium Priority
?
11,354 Views
Last Modified: 2013-11-21
I have a app that is installed on the local machine but then ran off a network drive.  I am using terminal services in server 2008 beta to serve out just this one application.  The application fails when TS is started due to not having this drive mapped.  How do I map a drive for Terminal services to run an app.  
0
Comment
Question by:michaelcamden46158
  • 4
  • 3
8 Comments
 
LVL 10

Expert Comment

by:ajwuk
ID: 20000416
Are you running this application on the terminal server from a specific user account or would you like a network drive mapped regardless of which account is used to login?

Just do a net use from the terminal server session to the relevant network share (the same that you have mapped on your local PC for the application).

E.G. net use I: \\<Server>\<Share> /persistent:y

If you want this to be mapped everytime a user logs on, create a quick batch to do this in the netlogon share (or even just stick it in the all users startup folder if you don't have a domain). HTH.
0
 

Author Comment

by:michaelcamden46158
ID: 20000440
When I terminal serve just the app it does not run my logon script.
0
 
LVL 10

Expert Comment

by:ajwuk
ID: 20000499
The application runs a logon script? Bit bizzare.

I'd just run it at actual logon as described above really, then the mapping exists when the application tries to run first time.
0
NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

 

Author Comment

by:michaelcamden46158
ID: 20000521
Im only serving up the one app (new with server 2008).  This app requires "start in network drive".
0
 
LVL 10

Expert Comment

by:ajwuk
ID: 20000608
Ok, so if you've mapped a persistant network drive on the terminal server it will be able to start in the network drive as it does on your local PC.

Am I getting the wrong end of the stick here? Are you trying to run this application with no interactive session running on the terminal server?
0
 

Author Comment

by:michaelcamden46158
ID: 20000905
Its the same thing as a publishing an app with citrix.  U copy the app.rdp to a user's desktop then when the user runs the app it starts the rdp session.  Only problem is mine will not keep the drive mappings that it needs (already mapped on the terminal server).
0
 
LVL 10

Accepted Solution

by:
ajwuk earned 1500 total points
ID: 20002361
Give it a go including a batch file with the net use command to delete and existing mapping and re-creating it on login, you can even include this in the RDP client conneciton. "Start the following program on connection".
0
 

Expert Comment

by:mcorella
ID: 33532445
I have a terminal server that will map the drive but will not let me execute apps from that drive? Any ideas?
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

My previous article  (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/Windows_Server_2008/A_4466-A-beginners-guide-to-installing-SCCM2007-on-Windows-2008-R2-Server.html)detailed one possible method to get SCCM 2007 installed an…
Have you considered what group policies are backwards and forwards compatible? Windows Active Directory servers and clients use group policy templates to deploy sets of policies within your domain. But, there is a catch to deploying policies. The…
Viewers will learn how to properly install and use Secure Shell (SSH) to work on projects or homework remotely. Download Secure Shell: Follow basic installation instructions: Open Secure Shell and use "Quick Connect" to enter credentials includi…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Suggested Courses
Course of the Month19 days, 6 hours left to enroll

834 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