我的操作系统是Windows 7,我有一个远程主机Windows 8.1,我可以使用RDP将本地USB设备重定向到Windows 8.1。但重定向USB在Windows 10主机中不起作用。如何在Windows 10中启用它?
答案 0 :(得分:20)
我在使用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。
按照许多Web资源上的说明启用RemoteFX USB重定向适用于早期操作系统版本(即Azure VM上的Windows 8.1),但不适用于我创建的任何Windows 10 VM。标题栏固执地没有RemoteFX USB重定向功能。
我终于偶然发现了解决我问题的thread。
与以前的操作系统版本相比,Windows 10主机上还需要一个步骤,那就是:
在目标VM(目标Windows 10虚拟机)上运行gpedit.msc
以启动Group Policy Editor
。如果您具有管理员访问权限,则可以从运行对话框(使用 WinKey + R )输入gpedit.msc
,或者启动提升的CMD.EXE
并键入来自命令行的gpedit.msc
。
从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
。
从提升的命令提示符运行gpupdate /force
。
至少断开RDP会话并再次连接,如果这不起作用,请重启目标虚拟机。
答案 1 :(得分:4)
您现在需要使用更新机器的策略 命令行中的gpupdate / force。然后重新启动计算机以使更改生效,并在远程桌面连接客户端中启用RemoteFX USB重定向选项。 启用后,访问“本地资源”选项卡,单击“本地设备和资源”下的“更多”,您将看到一个新的“其他支持RemoteFX USB设备”设置。您可以使用此设置来映射您无法使用vanilla RDP USB重定向的许多类型的USB硬件。
答案 2 :(得分:4)
在物理Windows机器和远程主机上执行
所有修改均在以下内容中进行:
Computer Configuration \ Administrative Templates \ Windows Components \ Remote Desktop Services \ >>
GPEdits:
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
答案 3 :(得分:2)
USB RemoteFX Passthrough无法在某些PC上运行
我有多台PC符合硬件规格,但在RDP中缺少Remotefx选项。
解决方案是:
程序&中的功能卸载“英特尔(R)USB 3.0可扩展主机控制器驱动程序”
此驱动程序与RemoteFX passthrough不兼容。