Solved

Mapped Drive or Folder on Remote Desktop Launch?

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

We recently endured a series of broadcast storms that caused our ISP to shut us down for brief periods of time. After going through a multitude of tests, we determined that the issue was related to Intel NIC drivers on some new HP desktop computers …
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

919 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now