Microsoft removes WMIC tool from Windows 11

Microsoft Phases Out WMIC Tool in Windows 11

In a significant move towards enhancing security, Microsoft has officially removed the Windows Management Instrumentation Command-line (WMIC) tool from its recent Windows 11 builds, including versions 24H2 and 25H2, along with beta releases. This decision is part of a gradual deprecation process that has been in motion for several years.

WMIC, once a staple command-line utility for interacting with Windows Management Instrumentation (WMI), has seen its relevance diminish over time. The tool was first deprecated in Windows Server 2012 and Windows 10, later being relegated to a Feature on Demand in Windows 11 22H2 before its complete removal was announced. This strategic withdrawal aims to bolster the overall security of the operating system.

Historically, WMIC has been exploited by malicious actors as a living-off-the-land binary (LOLBIN). Various forms of malware, particularly ransomware, have leveraged WMIC’s capabilities to perform harmful actions such as:

  • Deleting Shadow Volume Copies
  • Querying and uninstalling security software
  • Adding exclusions to Microsoft Defender to avoid detection

Despite the removal of WMIC, the underlying WMI system remains intact, ensuring that core functionalities are preserved. In light of this change, Microsoft encourages IT administrators to shift towards more modern alternatives for management tasks. Recommended options include:

  • PowerShell
  • WMI’s COM API
  • .NET libraries

This transition not only aligns with current security practices but also reflects Microsoft’s commitment to evolving its tools and resources in response to the ever-changing landscape of cybersecurity threats.

Winsage
Microsoft removes WMIC tool from Windows 11