-
Bug
-
Resolution: Done
-
Normal
-
rhel-10.0
-
No
-
Moderate
-
ZStream
-
1
-
rhel-virt-windows
-
ssg_virtualization
-
3
-
QE ack
-
False
-
False
-
-
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.
- Refer: https://github.com/virtio-win/kvm-guest-drivers-windows/issues/1341 and https://techcommunity.microsoft.com/blog/windows-itpro-blog/wmi-command-line-wmic-utility-deprecation-next-steps/4039242
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
- Install the latest version of Windows 11 (26100 or later).
- Attempt to run the `./netkvm-wmi.cmd cfg` script from virtio-win/kvm-guest-drivers-windows/blob/master/NetKVM/DebugTools/WMI/netkvm-wmi.cmd
- 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