Transfer Data Between RDP and Local PC: Step-by-Step Guide
In this article
You can transfer data between a Remote Desktop Protocol (RDP) session and your local PC by enabling drive redirection in the Remote Desktop Connection settings before you connect. This allows your local hard drives to appear as network folders within the remote session, enabling simple copy-and-paste functionality for files and folders. This process is essential for developers, system administrators, and remote workers who need to move configuration files, logs, or documents between their physical machine and a remote server.
What You'll Need
- A Windows PC acting as the local client.
- A remote computer or server with Remote Desktop enabled and accessible via your network.
- The IP address or hostname of the remote computer.
- Valid login credentials (username and password) for the remote machine.
- Administrative permissions on the local machine to modify RDP client settings.
Step-by-Step
- Open the Remote Desktop Connection Client: Click the Start menu on your local PC, type "Remote Desktop Connection", and press Enter. This opens the mstsc.exe application.
- Access Advanced Options: In the main Remote Desktop Connection window, do not click Connect immediately. Instead, click the "Show Options" arrow located in the bottom-left corner of the window. This expands the menu to show several tabs, including General, Display, Local Resources, and Experience. Note that menu labels may differ slightly depending on your version of Windows or regional settings.
- Configure Local Resource Redirection: Click on the "Local Resources" tab. In the "Local devices and resources" section at the bottom of the window, click the "More..." button.
- Select Specific Drives: A new window titled "Local Resources" will appear. Under the "Devices and resources" list, click the plus sign (+) next to "Drives". You can now choose to share all your local drives or select specific ones (e.g., only the C: drive or a specific USB flash drive). Check the boxes for the drives you wish to make available to the remote computer and click "OK".
- Establish the Connection: Return to the "General" tab, enter the IP address or hostname of the remote PC, click "Connect", and enter your credentials when prompted.
- Locate Local Drives on the Remote PC: Once the remote desktop session loads, open "File Explorer" (Windows Key + E) on the remote machine. Click on "This PC" in the left-hand sidebar.
- Transfer Files via Copy and Paste: To move a file from your local PC to the remote PC, right-click the file on your local machine and select "Copy". Then, navigate to the desired folder on the remote machine and select "Paste". Alternatively, you can drag and drop files directly from the redirected local drive folder into a folder on the remote server.
- Transfer Files from Remote to Local: To move data back to your physical machine, locate the file on the remote server, right-click it, and select "Copy".
Common Mistakes
One of the most frequent mistakes is attempting to configure drive redirection while the RDP session is already active. Redirection settings are applied at the moment of connection; if you realize you forgot to share a drive, you must sign out of the remote session, close the RDP window entirely, adjust the settings in the "Local Resources" tab, and then reconnect. Simply disconnecting the session without signing out often preserves the previous session state, meaning the new drive settings will not take effect.
Another common error is confusing "Clipboard" sharing with "Drive" redirection. While enabling the "Clipboard" checkbox in the Local Resources tab allows you to copy and paste small snippets of text or very small files, it is not a reliable method for transferring large directories or files exceeding a few hundred megabytes. For substantial data transfers, drive redirection is the only stable native method.
Users also frequently forget to check the permissions of the destination folder on the remote server. Even if the local drive is visible, you cannot paste files into system folders (like C:\Windows or C:\Program Files) unless the user account you are using to log into the RDP session has administrative privileges on that remote machine.
Tips
To speed up the transfer of very large datasets, consider compressing your files into a single .zip or .7z archive before moving them. Transferring one large file is generally faster than transferring thousands of small files because it reduces the overhead of the file system creating new entries for every individual item over the network protocol.
If you frequently connect to the same remote server with the same drive settings, you can save your configuration. In the "General" tab of the Remote Desktop Connection window, click "Save As..." to create an .rdp file on your desktop. In the future, double-clicking this file will launch the connection with your drive redirection and display settings already configured, saving you from navigating the menus every time.
For those working in high-latency environments, avoid using the "Drag and Drop" method across the RDP window. Instead, use the right-click "Copy" and "Paste" method or move files directly within the File Explorer of the remote machine from the redirected drive. This is often more stable and less prone to crashing the explorer.exe process on the remote host.
Troubleshooting
If your local drives do not appear in the remote session's File Explorer, first check if the "Clipboard" and "Drives" options are definitely checked in your local RDP client settings. If they are, the issue is likely a Group Policy restriction on the remote server. Many corporate environments disable drive redirection for security reasons to prevent data exfiltration or the introduction of malware. If you are in a corporate environment, you will need to ask your IT administrator to enable "Allow drive redirection" in the Group Policy Editor under Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Device and Resource Redirection.
If the connection is established but the transfer is extremely slow or freezes, check your network stability. RDP file transfer relies on the same bandwidth as the visual stream. Try reducing the display quality in the "Experience" tab of the RDP client (e.g., changing the connection speed to "Low-speed broadband") to free up more bandwidth for data movement.
If you receive an "Access Denied" error when pasting files, ensure that the remote folder is not read-only and that you have write permissions. Try pasting the file into the "Downloads" or "Documents" folder of the remote user profile first, as these areas typically have the most permissive write access.
In cases where the RDP client hangs during a large transfer, restart the "Remote Desktop Services" on the host machine or restart the local PC. If the problem persists, ensure that your antivirus or firewall on either the local or remote machine is not flagging the redirected drive as a suspicious network share.
Frequently Asked Questions
Can I transfer files between RDP and a Mac?
Yes, by using the official Microsoft Remote Desktop app for macOS. The process is similar: go to the connection settings, find the "Folders" tab, and check the box to redirect folders from your Mac to the remote Windows PC.
Is it safe to redirect my entire C: drive to a remote server?
It is generally safe, but it gives the remote server access to your local files. If you are connecting to a server you do not trust, it is safer to map only a specific folder or a dedicated USB drive rather than your entire system drive.
Why is the copy-paste function not working for files?
This usually happens because only the "Clipboard" option is enabled, which is designed for text. To move files, you must enable "Drives" under the Local Resources > More menu as described in the step-by-step guide.
Does drive redirection work with cloud VMs like Azure or AWS?
Yes, drive redirection works with any Windows machine that supports RDP, including cloud-based virtual machines, provided the network security groups (NSG) or firewalls allow RDP traffic on port 3389.
Can I use a cloud storage service instead of RDP redirection?
Yes. If RDP redirection is blocked by policy, you can upload files to a service like OneDrive, Google Drive, or Dropbox on your local PC and then log into the web version of that service on the remote PC to download the files.