29.2.2.1 Installing the Oracle VirtIO Drivers for Microsoft Windows on Existing Microsoft Windows Guests

To install the Oracle VirtIO Drivers for Microsoft Windows on existing Microsoft Windows guests, perform the following procedures:

Configuring Policies for Device Installation

Configure Microsoft Windows policies to allow the installation of the Oracle VirtIO Drivers for Microsoft Windows, if these policies are not already configured. This task prevents the following error from occuring during an installation:

The installation of this device is forbidden by system policy. Contact your system administrator. 

To configure policies for installation:

  1. Open the Microsoft Windows virtual machine on which you want to install the Oracle VirtIO Drivers for Microsoft Windows.

  2. From the Start menu, select Run.

  3. Enter gpedit.msc and then click OK.

    The Local Group Policy Editor is displayed.

  4. From the Console Tree, display the list of device installation restrictions (Device Installation Restrictions) as follows:

    1. Expand Computer Configuration, and then expand Administrative Templates.

    2. Expand System, and then expand Device Installation.

    3. Select Device Installation Restrictions.

  5. Edit the policy settings so that no device installation restrictions are configured.

    Alternatively, review each policy setting to determine the correct configuration for your business needs.

  6. Close the Local Group Policy Editor.

  7. Restart the Microsoft Windows virtual machine.

When you are finished configuring the policy settings for device installation, you can proceed with the installation of the Oracle VirtIO Drivers for Microsoft Windows.

Installing Oracle VirtIO Drivers for Microsoft Windows

Before You Begin.  Do the following before you start the installation process:

You can install the Oracle VirtIO Drivers for Microsoft Windows by using the GUI installation program or by performing a silent installation. Use the graphical installation program if you are installing a single instance of the Oracle VirtIO Drivers for Microsoft Windows. If you plan to silently install multiple instances of the Oracle VirtIO Drivers for Microsoft Windows, you must run the GUI installation program in a command-line window on at least one Microsoft Windows guest to create a response file. You can then use the response file to perform all of the subsequent installations silently.

To install the Oracle VirtIO Drivers for Microsoft Windows:

  1. Copy the Oracle VirtIO Drivers for Microsoft Windows installation program Setup.exe to the guest.

  2. Start the installation by running Setup.exe in one of the following ways:

    • To perform a single installation, double-click Setup.exe to start the Oracle VirtIO Drivers for Microsoft Windows installer.

    • To record a response file for automated installations on multiple systems:

      1. Open a command line window.

      2. Navigate to the directory where the Setup.exe file is located.

      3. Run Setup.exe -r to start the Oracle VirtIO Drivers for Microsoft Windows installer and create a response file for silent installations.

  3. If prompted, select Yes in the User Account Control dialog to allow the Oracle VirtIO Drivers for Microsoft Windows installer to proceed.

    The Welcome window is displayed.

  4. Click Next.

    The Installation Type window is displayed.

    Figure 29.1 Installation Types

    This figure shows Installation Type dialog. You can choose Default or Custom installation type.

  5. Choose the Default or Custom installation type and then click Next.

    • Select the Default option if you are running Windows guests in an Oracle KVM environment.

    • Select the Custom option if you are migrating Windows guests from Oracle Cloud Infrastructure Classic (OCI-C) to Oracle Cloud Infrastructure (OCI).

    The Start to install Oracle VirtIO Drivers for Microsoft Windows Release 1.1.3 window is displayed with information about your selection.

  6. Click Install to start the installation.

    • If you selected Default, the installer copies the Oracle VirtIO Drivers for Microsoft Windows files and installs the drivers on the guest.

      Figure 29.2 Start Default Installation

      This figure shows the Start to install dialog. The buttons available are Install, Back and Cancel.

    • If you selected Custom, the installer copies the Oracle VirtIO Drivers for Microsoft Windows files, installs the drivers on the guest, and configures the guest to support migration from OCI-C to OCI.

      Figure 29.3 Start Custom Installation

      This figure shows the Start to install dialog. The buttons available are Install, Back and Cancel.

    The Installation Status window is displayed.

  7. Once the installation completes, do one of the following:

    • If you selected a Default installation, check Yes, I want to restart my computer now and click Finish.

      The virtual machine is restarted.

    • If you selected a Custom installation:

      1. Check No, I will restart my computer later and click Finish.

      2. Shut down the Windows guest VM.

      3. Start the Windows guest VM in the OCI environment.

The Oracle VirtIO Drivers for Microsoft Windows are installed in the following directories:

  • On 32-bit systems: C:\Program Files\Oracle Corporation\Oracle Windows VirtIO Drivers

  • On 64-bit systems: C:\Program Files (x86)\Oracle Corporation\Oracle Windows VirtIO Drivers

If you used the -r option in the command line, the installation program creates a response file in the C:\Windows directory. You then use the response file, setup.iss, to perform silent installations on other Microsoft Windows guests. See Section 29.2.4, “Silently Installing or Upgrading the Oracle VirtIO Drivers for Microsoft Windows”.