我的操作系统是Windows 7,我有一个远程主机Windows 8.1,我可以使用RDP将本地USB设备重定向到Windows 8.1.但重定向USB在Windows 10主机中不起作用.如何在Windows 10中启用它?
Rhy*_*hys 25
我RemoteFX USB Redirection在运行Windows 10的Azure上使用Windows 7客户端到远程主机时遇到问题,而同一台计算机配置会成功将USB重定向到Windows 8.1 Azure VM.
为了清楚起见,我没有遇到通过远程桌面的vanilla设置支持的常见设备(闪存驱动器,打印机等)的USB重定向问题.例如,这种类型的USB重定向允许我看到我插入Windows 7客户端的闪存驱动器对我来说非常合适,因为我可以在Azure VM中的资源管理器中看到它.
本博客文章详细介绍了标准RDP重定向和RemoteFX重定向的比较.
我特定的USB重定向问题与基本RDP高级重定向无法处理的设备类有关,为此我在以前版本的Windows上启用了RemoteFX USB重定向.当这个功能正常我得到了计算机图标(
)出现在远程桌面标题栏中,允许我选择应将哪个设备重定向到VM.
当RemoteFX USB重定向工作时的标题栏
按照许多Web资源上的说明启用RemoteFX USB重定向适用于早期操作系统版本(即Azure VM上的Windows 8.1),但不适用于我创建的任何Windows 10 VM.标题栏固执地没有RemoteFX USB重定向功能.
当USB重定向功能不起作用时,Windows 10上的标题栏
我终于偶然发现了解决我问题的这个帖子.
与以前的操作系统版本相比,Windows 10主机上还需要一个步骤,那就是:
运行gpedit.msc在目标VM(目标Windows 10虚拟机)启动Group Policy Editor.如果您具有管理员访问权限,则可以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
RemoteFX USB Redirection从提升的命令提示符运行
至少断开RDP会话并再次连接,如果这不起作用重启目标VM.
在物理 Windows 机器和远程主机上执行
所有编辑都在以下内容下:
Computer Configuration \ Administrative Templates \ Windows Components \ Remote Desktop Services \ >>
Run Code Online (Sandbox Code Playgroud)
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
Run Code Online (Sandbox Code Playgroud)