Skip to content
Follow
Windows

How to Add or Remove WMIC command Feature in Windows 11

Richard
Written by
Richard
Apr 5, 2026 Updated Sep 15, 2026 2 min read
How to Add or Remove WMIC command Feature in Windows 11
How to Add or Remove WMIC command Feature in Windows 11

WMIC (Windows Management Instrumentation Command-line) is a tool that lets you check and change computer settings using text commands, though Microsoft removed it by default starting in Windows 11 version 22H2.

Advertisement

Older scripts and hardware tests still need WMIC to work properly even though Windows PowerShell handles most modern system tasks now. You can add the feature back to your PC if your older tools require it.

⚡ Quick Answer

Open Windows Terminal as administrator and use the DISM command. To add WMIC, type DISM /Online /Add-Capability /CapabilityName:WMIC. To remove it, use DISM /Online /Remove-Capability /CapabilityName:WMIC. Press Enter after pasting the command.

Advertisement

Why You Might Need This

Trimming down a Windows 11 installation often involves removing optional components like WMIC. Reinstalling the tool later takes only a quick command if scripts or legacy tools require it. Managing computers via the command line becomes possible again once the feature returns.

Important: Admin Rights Required

⚠️ Administrator privileges are required to add or remove WMIC.

How to Add or Remove WMIC Using Commands

  1. Open Windows Terminal (Admin) and choose Windows PowerShell or Command Prompt.
  2. Copy and paste the command below into Windows Terminal. Then press Enter.

    To Add WMIC:


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

    Advertisement

    To Remove WMIC:


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

  3. You can now close Windows Terminal when finished.
Windows PowerShell terminal showing DISM command to add WMIC
Windows PowerShell terminal showing DISM command to add WMIC

What Happens Next?

Windows processes the installation or removal command immediately. Restart your PC to apply the changes fully. System management tools update right away once the process finishes.

Summary

WMIC Windows 11 is an optional feature for the command prompt that lets you check computer hardware and software details using text commands. Microsoft removed this tool by default in newer Windows updates, but you can still turn it back on if older scripts or apps still need it to run properly on your PC.

Advertisement

References:

What is WMIC in 🪟 Windows 11?

WMIC in Windows 11 is a text-based utility for managing system components via commands, though Microsoft plans to deprecate the legacy feature.

What replaced WMIC in 🪟 Windows 11?

Windows PowerShell officially replaces WMIC in Windows 11. PowerShell handles WMI-related tasks with advanced scripting capabilities, tighter security, and broader functionality. WMIC stays accessible as an optional package for backwards compatibility rather than primary system administration.

How to enable WMIC in 🪟 Windows 11 via cmd?

Enabling WMIC in Windows 11 requires running the Command Prompt (cmd) with administrator privileges and executing a Deployment Image Servicing and Management command.

Why doesn't WMIC work on 🪟 Windows 11?

WMIC fails to run on Windows 11 default installations because modern builds exclude the deprecated feature automatically.

Was this guide helpful?

Tags: #Windows 11
Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

Advertisement

📚 Related Tutorials

How to Set Windows Terminal to Open with Command Prompt on Windows 11
Windows How to Set Windows Terminal to Open with Command Prompt on Windows 11
How to Open Windows Terminal as Admin Automatically
Windows How to Open Windows Terminal as Admin Automatically
How to Disable Command Prompt in Windows 11
Windows How to Disable Command Prompt in Windows 11
How to Change Windows Terminal Themes
Windows How to Change Windows Terminal Themes

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked *