Electronic Team uses cookies to personalize your experience on our website. By continuing to use this site, you agree to our cookie policy. Click here to learn more.

USB over RDP: Definitive Guide

Editorial Team Editorial Team Feb 5, 2025

Working with USB peripherals in a Remote Desktop environment can be challenging. However, there are several methods to simplify this process. Let’s explore a tutorial on using USB over RDP, considering the challenges involved and all possible solutions to address them. We will begin with the native Windows method.

USB over RDP Challenges

Redirecting local USB peripherals can pose challenges when using a thin client that connects to a more powerful server via Remote Desktop Protocol (RDP).
USB Redirection allows users to connect external devices to a server and access them from a remote desktop. However, there are several factors to consider:

  1. Network Capacity: Ensure the network can handle the device requirements for USB forwarding.
  2. Performance: Latency, bandwidth, and reliability can affect user experience when redirecting USB devices.
  3. Wide Area Networks (WANs): WANs can support remote workers, but they often have limited throughput, which can restrict device functionality.
  4. Local Area Networks (LANs): LANs generally perform better for USB redirection, with lower latency than WANs.
  5. Software Updates: Network administrators must keep Virtual Desktop Infrastructure (VDI) software updated to support USB redirection effectively.

Considering these factors will improve the usability of USB devices in remote desktop environments.

USB over RDP on Windows machine - native method

Step 1: Configure the Local (Client) Machine

The local machine is the computer from which you are initiating the Remote Desktop connection.

  1. 1
    Open the Remote Desktop Connection Tool:
    ⚬ Press Win + R to open the Run dialog.
    ⚬ Type mstsc and press Enter to launch the Remote Desktop Connection tool.
  2. 2
    Expand the RDP Options:
    ⚬ Click on the Show Options button in the bottom-left corner of the Remote Desktop Connection window.
  3. 3
    Enable USB Redirection:
    ⚬ Go to the Local Resources tab.
    ⚬ Under the Local devices and resources section, click the More… button.
  4. 4
    Select USB Devices:
    ⚬ In the Local devices and resources dialog:
    ❒ Check the box for Drives if your USB device is a storage device.
    ❒ Expand Other supported Plug and Play (PnP) devices and check the box for the USB device(s) you want to redirect. (For example, printers, scanners, etc., if supported.)
    ⚬ Click OK to save the settings.
  5. 5
    Save RDP Settings (Optional):
    ⚬ If you frequently use the same settings, save the RDP configuration:
    ❒ Go to the General tab.
    ❒ Click Save As… to create an .rdp file with your settings.

    Create profile

Step 2: Connect to the Remote (Server) Machine

  1. 1
    Establish the Remote Desktop Session:
    ⚬ In the General tab of the Remote Desktop Connection tool, enter the name or IP address of the remote computer.
    ⚬ Click Connect.
  2. 2
    Access USB Devices on the Remote Desktop:
    ⚬ Once logged in to the remote computer, check for your redirected USB devices:
    For Storage Devices: Open File Explorer and go to This PC. Your USB drive will appear under the "Redirected drives and folders" section.
    For Printers or Other Devices: Open the relevant application or settings to access the redirected device.

Step 3: Configure the Remote (Server) Machine

The remote machine (server) must allow USB redirection.

  1. 1
    Verify Group Policy Settings:
    ⚬ On the remote machine, press Win + R, type gpedit.msc, and press Enter.

    Navigate to:
    Copy code
    Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Device and Resource Redirection

    ⚬ Ensure the following policies are set to Enabled:
    Do not allow supported Plug and Play device redirection: Set to Disabled.
    ❒ Allow RDP redirection of other supported RemoteFX USB devices from this computer:
    Set to Enabled.
  2. 2
    Verify RDP Listener Settings:
    ⚬ Open Server Manager or a PowerShell session.
    ⚬ Ensure the RDP service is running and configured to accept device redirection.
  3. 3
    Check Remote Desktop Licensing:
    ⚬ If using Remote Desktop Services (RDS), ensure the proper license is in place, as some advanced USB redirection features may require it.

Remote Desktop Server Configuration

Ensure the following settings are configured on the remote desktop server:

  • Group Policy:
    ⚬ Open the Group Policy Editor (gpedit.msc).
    ⚬ Navigate to Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Device and Resource Redirection.
    ⚬ Enable the necessary redirection policies, such as "Allow audio and video playback redirection" or "Redirect supported Plug and Play devices".

  • RDP Configuration:
    ⚬ Ensure that USB redirection is enabled in the RDP session settings.

USB over RDP software - third-party solution guide

If you want to connect to a local USB device from a remote desktop, there’s probably no better solution than USB Network Gate by Electronic Team, Inc. This dedicated app is designed to redirect USB peripherals over RDP in such a way that they appear on a remote machine like they were physically attached to that computer.

UNG logo
USB Network Gate
4.9 Rank based on 372+ users, Reviews(372)
Try for Free 14-day trial, You can share only 1 local USB-device
 USB for Remote Desktop

USB Network Gate (UNG) connects USB devices to a remote desktop. To take advantage of the app’s powerful functionality, you should install the utility on both computers: the one that has the device attached (UNG Server) and the one that will connect to it remotely (UNG Client).

USB Network Gate is a convenient tool that combines Server and Client parts for RDP USB passthrough.

  1. 1
    On your local PC (where you run Microsoft RDP client), you’ll need to use the Server part of the software to share peripherals for redirection over RDP.
  2. 2
    On the remote computer (where the RDP Server component is installed), you should use the Client part of USB Network Gate for creating a remote connection to the shared device.

It’s worth noting that USB Network Gate requires activation. You need to activate the software for using it on the server computer (UNG Server). After that, you will be able to forward the USB device to the remote desktop. As for the Client part, it doesn’t need to be registered. You can install the app and use the Client module on an unlimited number of remote machines to connect to shared devices for free.

So, once you create a connection to a shared peripheral, the device shows up in the Device Manager of the RDP Server and all applications installed on that machine recognize the peripheral as though it were attached locally.

Note: Starting from version 7.x, USB Network Gate supports the ICA protocol, which means you can forward devices from a thin client to the terminal server over ICA.

USB to Remote Desktop software hosts versions for Windows, Linux, and Mac, so any server-client combination is possible. For example, your Windows PC can easily connect to a USB device from Mac or the other way around.

Try USB for Remote Desktop now
14-day free trial

How to connect USB to remote desktop

Here’s how USB redirection over RDP works. Let's consider the process step-by-step:

What you should do on the local PC (terminal server):
1
Install USB Network Gate and start it.
 install usb network gate
2
Find the required USB port/device in the “Local USB devices” tab and click “Share” next to it.
 Select USB device
3
Connect to the remote desktop via Remote Desktop Connection.
4
Once you are done with the setup, click ‘Finish’. You might have to restart your PC or laptop to see the device.
On the remote client:
1
Once connected to the remote server via RDP, start USB Network Gate and go to the “Remote devices” tab.
 Share USB device
2
What’s convenient is that the software will display only those USB devices that are shared on the host computer. Though you’ll still be able to search for USB devices on the network.
3
Also, you can enable the “RDP auto-connect” option, and all of your connections to devices in the Remote Desktop session will be re-established automatically without the need to start the program GUI.

A software solution for USB over RDP Mac support

USB Network Gate is a professional software application that makes it possible to securely connect to any USB device from a Mac running an RDP client.

mac remote desktop share usb

Use the following steps to share a physically connected USB device with a Remote Desktop session running on your Mac.

  1. Download and install USB Network Gate on your Mac.

  2. Start USB Network Gate on the Mac and navigate to the Local USB Devices tab. A list will be displayed showing you the devices that are physically attached to the computer. Select the device that will be made available to RDP sessions by clicking the Share button next to its name.

  3. Next, install the RDP client for Mac - xfreerdp. It is a prerequisite to install the home-brew installation app before proceeding. Then execute the following command:

    brew install freerdp.

  4. When the installation is complete, launch the macOS Terminal application and run this command:

    xfreerdp --plugin usb4rdp <remote address="">

    parameter with the <remote address=""> remote server’s IP address/domain name/computer name.

    The previous command starts the xfreerdp RDP client and the plugin from the Electronic Team. This enables the user with the RDP session to use the functionality of USB Network Gate.

  5. You can use the following command to load additional plugins available for freeRDP.

    xfreerdp --plugin cliprdr --plugin usb4rdp xxx.xx.xx.xx

    This command launches the RDP client xfreerdp along with the cliprdr and usb4rdp plugins. This allows you to synchronize the clipboard data between the terminal server and the client.

  6. Start xfreerdp with the following options if you plan to share an audio device over RDP.

    xfreerdp --plugin usb4rdp -0 -o server

    This command uses the functionality of USB Network Gate to redirect the audio device instead of the native capabilities of the RDP client.

Important notes:

  • The usb4rdp plugin available from Electronic Team is compatible with version 1.0+ of xfreerdp.
  • On Macs running OS X versions 10.8 or newer, the latest edition of XQuartz should also be installed.
  • The encryption, authorization, and compression options are not available when using USB devices in an RDP session on a Mac.

USB over RDP software benefits

USB over RDP

Accessing USB devices during Remote Desktop sessions can be quite a challenge for many users. Most USB for Remote Desktop Solutions can solve these issues. But USB Network Gate offers even more benefits:

  • A cross-platform solution that works perfectly well on Windows and Linux platforms. USB to Remote Desktop allows you to connect USB equipment to remote desktops over Microsoft RDP and Citrix ICA protocols.

  • The utility supports a wide range of USB devices, starting from standard USB flash drives and finishing with USB Wi-Fi adapters, portable thermometers, and gamepads.

  • As USB Network Gate is aimed at sharing USB ports rather than devices, it will connect a local USB device to a remote desktop automatically immediately after you connect it to a shared port. In this case, you don't even have to make any additional configuration.

  • Per-session USB device isolation allows specific USB devices to be assigned to individual users, making it particularly beneficial in a multi-user environment. This feature ensures that users' USB devices are isolated within their Remote Desktop Protocol (RDP) sessions, meaning these devices will not be visible or accessible to other users. Currently, USB device isolation is supported for USB flash drives and USB cameras in test mode. To enable USB device isolation during an RDP session, simply select the corresponding option when connecting to the shared USB device over the RDP protocol.
Try USB redirector RDP software now
14-day free trial

What devices can be shared over RDP?

Some USB devices provide better performance when used in a remote desktop session. This should be taken into account by an IT team that configures access to USB devices within an RDP environment.

Note that devices that require substantial resources are not good candidates for USB redirection.

ung
Share any USB device over Remote Desktop

Frequently Asked Questions about USB over RDP Connections

Generic USB Redirection is a feature that enables the Citrix USB redirection of varying devices from client computers to virtual desktops.

Generic USB Redirection manages request and response communication amongst XenDesktop VMs and client PCs at low levels. As long as the required device drivers are installed on the virtual desktop, one can avoid the hassle that occurs when installing them on client machines.

Using Generic USB Redirection allows users to access and control an array of USB devices through XenDesktop sessions. Users enjoy full control of their USB devices with the same level of functionality that one would experience if the device was plugged directly into the virtual machine.

Thin clients use Remote Desktop Protocol, Citrix ICA, or any other communication protocols as a way of connecting to the terminal servers. This allows for remote printing, audio support, serial device support, terminal emulation, and support for USB devices.

Usually, when a USB device is connected to a thin client via a physical port, it becomes immediately accessible during local sessions. However, a thin client USB passthrough can come with few challenges:

  • Lots of USB devices are not suited for redirection over RDP by default. And those that can be redirected, often encounter various compatibility issues.
  • All users working on the same server can access the USB devices redirected from different thin clients.

Incorporating dedicated software for thin client USB redirection is the most convenient way to deal with these challenges.

Poor support or inability to connect complex USB devices (like scanners or webcams with the built-in microphone) over RDP is a typical problem with Linux RDP USB redirection.

Usually, Linux RDP clients are capable of redirecting some generic USB devices among which are printers and USB hard drives. To make this list larger, you can use USB Network Gate to share USB devices over RDP on Linux.

Unfortunately, Google Chrome Remote Desktop does not provide a native method for sharing USB devices over Chrome Remote Desktop, which is a great functionality limitation. This issue has been around for years, but still, Google has not offered native support for Chrome Remote Desktop USB redirection.

Fortunately, USB Network Gate solves the problem and enables users to gain full control over USB devices from within Chrome Remote Desktop instances.

USB Network Gate
Redirect USB devices over network
14-day Free Trial available
License price starts at $159.95
Available for