Skip to content
Follow
Windows

How to Add or Remove WMIC command Feature in Windows 11

Richard
Written by
Richard
Apr 5, 2026 Updated Aug 12, 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 stands for Windows Management Instrumentation Command-line, a tool that lets you check and change computer settings using text commands. Microsoft removed this feature by default in Windows 11 version 22H2.

You can still put WMIC back on your PC if older scripts or hardware tests require it. Windows PowerShell handles most modern system tasks now, but old tools still need this command to work properly.

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

Why You Might Need This

Trimming down a Windows 11 installation often leads people to strip out 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~~~~


    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. System restarts apply the changes fully. System management tools update right away once the process finishes.

Summary

WMIC in Windows 11 functions as a command-line tool for retrieving specific hardware and software details. Operating systems shift toward newer utilities constantly, yet optional feature management remains available for legacy workflows.

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.

📚 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 Change Windows Terminal Themes
Windows How to Change Windows Terminal Themes
How to Disable Command Prompt in Windows 11
Windows How to Disable Command Prompt in Windows 11

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

Leave a Comment

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