Forum Discussion
Wrapmaster4500
Feb 10, 2020Copper Contributor
(WVD) Windows Virtual Desktop USB Redirection Full
Hi Guys, I was wondering if there are plans for (or if it is already available) adding USB redirection - for Other Supported RemoteFX USB devices , which is available using RDS and MSTSC, and wa...
otde5000
May 18, 2020Copper Contributor
Hello,
I was in a similar boat as you setting up a WVD terminal environment which needed foot pedals to redirect for legal dictations that many users use.
So far, I was able to get the foot pedals to redirect successfully to our WVD.
We ran the powershell command for usb devices with the value devicestoredirect:s:*
There are some additional powershell commands here to check out.
https://docs.microsoft.com/en-us/azure/virtual-desktop/customize-rdp-properties
We additionally configured RemoteFX USB redirection on both the server AND the client computer.
From there, force out the gpudate, and reboot for good measure. When I logged back into the WVD, we were able to pull up a menu with local USB connected devices that we can connect.
The footpedal still needs to be tested, but I wanted update my progress.
toby skerritt
May 19, 2020Copper Contributor
Hi, thanks for this useful information.
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.
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.
- otde5000May 19, 2020Copper Contributor
In Azure, using the powershell console I used:
Update-AzWvdHostPool -ResourceGroupName <resourcegroup> -Name <hostpoolname> -CustomRdpProperty devicestoredirect:s:*
Any time a new resource group is created with intentions of having a host pool, we need to run this command and reboot.
Client Side GPO (on a non domain joined laptop, by the way):
Server Side GPO:
- toby skerrittMay 20, 2020Copper Contributor
- otde5000May 26, 2020Copper Contributor
One more update pertaining to this -
We had to work with the dictation vendor to obtain a terminal service plug in to install on both the Virtual Desktop and the client computer.
While remoteFX did redirect the USB footpedal to the desktop, we needed the necessary terminal plug ins to be able to use it in the dictation app itself. Once those plug ins were installed on both the virtual desktop and the client device, it pulled through and we were able to configure and use the foot pedal in the app. RemoteFX was not needed. May be different in your case, just wanted to post an update.
- AndrewPhebusMay 19, 2020Brass Contributor
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:
And this article was helpful: