How to install WMIC Feature on Demand on Windows 11
If you need to continue using Windows Management Instrumentation Command line (WMIC), learn how to install it as a Feature on Demand (FoD). It’s a temporary solution while you migrate to PowerShell or a similar tool as WMIC undergoes deprecation. A new article shows you how to check if you have WMIC as a FoD and how you can install it if you don’t. Remember that later this year, WMIC FoD will be disabled by default on the next version of Windows 11 and Windows Server. Read more at How to install WMIC Feature on Demand on Windows 11.
When will this happen:
- WMIC has been available as a Feature on Demand (FoD) for Windows 11 since 2022.
- It will be available but disabled by default on the next version of Windows 11 and Windows Server later this year.
- WMIC feature will be ultimately removed in a future Windows release.
How this will affect your organization:
We recommend that you migrate from WMIC to PowerShell or other supported solutions. However, if you need it in the meantime, you can install it as a Feature on Demand (FoD).
What you need to do to prepare:
To install WMIC FoD, go to Windows Settings > System > Optional features > Installed features. If WMIC isn’t on the list of Installed features, do the following.
- At the top of the Optional features tab, locate Add an optional feature.
- In that field, select View features. This will trigger a popup window.
- In the popup window to Add an optional feature, type “WMIC” into the search box.
- When WMIC appears in the results below, select it by checking the box next to it. Note: WMIC will not appear in the results if it’s already installed.
- Select Next to install WMIC feature in the same popup window.
Additional information:
- Read the complete guide at How to install WMIC Feature on Demand on Windows 11.
- Review the deprecation announcement at WMI command line (WMIC) utility deprecation: Next steps.
- Read official WMIC documentation at Using WMI – Win32 apps.
Message ID: MC811683