Connecting a USB webcam to an RDP Remote Desktop | INTROSERV
EUR
european

EUR

usa

USD

English En
Ex. VAT Ex. VAT 0%

Connecting a USB webcam to an RDP Remote Desktop

Modern versions of Windows include built-in camera (video capture) redirection over RDP. It lets a webcam connected to your local computer appear inside the remote session, with no low-level USB tinkering. This is the recommended method and it works over a normal RDP connection.

The older approach based on RemoteFX USB Redirection is kept at the end of this article as a legacy fallback for non-camera USB devices. For webcams it is unreliable and effectively requires a RemoteFX/RDS environment, so it is no longer the right tool for the job.

Requirements

Camera redirection has minimum version requirements on both sides:

  • Client (your local computer): Windows 10 version 1803 or later, or Windows 11.
  • Server (the remote machine): Windows Server 2019 or later. Windows Server 2022 and 2025 are supported.

Warning

Windows Server 2016 and earlier do not support camera redirection. On those systems the camera will not appear in the session regardless of the settings below. Use the legacy RemoteFX section only if you specifically need a non-camera USB device.

Step 1. Allow camera redirection on the server

By default the Remote Desktop Session Host blocks video capture redirection, so you have to enable it explicitly.

  1. On the server, press Win + R, type gpedit.msc and press Enter.
  2. Go to Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Device and Resource Redirection.
  3. Find the policy "Do not allow video capture redirection".
  4. Set it to Disabled.
  5. Info

    The setting uses a double negative. Disabling "Do not allow video capture redirection" is what allows the camera through. Disabled here means "redirection is permitted".

  6. Apply the policy. In most cases running gpupdate /force in an elevated Command Prompt is enough, so you do not have to reboot the server.

Info

You can confirm the result in the registry. Open regedit and go to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services. The value fDisableCameraRedir should be 0, which means camera redirection is allowed.

Step 2. Select the camera on the client

There are two ways to pass the local camera into the session.

Option A. The .rdp file

Open your .rdp file in a text editor and add the following line:

camerastoredirect:s:*

The asterisk redirects all available cameras.

Info

camerastoredirect takes a device interface identifier, not a raw Hardware ID. The * wildcard is the simplest choice and redirects every camera. Use it unless you have a specific reason to target one device.

Option B. The mstsc interface

  1. Open Remote Desktop Connection (mstsc).
  2. Open the Local Resources tab.
  3. Under Local devices and resources, click More.
  4. Expand Video capture devices and tick your camera.
  5. Connect to the server.

Step 3. Allow camera access on the client

Windows privacy settings can block applications from using the camera. Make sure access is allowed on your local computer:

  1. Open Settings > Privacy & security > Camera.
  2. Turn on Camera access.
  3. Turn on Let apps access your camera.

Info

If camera access is blocked here, the webcam will not be redirected into the session even when Steps 1 and 2 are correct.

Verify the camera inside the session

  1. Connect to the server over RDP.
  2. In the remote session, open the built-in Camera app.
  3. The image from your local webcam should appear.

Warning

Test with the Camera app, not with Microsoft Teams. Teams has its own camera optimization that is independent of RDP redirection, so it can succeed or fail for reasons unrelated to your settings and will give you a misleading result.

How to find a specific camera's device identifier

If you want to redirect only one camera (for the camerastoredirect value, or for the legacy method below), find its hardware ID:

  1. On the client, open Device Manager.
  2. Find the camera (under Cameras or Imaging devices), right-click it and choose Properties.
  3. Go to the Details tab.
  4. In the Property drop-down, select Hardware Ids.
  5. The value shows the vendor ID (VID_xxxx) and product ID (PID_xxxx).

Legacy method: RemoteFX USB redirection (for other USB devices)

Use this only for non-camera USB devices, or in environments where camera redirection is not available. It requires a RemoteFX-capable setup and is unreliable for webcams.

  1. On the client, open gpedit.msc and go to Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Connection Client > RemoteFX USB Device Redirection.
  2. Open "Allow RDP redirection of other supported RemoteFX USB devices from this computer".
  3. Set it to Enabled, set RemoteFX USB Redirection Access Rights to Administrators and Users, and click OK.
  4. Reboot the client.
  5. Add the device to the .rdp file. The asterisk redirects all supported RemoteFX USB devices:

usbdevicestoredirect:s:*

Или нацельтесь на конкретное устройство по его Hardware ID:

usbdevicestoredirect:s:USB\VID_046D&PID_0825

Or target a specific device by its Hardware ID:

usbdevicestoredirect:s:USB\VID_046D&PID_0825

Info

The ampersand between VID and PID must be written exactly as it appears in the hardware ID.

Troubleshooting

  • The camera does not appear in the session. Recheck Step 1 (server policy set to Disabled), Step 2 (the Video capture devices checkbox is ticked, or camerastoredirect:s:* is present), and the version requirements. Reconnect the session afterwards.
  • The camera appears but the image is black. Check Step 3 (privacy settings), and make sure no local application (a browser, OBS, another video app) is holding the camera, since some camera drivers allow only one application at a time. A software virtual camera (such as OBS Virtual Camera) will not redirect at all, because RDP redirects only real USB video devices.
  • It works in the Camera app but not in Microsoft Teams. This is expected. Teams uses its own camera path independent of RDP redirection.

VAT

  • Other

    Ex. VAT

    0%
  • austria

    Austria

    20%
  • Belgium

    Belgium

    21%
  • Bulgaria

    Bulgaria

    20%
  • Croatia

    Croatia

    25%
  • Cyprus

    Cyprus

    19%
  • Czech Republic

    Czech Republic

    21%
  • Denmark

    Denmark

    25%
  • Estonia

    Estonia

    22%
  • France

    France

    20%
  • Finland

    Finland

    24%
  • Germany

    Germany

    19%
  • Greece

    Greece

    24%
  • Hungary

    Hungary

    27%
  • Ireland

    Ireland

    23%
  • Italy

    Italy

    22%
  • Latvia

    Latvia

    21%
  • Lithuania

    Lithuania

    21%
  • Luxembourg

    Luxembourg

    17%
  • Malta

    Malta

    18%
  • Netherlands

    Netherlands

    21%
  • Poland

    Poland

    23%
  • Portugal

    Portugal

    23%
  • Romania

    Romania

    19%
  • Slovakia

    Slovakia

    20%
  • Slovenia

    Slovenia

    22%
  • Spain

    Spain

    21%
  • Sweden

    Sweden

    25%
  • USA

    USA

    0%
european
states
  • germany
  • Español
  • Italiano
  • Poland
  • Русский
  • Slovenski
  • Türkçe
  • ukraine
  • kingdom
  • French
  • Hrvatska
  • Other
  • Austria
  • Belgium
  • Bulgaria
  • Croatia
  • Cyprus
  • Czech Republic
  • Denmark
  • Estonia
  • Finland
  • France
  • Germany
  • Greece
  • Hungary
  • Ireland
  • Italy
  • Latvia
  • Lithuania
  • Luxembourg
  • Malta
  • Netherlands
  • Poland
  • Portugal
  • Romania
  • Slovakia
  • Slovenia
  • Spain
  • Sweden
  • USA