Install WMIC to a Windows 11 computer

Giselle D Santamaria 1 Reputation point
2022-11-04T23:40:15.457+00:00

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.

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
11,406 questions
{count} votes

2 answers

Sort by: Most helpful
  1. S.Sengupta 22,836 Reputation points MVP
    2022-11-05T01:03:36.837+00:00

    You need Windows 11 build 22572 and above.


  2. 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.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.