Forum Discussion
(WVD) Windows Virtual Desktop USB Redirection Full
Where you wrote:
"We ran the powershell command for usb devices with the value devicestoredirect:s:*"
Could you please provide the full powershell command you used to enable this device?
Thanks.
otde5000 - Thank you! This now works for me as well.
toby skerritt- the PowerShell i used to set my custom RDP properties was this:
#get pool settings before you change it
Get-AzWvdHostPool | select name,customrdpproperty
#set Variable for pool settings
$rdpproperty = 'audiocapturemode:i:1;audiomode:i:0;drivestoredirect:s:;redirectclipboard:i:1;redirectcomports:i:0;redirectprinters:i:1;redirectsmartcards:i:0;screen mode id:i:2;autoreconnection enabled:i:1;redirected video capture encoding quality:i:0;camerastoredirect:s:*;devicestoredirect:s:*'
#update 6 pools with the setting
Update-AzWvdHostPool -CustomRdpProperty $rdpproperty -Name WVD-W7-Pool1 -ResourceGroupName WVD-W7-Pool1
Update-AzWvdHostPool -CustomRdpProperty $rdpproperty -Name WVD-W7-Pool2 -ResourceGroupName WVD-W7-Pool2
Update-AzWvdHostPool -CustomRdpProperty $rdpproperty -Name WVD-W7-Pool3 -ResourceGroupName WVD-W7-Pool3
Update-AzWvdHostPool -CustomRdpProperty $rdpproperty -Name WVD-W7-Pool5 -ResourceGroupName WVD-W7-Pool5
Update-AzWvdHostPool -CustomRdpProperty $rdpproperty -Name WVD-W7-Pool6 -ResourceGroupName WVD-W7-Pool6
Update-AzWvdHostPool -CustomRdpProperty $rdpproperty -Name WVD-W7-Pool8 -ResourceGroupName WVD-W7-Pool8
#confirm setting took
Get-AzWvdHostPool | select name,customrdpproperty
To anyone trying to set this up via GPO these settings worked for me:
Set on the Windows 7 Enterprise WVD VM:
set on client computer or Win10IOT thin client:
Also on the client I set a group policy preference to make it auto-connect the pedal in the session:
Human Interface Devices is {745a17a0-74d3-11d0-b6fe-00a0c90f57da} so if you want them selected automatically you can set this key.
All device classes can be found here:
https://docs.microsoft.com/en-us/windows-hardware/drivers/install/system-defined-device-setup-classes-available-to-vendors
And this article was helpful:
https://support.microsoft.com/en-us/help/2653326/some-usb-devices-are-not-available-through-remotefx-usb-redirection