Jump to content
  • Microsoft explains how to install WMIC on Windows 11 before its upcoming removal


    Karlston

    • 1 comment
    • 392 views
    • 2 minutes
     Share


    • 1 comment
    • 392 views
    • 2 minutes

    At the beginning of 2024, Microsoft announced plans to turn off WMIC in the next-gen Windows 11 version as part of its ongoing deprecation. However, WMIC or Windows Management Instrumentation Command, is not going away just yet. Despite deprecation, customers and admins can continue using it, and Microsoft just posted a brief guide on how to make it work.

     

    To help organizations migrate from WMIC to PowerShell, Microsoft made WMIC a feature-on-demand (FoD) enabled by default. Windows 11 version 24H2, which is coming later this year, will arrive with WMIC disabled by default. Here is what you need to know about it.

     

    For starters, Microsoft explained how to know that WMIC is missing. Executing a WMIC command on a system with missing, turned off, or uninstalled WMIC will result in the following CLI message:

     

    ‘wmic’ is not recognized as an internal or external command, operable program, or batch file.

    You can fix that error on Windows 11 by doing the following:

     

    1. Go to Settings > System Optional features.
    2. Click "View features" next to the "Add an optional feature" option.
    3. Type WMIC into the search box and place a checkmark next to it in the result list.
    4. Click "Next" to install WMIC in Windows 11.

     

    Once everything is done, you will see WMIC in the list of installed optional features. From there, you can uninstall it whenever you want it.

     

    Turning off WMIC in the next-gen Windows version is one of the final steps during the feature's deprecation. The next and final step is the complete removal of WMIC from future Windows client and server editions. For now, Microsoft does not know when WMIC will be gone for good, and its latest roadmap for WMIC still says the final step is "to be determined."

     

    WMIC deprecation timeline

    You can learn more about installing WMIC in a post on the Tech Community forums.

     

    Source

     

    Hope you enjoyed this news post.

    Thank you for appreciating my time and effort posting news every single day for many years.

    2023: Over 5,800 news posts | 2024 (till end of June): 2,839 news posts


    User Feedback

    Recommended Comments

    There's an easy one-line way of doing this in an Admin cmd shell:

     

    DISM /Online /Add-Capability /CapabilityName:WMIC~~~~

     

    Edited by wolfie
    • Like 2
    • Thanks 1
    Link to comment
    Share on other sites




    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.
    Note: Your post will require moderator approval before it will be visible.

    Guest
    Add a comment...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...