My OS is Windows 7 and I have a remote host Windows 8.1 that I can use RDP to redirect local usb device to windows 8.1. But the redirect USB doesn't work in windows 10 host. How can I enable it in windows 10?
问题:
回答1:
I too have had problems using RemoteFX USB Redirection
on a Windows 7 Client to a remote host on Azure running Windows 10 while the same machine configuration would successfully redirect USB to a Windows 8.1 Azure VM.
To be clear I've not had issues with the USB redirection for common devices (Flash drives, Printers, etc) that are supported with the vanilla setup of Remote Desktop. This type of USB redirection, for example, allowing me to see a Flash drive that I plug in to my Windows 7 client is working perfectly for me as I can see it in Explorer in the Azure VM.
A comparison of standard RDP redirection and RemoteFX redirection is detailed in this blog entry.
My particular USB redirection problem relates to the classes of devices not handled by the basic RDP high-level redirection, and for that I've enabled RemoteFX USB redirection on previous releases of Windows. When this is functioning correctly I get the computer icon ( )appear in the Remote Desktop title bar allowing me to select which device should be redirected to the VM.
Titlebar when RemoteFX USB Redirection Working
Following the instructions on numerous web resources for enabling RemoteFX USB redirection worked for me for earlier OS versions (i.e. Windows 8.1 on a Azure VM) but would not work for any Windows 10 VM I created. The titlebar stubbornly remained without the RemoteFX USB redirection feature.
Titlebar on Windows 10 when the USB redirection feature was not working
I finally stumbled across this thread which solved my problem.
It seems there is one more step needed on a Windows 10 host compared to previous OS versions and that is:
Run
gpedit.msc
on the target VM (the target windows 10 Virtual Machine) to start theGroup Policy Editor
.gpedit.msc
can be typed in from a run dialog (useWinKey+R
) if you have administrator access, or start an elevatedCMD.EXE
and typegpedit.msc
from the command line.Locate the item
Computer Configuration \ Administrative Templates \ Windows Components \ Remote Desktop Services \ Remote Desktop Session Host \ Device and Resource Redirection\ Do not allow supported Plug and Play device redirection
from the treeview of theGroup Policy Editor
.Bizarrely set this item to
Disabled
Run
gpupdate /force
from an elevated command promptAt least disconnect RDP session and connect again, if this does not work reboot target VM.
回答2:
You now need to update the machine's policy using gpupdate /force from the command line. Then reboot the machine for the change to actually take effect and enable the RemoteFX USB redirection option in your Remote Desktop Connection client. Once it's enabled, access the Local Resources tab, click More under Local devices and resources, and you'll see a new Other supports RemoteFX USB devices setting. You can use this setting to map through many types of USB hardware that you couldn't with vanilla RDP USB redirection.
回答3:
Do on both Physical Windows Machine and Remote Host
All edits are under the following:
Computer Configuration \ Administrative Templates \ Windows Components \ Remote Desktop Services \ >>
GPEdits:
- I also changed from "Administrators" to "Admins + Users"
Remote Desktop Connection Client \ RemoteFX USB Device Redirection \ All RDP Redirection (Enable)
Remote Desktop Session Host \ Remote Session Environment \ RemoteFX for Windows Server 2008 R2 \ Configure RemoteFX (Enable)
Remote Desktop Session Host \ Connections \ Allow users to connect remotely using Remote Desktop Services (Enable)
Remote Desktop Session Host \ Device and Resource Redirection\ Do not allow supported Plug and Play device redirection (Disable)
gpupdate /force in elevated CMD Prompt and reboot
回答4:
USB RemoteFX Passthrough Not working on Some PC's
I had multiple PC's that met the hardware specs but were missing the Remotefx option in RDP.
The solution was this:
in Programs & Features uninstall the "Intel(R) USB 3.0 eXtensible Host Controller Driver"
This driver is NOT compatible with RemoteFX passthrough.