DashRDP
Remote Desktop

How to Enable WebCam, Audio, and Video Redirection in Windows RDP

Part 1: Client RDP File Configuration & Code (Steps 1–5) Configure your local Remote Desktop connection file to send camera video streams and microphone audio...

How to Enable WebCam, Audio, and Video Redirection in Windows RDP
6 min read

Last updated on July 30, 2026

Share this article

Part 1: Client RDP File Configuration & Code (Steps 1–5) 

Configure your local Remote Desktop connection file to send camera video streams and microphone audio feeds across the Remote Desktop Protocol (RDP) virtual channels. 

Step 1: Open RDP File in Notepad 

Locate your webcam.rdp connection file on your desktop. Right-click the file and select Edit in  Notepad (or Notepad++). 

Step 1: Right-click your .rdp shortcut file and select Edit in Notepad.

Step 2: Verify & Edit Complete RDP Configuration Code

Below is the complete, production-ready webcam (1).rdp configuration code with webcam  redirection (camerastoredirect:s:*), microphone capture (audiocapturemode:i:1), drive pass through, and Plug-and-Play (PnP) device redirection enabled. Copy and paste this directly into  your .rdp file: 

WEBCAM (1).RDP FILE CODE 

screen mode id:i:2 
use multimon:i:0 
desktopwidth:i:1920 
desktopheight:i:1080 
session bpp:i:32 
winposstr:s:0,1,0,0,800,600 
compression:i:1 
keyboardhook:i:2 
audiocapturemode:i:1 
videocapturemode:i:1 
camerastoredirect:s:* 
devicestoredirect:s:* 
redirectdrives:i:1 
redirectprinters:i:1 
redirectcomports:i:0 
redirectsmartcards:i:1 
displayconnectionbar:i:1 
autoreconnection enabled:i:1 
authentication level:i:2 
prompt for credentials:i:1 
negotiate security layer:i:1 
remoteapplicationmode:i:0 
alternate shell:s: 
shell working directory:s: 
gatewayhostname:s: 
gatewayusagemethod:i:0 
gatewaycredentialssource:i:4 
gatewayprofileusagemethod:i:0 
promptcredentialonce:i:1 
gatewaybrokeringtype:i:0 
use redirection server name:i:0 
rdgiskanspnooverride:i:0 
networkautodetect:i:1 
bandwidthautodetect:i:1 
connection type:i:7 
full address:s:66.181.39.205

Step 2: Verify full address and camerastoredirect settings in Notepad. 

Step 3: Save the .RDP File Configuration 

Click File -> Save (or press Ctrl + S) to store your connection settings.

Step 3: Save changes to the RDP configuration file.

Step 4: Enable Local Resource Redirection in RDP Launch Prompt

Double-click your webcam.rdp file. When the Remote Desktop Connection security warning dialog  appears, check all required local resource boxes: 

• Cameras and other video capture devices 

• Microphones and other audio recording devices 

• Drives & Other supported Plug and Play (PnP) devices 

• Clipboard 

Click Connect

Step 4: Select Cameras, Microphones, Drives, and Plug & Play devices in the RDP launch prompt.

Step 5: Enter Windows Server Administrator Credentials 

Type your Windows Administrator password when prompted by Windows Security and click OK to  connect to your VPS.

Step 5: Enter Administrator credentials to sign into the remote server. 

Part 2: Windows Server PowerShell Script Execution (Steps 6–10) 

Configure Windows Server features, audio endpoint services, and Terminal Services registry policy  keys using the automated DashRDP script. 

Step 6: Open Notepad on Windows Server and Paste Script 

On your Windows VPS desktop, open Notepad and paste the automated DashRDP WebCam  Script. 

Step 6: Open Notepad on Windows Server and paste the DashRDP script. 

Step 7: Copy the Complete PowerShell Script Code

Highlight the script code, right-click, and select Copy (or press Ctrl + A then Ctrl + C). 

DASHRDP WEBCAM POWERSHELL SCRIPT 

# 1. Install Remote Desktop Services & Server-Media-Foundation 
Install-WindowsFeature -Name Remote-Desktop-Services, RDS-RD-Server, Server-Media Foundation -IncludeAllSubFeature 

# 2. Configure Terminal Services Group Policies for Audio & Video Redirection $RegPath = "HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" If (-NOT (Test-Path $RegPath)) { New-Item -Path $RegPath -Force } 

Set-ItemProperty -Path $RegPath -Name "fAllowAudioRedirection" -Value 1 -PropertyType DWORD  -Force 

Set-ItemProperty -Path $RegPath -Name "fAllowVideoPlayback" -Value 1 -PropertyType DWORD - Force 

Set-ItemProperty -Path $RegPath -Name "fDisableCamRedirection" -Value 0 -PropertyType DWORD  -Force 

Set-ItemProperty -Path $RegPath -Name "fDisablePNPRedirection" -Value 0 -PropertyType DWORD  -Force 

Set-ItemProperty -Path $RegPath -Name "RedirectionWarningDialogVersion" -Value 1 - PropertyType DWORD -Force 

# 3. Auto-Start Required Windows Audio & Plug-and-Play Services 

Set-Service -Name "Audiosrv" -StartupType Automatic ; Start-Service -Name "Audiosrv" - ErrorAction SilentlyContinue 

Set-Service -Name "AudioEndpointBuilder" -StartupType Automatic ; Start-Service -Name  "AudioEndpointBuilder" -ErrorAction SilentlyContinue 

Set-Service -Name "UmRdpService" -StartupType Automatic ; Start-Service -Name  "UmRdpService" -ErrorAction SilentlyContinue 

# 4. Enable Camera & Microphone Privacy Consent Permissions 

$PrivacyPath =  

"HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore" New-ItemProperty -Path "$PrivacyPath\webcam" -Name "Value" -Value "Allow" -PropertyType  String -Force -ErrorAction SilentlyContinue 

New-ItemProperty -Path "$PrivacyPath\microphone" -Name "Value" -Value "Allow" -PropertyType  String -Force -ErrorAction SilentlyContinue 

# 5. Reboot Windows Server to Apply Redirection Policy 

Restart-Computer -Force

Step 7: Copy the script text to clipboard.

How Windows Controls Camera Redirection

Microsoft’s official guide to camera, webcam and video capture redirection over RDP explains that camera access is controlled by both the remote session host policy and the RDP connection settings.

The camerastoredirect:s:* property requests that applicable cameras be redirected from the local device, while Group Policy determines whether the remote Windows environment allows video capture redirection. If one setting blocks camera access, enabling it only in the .rdp file may not be enough because the most restrictive setting takes priority.

After changing the server-side redirection policy, restart the remote server before reconnecting and testing the webcam in a supported application

Step 8: Open Windows PowerShell as Administrator 

Open the Start menu on Windows Server, search for PowerShell, right-click it, and select Run as administrator

Step 8: Open Windows PowerShell as Administrator. 

Step 9: Paste Script into PowerShell Console 

Right-click inside the black PowerShell console window to paste the copied commands.

Step 9: Paste the script commands directly into PowerShell. 

Step 10: Press Enter to Execute Script & Restart Server 

Press Enter to install Server-Media-Foundation, set registry policies, start audio services, and  trigger Restart-Computer -Force.

Step 10: Press Enter to execute the script and reboot the remote server.

Part 3: Reconnection & Camera Privacy Setup (Steps 11–14) 

Reconnect to your VPS and enable application privacy access for camera and microphone streams. 

Step 11: Reconnect via webcam.rdp Shortcut 

Once your Windows VPS completes restarting (approx 30-60 seconds), double-click webcam.rdp on your local desktop to reconnect. 

Step 11: Double-click webcam.rdp to reconnect to your server after reboot.

Step 12: Confirm Resource Redirection Dialog 

Verify that Camera, Microphone, Drives, and Clipboard access are selected, and click Connect.

Step 12: Confirm resource redirection permissions and click Connect.

Step 13: Open Camera Privacy Settings in Windows Start Menu 


Inside your remote Windows Server session, click Start and search for Camera privacy settings. 

Step 13: Search for Camera Privacy Settings on Windows Server.

Step 14: Toggle Camera Access to ON 

Under Allow apps to access your camera, ensure the toggle switch is set to ON. Perform the same check for Microphone settings.

If you’re setting up webcam, audio, and video redirection on a new remote server, using a reliable Windows VPS is essential for smooth performance. Users looking to buy RDP USA can choose a secure, high-performance Windows RDP solution that supports multimedia workloads, remote collaboration, and business applications with low latency. 

Step 14: Set ‘Allow apps to access your camera’ to ON. 

High-Speed RDP Multimedia Performance with DashRDP 

Enabling WebCam, Microphone, and Audio/Video redirection transforms your Windows Remote  Desktop into a complete virtual workstation for remote meetings, video recording, and team  collaboration. 

Summary

This guide explains how to enable webcam, microphone, audio, and video redirection in Windows Remote Desktop. It covers editing the .rdp file, enabling local cameras and audio recording devices, configuring Windows Server policies with PowerShell, restarting the server, and allowing camera and microphone privacy permissions. Whether you buy rdp admin for remote work or IT management, these steps help you create a fully compatible Windows RDP environment for video conferencing, multimedia applications, remote recording, and seamless team collaboration. 

Share this article