?
Solved

Mapped Drive or Folder on Remote Desktop Launch?

Posted on 2007-12-05
5
Medium Priority
?
2,569 Views
Last Modified: 2013-11-21
Our company's employees connect to our Windows 2003 server using RDP over a VPN connection to access their remote desktops on the server. Considering there is the option to launch a program on connection using the Remote Desktop Connection program, I am wondering if I could use a batch file to accomplish something. I would like for the program to check if there is a drive mapped to the user's server profile drive (on his/her local computer) and map the drive if it does not exist (enabling the user to transfer files back and forth between local and remote desktop a bit more easily). I'd like to do it this way, but if there are other ideas I'm open to suggestions. Thank you in advance.
0
Comment
Question by:nicholasjwolf
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 25

Accepted Solution

by:
imitchie earned 2000 total points
ID: 20416836
To use drive mapping with RDP, you'll need to make sure that you're using the Remote Desktop Client and enable it on the client computers--it's shut off by default. To enable drive mapping, click the Options button on the main dialog box of the client and turn to the Local Resources tab.

You must also set the server up to allow it.
http://support.microsoft.com/kb/272519
0
 

Author Comment

by:nicholasjwolf
ID: 20429927
I left out some more directory-specific mapping that I would like to have occur. I can get the local drives to map remotely just fine, but then once the user opens the C drive on remote and they see the root, I imagine users getting confused. I *could* explain how to go through Documents and Settings\<loggedOnUsername>\Desktop, but the easier the better. Would there be a way to get the mapped drive to point to the local Windows currently-logged-on user's My Documents folder or Desktop?
0
 
LVL 25

Assisted Solution

by:imitchie
imitchie earned 2000 total points
ID: 20431619
You would have to do some kind of login script on the RDP host. once they have connected and logged in, replace the shortcuts to the documents folder to \\tsclient\c\docu....
0
 

Author Comment

by:nicholasjwolf
ID: 20460133
I am guessing not, but is there a variable I could use in the "\\tsclient\c\documents..." path that would resolve to the client's logged on user name folder? (i.e. \\tsclient\c\%currentuser%\documents...)
0
 
LVL 25

Expert Comment

by:imitchie
ID: 20460261
Not from the terminal server! :) nice try
0

Featured Post

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

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

Trying to figure out group policy inheritance and which settings apply where can be a chore.  Here's a very simple summary I've written which might help.  Keep in mind, this is just a high-level conceptual overview where I try to avoid getting bogge…
Resolve DNS query failed errors for Exchange
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses
Course of the Month13 days, 10 hours left to enroll

800 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