我也遇到过使用问题RemoteFX USB Redirection
Windows 7 客户端上的 USB 传输到运行 Windows 10 的 Azure 远程主机,而相同的计算机配置将成功地将 USB 重定向到 Windows 8.1 Azure VM。
需要明确的是,对于远程桌面的普通设置支持的常见设备(闪存驱动器、打印机等),我没有遇到过 USB 重定向问题。例如,这种类型的 USB 重定向允许我查看插入 Windows 7 客户端的闪存驱动器,这对我来说非常适合,因为我可以在 Azure VM 的资源管理器中看到它。
标准 RDP 重定向和 RemoteFX 重定向的比较详细信息请参见blog https://techcommunity.microsoft.com/t5/Enterprise-Mobility-Security/Introducing-Microsoft-RemoteFX-USB-Redirection-Part-1/ba-p/247035 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 the computer icon () appears in the Remote Desktop title bar allowing me to select which device should be redirected to the VM.
Titlebar when RemoteFX USB Redirection is working
按照大量 Web 资源上的说明启用 RemoteFX USB 重定向对我来说适用于早期操作系统版本(即 Azure VM 上的 Windows 8.1),但不适用于我创建的任何 Windows 10 VM。标题栏顽固地保留着没有 RemoteFX USB 重定向功能。
Titlebar when RemoteFX USB Redirection was not working
我终于偶然发现了这个thread https://social.technet.microsoft.com/Forums/en-US/dd35353f-6056-4249-aaeb-57c6ab2588ae/usb-redirectionremotefx-windows-10-enterprise?forum=win10itprogeneral这解决了我的问题。
与之前的操作系统版本相比,Windows 10 主机似乎还需要执行以下步骤:
Run gpedit.msc
on the target VM (the target windows 10 Virtual Machine) to start the Group Policy Editor
. gpedit.msc
can be typed in from a run dialog (use WinKey+R) if you have administrator access, or start an elevated CMD.EXE
and type gpedit.msc
from the command line.
找到该项目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
从树视图Group Policy Editor
.
奇怪的是将此项目设置为Disabled
.
Run gpupdate /force
从提升的命令提示符。
至少断开 RDP 会话并再次连接,如果这不起作用,请重新启动目标虚拟机。