Solved

Mapped Drive or Folder on Remote Desktop Launch?

Posted on 2007-12-05
5
2,562 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 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Know what services you can and cannot, should and should not combine on your server.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

733 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