Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-86567

Netkvm: netkvm-wmi.cmd on upstream fails on Windows 11 26100 due to missing wmic

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • No
    • Moderate
    • ZStream
    • 1
    • rhel-virt-windows
    • ssg_virtualization
    • 3
    • QE ack
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • Virtio-win 14/May- 27/May
    • Approved Blocker
    • None
    • RegressionOnly
    • Unspecified
    • Unspecified
    • Unspecified
    • x86_64
    • Windows
    • None

      What were you trying to do that didn't work?
      In Windows 11 version 26100, the wmic tool has been removed. This causes the `netkvm-wmi.cmd` script will fail when checking the information from the NetKVM driver. Yan suggested that we need to consider how to handle this in future versions of Windows.

      Please provide the package NVR for which bug is seen:

      • en-us_windows_11_business_editions_version_24h2_updated_march_2025_x64_dvd_77837751.iso

      How reproducible: 100%

      Steps to reproduce

      1. Install the latest version of Windows 11 (26100 or later).
      2. Attempt to run the `./netkvm-wmi.cmd cfg` script from virtio-win/kvm-guest-drivers-windows/blob/master/NetKVM/DebugTools/WMI/netkvm-wmi.cmd
      3. Observe that the script fails due to the missing wmic tool.

      Expected results
      The `netkvm-wmi.cmd` script should execute successfully, even in newer versions of Windows 11, regardless of the presence of the wmic tool.

      Actual results
      The script fails to execute because the wmic tool is missing in Windows 11 version 26100.

      Here is a workaround: Install wmic separately https://techcommunity.microsoft.com/blog/windows-itpro-blog/how-to-install-wmic-feature-on-demand-on-windows-11/4189530

              ybendito@redhat.com Yuri Benditovich
              rh-ee-wji Wenkang Ji
              Virt Windows SST Bugs Virt Windows SST Bugs
              Wenkang Ji Wenkang Ji
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: