How can I install RHV Windows guest tools in RHV 4.4?

Solution Verified - Updated

Environment

  • Red Hat Virtualization (RHV) 4.4
  • Windows virtual machines

Issue

  • In RHV 4.4 rhv-guest-tools-iso is deprecated and removed in favor of virtio-win installer.
  • How can I install RHV Windows guest tools in RHEV 4.4?
  • How can I install RHV Windows tools on Windows 10+ on RHV 4.3?

Resolution

The installation process for Windows guest tools has changed in RHV 4.4. Previous versions of RHV used InstallShield to install the Windows guest tools in the rhv-guest-tools-iso package. InstallShield is proprietary software and it is replaced by the Windows installer (WIX), using .msi files. The .msi installer is provided with the virtio-win package.

Note: those instructions are also available in RHV 4.4 virtual machine guide.

  • To install the guest agents, tools, and drivers on a Windows virtual machine, complete the following steps:
    • On the RHV-M (RHV Manager) machine, install the virtio-win package:
    • Install the required packages on the+ RHV-M (RHV Manager)

yum -y install virtio-win

* After you install the package, the ISO file is located in `/usr/share/virtio-win/virtio-win.iso` on the RHV-M machine. The file is a symbolic link to the latest version of the virtio-win iso file.
* Upload the file to a data storage domain. See the chapter [Uploading Images to a Data Storage Domain](https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.4/html-single/administration_guide/index#Uploading_Images_to_a_Data_Storage_Domain_storage_tasks) In the Administration Guide for details.
* In the Administration or VM Portal, if the virtual machine is running, use the *Change CD* button to attach the iso file to each of your virtual machines. If a virtual machine is powered off, click the *Run Once* button and attach the ISO as a CD.
*  Login to the virtual machine.
    *  Select the CD Drive containing the iso file. You can complete the installation with either the GUI or the command line.
        * GUI
            * Run the installer.
            * Double-click `virtio-win-gt-x64.msi` or `virtio-win-gt-x86.msi`.
            * Click *Next( at the welcome screen.
            * Follow the prompts in the installation wizard. Ensure all check boxes in the list of components are selected, including the *RHEV Agent*, which is disabled by default.
            * When the installation is complete, select *Yes, I want to restart my computer now* and click *Finish* to apply the changes.
        * Command line.
            * Open a command prompt with Administrator privileges.
            * Enter the cmd `msiexec` command:

                    D:\ msiexec /i "_PATH_TO_MSI_" /qn [/l*v "_PATH_TO_LOG_"][/norestart] ADDLOCAL=ALL
  • After installation completes, the guest agents and drivers pass usage information to the RHV-M and enable you to access USB devices, single sign-on into virtual machines, and other functionality. The RHV guest agent runs as a service called RHEV Agent that you can configure using the rhev-agent configuration file located in C:\Program Files\Virtio-Win\RHV_Agent.
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.