USB devices are directly mapped to virtual machines.
Taking Xiaomi mobile phone as an example, because Xiaomi mobile phone needs to load the driver, that is, to install Xiaomi assistant, it is not feasible to map local removable devices through USB. We can redirect through USB devices, direct the Xiaomi mobile phone to the remote virtual machine, and the remote virtual machine also needs to install the Xiaomi assistant. Local applications cannot be used remotely. Remote applications cannot be used locally. The settings are as follows:
1. Open the Device Manager of the client and find the USB device to be redirected.
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/49/96/wKioL1QVrP-S4OZjAABy4Z6rGuw712.jpg "style =" float: none; "Title =" image001.jpg "alt =" wKioL1QVrP-S4OZjAABy4Z6rGuw712.jpg "/>
2. Write down the vid, PID, class, and subclass values of the USB device.
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/49/95/wKiom1QVrOuTswRlAAB2NaONJVA484.jpg "style =" float: none; "Title =" image002.jpg "alt =" wkiom1qvroutswrlaab2naonjva484.jpg "/> 650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/49/96/wKioL1QVrP-AKnP9AAB-7MeEmMo031.jpg "Title =" image003.jpg "style =" float: none; "alt =" wKioL1QVrP-AKnP9AAB-7MeEmMo031.jpg "/>
3. Write down and create a policy on DDC. Click USB device.
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/49/95/wKiom1QVrOyA4CATAAC_6VUXWE8480.jpg "style =" float: none; "Title =" image004.jpg "alt =" wkiom1qvroya4cataac_6vuxwe8480.jpg "/>
4. Set "client USB device redirection" to allow, and configure "client USB redirection rules"
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/49/96/wKioL1QVrQCw4mWiAADnLsrF5z4972.jpg "style =" float: none; "Title =" image005.jpg "alt =" wkiol1qvrqcw4mwiaadnlsrf5z4972.jpg "/>
5. Create and complete the previous values in the form of allow: vid = 2717 pid = 904e.
6. After the update, use the gpupdate/force update policy in the VM. After the update is complete, log on to the desktop again. A device option is added to the above options.
7. Modify the registry of the local PC and enter Regedit in the running state to open the registry.
8. Find HKEY_LOCAL_MACHINE \ SOFTWARE \ wow6432node \ Citrix \ portica \ genericusb
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/49/95/wKiom1QVrOyTwMQWAADMAjWwWZs048.jpg "style =" float: none; "Title =" image006.jpg "alt =" wkiom1qvroytwmqwaadmajwwwzs048.jpg "/>
9. Modify devicerules and add the value we have added to the policy before deny.
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/49/96/wKioL1QVrQCguW1nAAFZ1RnYp1c599.jpg "style =" float: none; "Title =" image007.png "alt =" wkiol1qvrqcguw1naafz1rnyp1c599.jpg "/>
10. After adding the VM, restart the VM. Check whether the device options have mapped USB devices.
11. If you do not have a USB device, uninstall the driver of the local PC. Check the connection again.
This article is from the "technology that thing" blog, please be sure to keep this source http://joyolin.blog.51cto.com/7127939/1552677
About how Citrix xendesktop USB devices are mapped directly to virtual machines