Product SiteDocumentation Site

3.2.2.2. Using USB Devices on a Windows Client

If you are connecting from a Windows client machine, and wish to use USB devices on your guest, you have to enable SPICE USB redirection.
To enable USB redirection on Windows:
  1. Install USB redirector package on client
    On a Windows client machine, install the RHEV-USB-Client.exe. This package can be obtained from the Red Hat Enterprise Virtualization Manager (v.3 x86_64) channel on the Red Hat Network, under the Downloads list.
  2. Install RHEV-Tools on guest
    Locate the CD drive to access the contents of the Guest Tools ISO, and launch RHEV-ToolsSetup.exe. If the Guest Tools ISO is not available in your CD drive, contact your system administrator. After the tools have been installed, you will be prompted to restart the machine for changes to be applied.
  3. Open firewall ports
    Allow connections on TCP port 32023 on any firewalls between the guest machine and the client machine.
  4. Enable USB sharing
    On the User Portal, select your guest machine. Ensure that you have enabled SPICE USB sharing on the guest machine as described in To configure SPICE connection protocol options.
  5. Attach USB device
    Connect to your guest machine as instructed in Section 2.3, “Connecting to a Virtual Machine”, and attach a USB device to the client. If the required USB device does not appear directly on the guest desktop, right click on the SPICE frame and select USB Devices. Choose your device from the list displayed.
    List of connected USB devices
    Figure 3.4. List of connected USB devices

Important

When some USB devices are connected on Windows clients, the autoplay window will appear and the client will take control of the device, making it unavailable to the guest. To avoid this issue, disable USB autoplay on your Windows clients.

Note

You can also define additional USB policies for Windows clients, to allow or block access to certain USB devices. For details, see the sections on USB Filter Editor in the Red Hat Enterprise Virtualization Administration Guide.