You need Windows 11 build 22572 and above.
Install WMIC to a Windows 11 computer

I need to install WMIC in a Windows 11 computer.
The WMI command-line (WMIC) utility is deprecated as of Windows 10, version 21H1, and as of the 21H1 semi-annual channel release of Windows Server.
Starting with Windows 11 build 22572, WMIC is now available as an optional feature that can be uninstalled or reinstalled via Settings > Apps > Optional Features.
I found this article that shows you a way to re-add it.
https://www.elevenforum.com/t/add-or-remove-wmic-command-feature-in-windows-11.5119/
Unfortunately, I can not see it as an option under Settings->Apps->Optional Features->View Features->Search for WMIC.
I tried the cmd option and it didn't work either.
(Add WMIC)
DISM /Online /Add-Capability /CapabilityName:WMIC~~~~
OR
(Remove WMIC)
DISM /Online /Remove-Capability /CapabilityName:WMIC~~~~
Could this be related to my current Windows 11 Build, that it is not "22572.201"? I'm trying to update, but I got to the point that no more updates are pending, and I'm still in a different build number. Does that mean that I need to wipe and re-install the OS with the "22572.201" build version?
I would appreciate any tips you could share about this.
Thanks in advance for your time.
2 answers
Sort by: Most helpful
-
-
Terry Trent 0 Reputation points
2023-07-09T02:08:54.9133333+00:00 Microsoft decommissioned WMIC exec in Windows 11 at the end. If you go to settings and applications in windows 11 you'll see WMIC.exe about halfway down in the applications. You can install it or uninstall it.