Windows 11 is fully removing a legacy tool that malware and ransomware have abused for years, meet WMIC

Microsoft is embarking on a significant cleanup of Windows 11, aiming to enhance the operating system’s security by eliminating various legacy features. The first target in this initiative is the Windows Management Instrumentation Command-line (WMIC), a tool that has been increasingly exploited by malware and ransomware over the years. This move comes in light of the company’s recent warnings about the growing security threats posed by artificial intelligence, alongside a recommendation for users to keep their systems updated, ideally within a three-day window.

What is WMIC and why is it being removed for Windows 11’s security?

With the upcoming updates—Windows 11 versions 24H2, 25H2, and 26H2—WMIC will no longer be included. But what exactly is WMIC, and how has it contributed to vulnerabilities in personal computers? Originally designed as an enterprise tool, WMIC allowed IT administrators to automate and query Windows system settings or hardware and network configurations. Despite its primary use in corporate environments, it remained accessible to all users, inadvertently exposing even home users to potential threats from malware and ransomware that exploited WMIC’s capabilities.

Microsoft has confirmed that the decision to remove WMIC stems from the availability of more robust alternatives, such as PowerShell. The tool was initially disabled in Windows 11 25H2, yet it remained present as a Feature on Demand (FoD) in earlier versions like 24H2. While WMIC was not included by default in newer installations, administrators could still reinstate it through Optional Features or DISM, which meant its presence lingered longer than intended.

According to a recent document from Microsoft, the complete removal of WMIC will take effect with the August 2026 Patch Tuesday update. The company stated, “Starting in August 2026, Windows 11, versions 24H2 and 25H2 no longer include the Windows Management Instrumentation Command-line (WMIC) utility.” This marks a pivotal shift, as users will no longer have the option to restore WMIC once it is removed.

The removal of WMIC is a positive development for users, particularly because it has been a vector for attacks against everyday consumers. Microsoft argues that this change will bolster the overall security of Windows 11. For those unfamiliar with WMIC, it is classified as a LOLBIN, or living-off-the-land binary. This designation means it is a legitimate Microsoft-signed executable that malicious actors can exploit during cyberattacks, rather than relying on their own tools.

Threat actors have utilized WMIC to identify installed antivirus solutions and even disable security applications, thereby gaining access to sensitive data on compromised systems.

Microsoft has been removing WMIC in stages

Microsoft’s approach to phasing out WMIC has been deliberate, aimed at minimizing disruptions for enterprise users who rely on the tool. The journey began with the deprecation of WMIC in Windows 10 21H1 in 2021, followed by its conversion to a Feature on Demand in version 22H2. In Windows 11 25H2, WMIC was disabled by default, yet users still had the option to enable it. The forthcoming updates will mark the end of this gradual process, as the FoD will also be eliminated.

In its documentation, Microsoft encourages users to transition to PowerShell and other modern tools for tasks previously handled by WMIC. The company suggests exploring programmatic alternatives such as WMI’s COM API, .NET libraries, or various scripting languages. “Once you decide on your way forward, please update your internal IT documentation and processes,” Microsoft advises.

Furthermore, Microsoft has been heavily investing in PowerShell, enhancing its capabilities for querying WMI, thus rendering WMIC unnecessary. “Removing a deprecated component helps reduce complexity while keeping you secure and productive,” the company stated, emphasizing the importance of this transition. Notably, while the outdated WMIC command-line utility will be removed, the underlying Windows Management Instrumentation (WMI) infrastructure will continue to be supported, ensuring that essential management functions remain intact.

Winsage
Windows 11 is fully removing a legacy tool that malware and ransomware have abused for years, meet WMIC