如何在 Windows 10 中启用 USB 重定向 [英] How to enable USB Redirection in Windows 10

查看:47
本文介绍了如何在 Windows 10 中启用 USB 重定向的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的操作系统是 Windows 7,我有一个远程主机 Windows 8.1,我可以使用 RDP 将本地 USB 设备重定向到 Windows 8.1.但是重定向 USB 在 Windows 10 主机中不起作用.如何在 Windows 10 中启用它?

解决方案

我在使用 RemoteFX USB Redirection 在 Windows 7 客户端到运行 Windows 10 的 Azure 上的远程主机时也遇到了问题,而相同的机器配置将成功地将 USB 重定向到 Windows 8.1 Azure VM.

需要明确的是,对于远程桌面的 vanilla 设置支持的常见设备(闪存驱动器、打印机等),我没有遇到 USB 重定向问题.例如,这种类型的 USB 重定向让我可以看到插入到我的 Windows 7 客户端的闪存驱动器,这对我来说非常适用,因为我可以在 Azure VM 的资源管理器中看到它.

此) 出现在远程桌面标题栏中,允许我选择应该重定向到 VM 的设备.


RemoteFX USB 重定向工作时的标题栏

按照众多 Web 资源上的说明启用 RemoteFX USB 重定向对我来说适用于早期操作系统版本(即 Azure VM 上的 Windows 8.1),但不适用于我创建的任何 Windows 10 VM.标题栏顽固地保留了 RemoteFX USB 重定向功能.


RemoteFX USB 重定向无效时的标题栏

我终于偶然发现了这个thread 解决了我的问题.

与以前的操作系统版本相比,Windows 10 主机似乎还需要一个步骤,那就是:

  1. 在目标 VM(目标 Windows 10 虚拟机)上运行 gpedit.msc 以启动 组策略编辑器.gpedit.msc 如果您有管理员权限,可以从运行对话框中输入(使用 WinKey+R),或者启动提升的 CMD.EXE 并从命令行输入 gpedit.msc.

  2. 找到项目计算机配置\管理模板\Windows组件\远程桌面服务\远程桌面会话主机\设备和资源重定向\不允许支持的即插即用设备重定向组策略编辑器的树状视图.

  3. 奇怪地将此项设置为Disabled.

  4. 从提升的命令提示符运行 gpupdate/force.

  5. 至少断开 RDP 会话并重新连接,如果这不起作用重启目标虚拟机.

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?

解决方案

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 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

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 when RemoteFX USB Redirection 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:

  1. 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.

  2. 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 the Group Policy Editor.

  3. Bizarrely set this item to Disabled.

  4. Run gpupdate /force from an elevated command prompt.

  5. At least disconnect RDP session and connect again, if this does not work reboot target VM.

这篇关于如何在 Windows 10 中启用 USB 重定向的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆