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 for business | Windows Client for IT Pros | User experience | Other
{count} votes

4 answers

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

    You need Windows 11 build 22572 and above.

    1 person found this answer helpful.

  2. TerryTr-3373 5 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.

    1 person found this answer helpful.
    0 comments No comments

  3. Bama Slama 5 Reputation points
    2025-05-01T00:03:40.9566667+00:00

    DISM /Online /Add-Capability /CapabilityName:WMIC

                  This One worked when the ones / wmic, etc. / -didnt.
    
    1 person found this answer helpful.
    0 comments No comments

  4. Bhumaiah Velthapu 0 Reputation points
    2025-11-21T14:40:41.7566667+00:00

    install WMIC in my system

    0 comments No comments

Your answer

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