Windows

Access local drives in an RDP session

How can you access local drives from an RDP session? Learn how.

I see many admins and developers struggling with the RDP environment trying to copy files to a location where they have access to the files in the RDP session and their host workstation. ย Many even create shares and exceptions in the Windows firewall rules to allow for file and print sharing to do this, which can compromise security among other things on servers especially in the DMZ.

Many who may not be as system admin savvy may not be aware of the feature of RDP that allows one to access local drives in an RDP session. ย This is an extremely useful feature considering it is builtin out of the box behavior with RDP and it requires no configuration of shares and firewall exceptions just to get your files back and forth.

Setting up access to local drives

  • Open Remote Desktop Connection – typeย mstsc in run or search menu, clickย Show Options

RDP_drives03

  • Click theย Local Resourcesย tab and then click theย More buttonย at the bottom

 

 

RDP_drives01

  • Notice you can expandย Drives and then click which drives you want to have access to in the RDP session. ย Notice I have the “My Passport” External drive showing which is a USB connected hard drive.

    RDP_drives02

Now after this is setup and you connect to your remote server or workstation resource, you will see the drive listed as if it is simply a local drive to the remote Windows box. ย This works really well and I have not noticed a huge performance hit mounting drives this way. ย It seems to suite the purpose of needing to have access to local files and being able to securely copy resources back and forth without any major changes to any security models or firewall rules in place. ย Sometimes as network and system admins we have to rethink how we do things especially without having to utilize the network. ย The local drives resource in RDP is certainly a much easier and way less involved means to copy files back and forth as opposed to over the network.

Subscribe to VirtualizationHowto via Email ๐Ÿ””

Enter your email address to subscribe to this blog and receive notifications of new posts by email.



Brandon Lee

Brandon Lee is the Senior Writer, Engineer and owner at Virtualizationhowto.com, and a 7-time VMware vExpert, with over two decades of experience in Information Technology. Having worked for numerous Fortune 500 companies as well as in various industries, He has extensive experience in various IT segments and is a strong advocate for open source technologies. Brandon holds many industry certifications, loves the outdoors and spending time with family. Also, he goes through the effort of testing and troubleshooting issues, so you don't have to.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.