Submit a request

Nerdio Help Center

How to pass-through Audio and Video in WVD

Here we will show you how to pass-through (a.k.a redirect) microphone and web cameras to your WVD session hosts. It is also possible to pass through USB and other devices; see the included link to Microsoft documentation that describe all the properties available, and their supported WVD settings.

You can paste everything below into Powershell ISE and use the F8 key to run the line your keyboard caret is currently on. Use keyboard arrows or your mouse to move down the commands in order.

Note:  Any support for hardware, cameras and microphones should come directly from the original equipment manufacturer.  Nerdio does not include any drivers and mechanisms to support the functionality of those redirected devices.

Let's get started.

# Get the modules you need

Install-Module -Name Microsoft.RDInfra.RDPowerShell
Import-Module -Name Microsoft.RDInfra.RDPowerShell

# Set the name of the pool you are changing (change if not A, of course)

$pool = "pool-a" 

# Log in to the WVD account. Here you need global admin on the Azure AD Tenant and ownership to the WVD tenant
# Usually the original has this. If not, your CSP can help you secure an account with this access.

Add-RdsAccount -DeploymentUrl ""

# An easy way to get the correct tenant name

$tenant = Get-RdsTenant | select -ExpandProperty tenantname

# Incase you were curious

echo $tenant

# This next command shows us the current pool settings.
# In the output note what is set for CustomRdpProperty before your changes

Get-RdsHostPool -TenantName $tenant -Name $pool

# Now we will SET the property you want.
#  NOTE: In the example below we set Microphone and All Camera pass through.
#  ----- All Properties listed at the link below.
# Supported Remote Desktop RDP file settings -

# Before continuing, Make sure you understand which properties YOU are changing and test accordingly.
# Nerdio cannot help you troubleshoot your changes -- you must escalate any that are not working directly to Microsoft through a ticket with your CSP.
# You can revert back to the default string at any time, which is ""

Set-RdsHostPool -TenantName $tenant -Name $pool -CustomRdpProperty "audiocapturemode:i:1;camerastoredirect:s:*;"

# Now you will check your work. 

Get-RdsHostPool -TenantName $tenant -Name $pool

Do you see the CustomRdpProperty you changed? And no syntax errors? Great job! Now it's time to test. Make sure to unsubscribe the Remote Desktop app, and resubscribe. Then log in to a fresh session and see if everything works as expected. 


If this article helped you, we ask that you help others too; feel free to Comment Below with some of the properties you've changed, and why.

Was this article helpful?
0 out of 0 found this helpful


Article is closed for comments.