【发布时间】:2016-02-16 14:43:22
【问题描述】:
我的操作系统是 Windows 7,我有一个远程主机 Windows 8.1,我可以使用 RDP 将本地 USB 设备重定向到 Windows 8.1。但是重定向 USB 在 Windows 10 主机中不起作用。如何在 Windows 10 中启用它?
【问题讨论】:
我的操作系统是 Windows 7,我有一个远程主机 Windows 8.1,我可以使用 RDP 将本地 USB 设备重定向到 Windows 8.1。但是重定向 USB 在 Windows 10 主机中不起作用。如何在 Windows 10 中启用它?
【问题讨论】:
在物理 Windows 机器和远程主机上执行
所有修改都在以下:
Computer Configuration \ Administrative Templates \ Windows Components \ Remote Desktop Services \ >>
GP编辑:
Remote Desktop Connection Client \ RemoteFX USB Device Redirection \ Allow RDP redirection of other supported RemoteFX USB devices from this computer (Enabled)
Remote Desktop Session Host \ Remote Session Environment \ RemoteFX for Windows Server 2008 R2 \ Configure RemoteFX (Enabled)
Remote Desktop Session Host \ Connections \ Allow users to connect remotely by using Remote Desktop Services (Enabled)
Remote Desktop Session Host \ Device and Resource Redirection\ Do not allow supported Plug and Play device redirection (Disabled)
gpupdate /force in elevated CMD Prompt and reboot
【讨论】:
我在 Windows 7 客户端上使用 RemoteFX USB Redirection 到运行 Windows 10 的 Azure 上的远程主机时也遇到了问题,而相同的机器配置可以成功地将 USB 重定向到 Windows 8.1 Azure VM。
需要明确的是,我没有遇到远程桌面的 vanilla 设置支持的常见设备(闪存驱动器、打印机等)的 USB 重定向问题。例如,这种类型的 USB 重定向允许我看到插入到我的 Windows 7 客户端的闪存驱动器对我来说非常有效,因为我可以在 Azure VM 的资源管理器中看到它。
此blog 条目详细介绍了标准 RDP 重定向和 RemoteFX 重定向的比较。
我的特定 USB 重定向问题与基本 RDP 高级重定向未处理的设备类有关,为此,我已在以前版本的 Windows 上启用 RemoteFX USB 重定向。当此功能正常运行时,远程桌面标题栏中会出现计算机图标 (),允许我选择应将哪个设备重定向到 VM。
按照有关启用 RemoteFX USB 重定向的众多 Web 资源的说明,我适用于早期操作系统版本(即 Azure VM 上的 Windows 8.1),但不适用于我创建的任何 Windows 10 VM。标题栏固执地没有 RemoteFX USB 重定向功能。
我终于偶然发现了这个thread,它解决了我的问题。
与以前的操作系统版本相比,Windows 10 主机似乎还需要一个步骤,那就是:
在目标 VM(目标 windows 10 虚拟机)上运行 gpedit.msc 以启动 Group Policy Editor。 gpedit.msc 可以在运行对话框中输入(使用 WinKey+R),如果您有管理员权限,或者启动提升的CMD.EXE 并输入gpedit.msc from命令行。
从Group Policy Editor 的树形视图中找到项目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。
奇怪地将此项设置为Disabled。
从提升的命令提示符运行 gpupdate /force。
至少断开 RDP 会话并重新连接,如果这不起作用重新启动目标 VM。
【讨论】:
USB RemoteFX Passthrough 在某些 PC 上不起作用
我有多台符合硬件规格的 PC,但在 RDP 中缺少 Remotefx 选项。
解决办法是这样的:
在程序和功能中卸载“Intel(R) USB 3.0 eXtensible Host Controller Driver”
此驱动程序与 RemoteFX passthrough 不兼容。
【讨论】:
您现在需要使用更新机器的策略 gpupdate /force 从命令行。然后重新启动计算机以使更改实际生效并在远程桌面连接客户端中启用 RemoteFX USB 重定向选项。 启用后,访问“本地资源”选项卡,单击“本地设备和资源”下的“更多”,您将看到新的“其他支持 RemoteFX USB 设备”设置。您可以使用此设置映射多种类型的 USB 硬件,而普通 RDP USB 重定向则无法实现。
【讨论】: