Solved

Mapped Drive or Folder on Remote Desktop Launch?

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

The Need In an Active Directory enviroment, the PDC emulator provide time synchronization for the domain. This is important since Active Directory uses Kerberos for authentication.  By default, if the time difference between systems is off by more …
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

770 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