Solved

Mapped Drive or Folder on Remote Desktop Launch?

Posted on 2007-12-05
5
2,560 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
  • 3
  • 2
5 Comments
 
LVL 25

Accepted Solution

by:
imitchie earned 500 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 500 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Issue: One Windows 2008 R2 64bit server on the network unable to connect to a buffalo Device (Linkstation) with firmware version 1.56. There are a total of four servers on the network this being one of them. Troubleshooting Steps: Connect via h…
Learn about cloud computing and its benefits for small business owners.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

790 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