Updates

Windows 11 is fully removing WMIC, a legacy tool abused by malware for years

4 min read Editorial

Microsoft is taking the final step in retiring the Windows Management Instrumentation Command-line (WMIC) utility, confirming that the WMIC removal Windows 11 timeline has been set for the August 2026 Patch Tuesday update. This move closes a door that malware and ransomware operators have exploited for years, marking the end of an era for one of Windows’ oldest administration utilities.

While WMIC was disabled by default in Windows 11 25H2, it lingered as a Feature on Demand (FoD), allowing administrators to re-enable it via Optional Features or DISM. That changes now. According to Microsoft’s updated release notes, Windows 11 versions 24H2 and 25H2 will no longer ship with any WMIC components, and the FoD itself is being retired permanently.

A close-up photograph of a vintage command prompt window displaying green text on a black background, symbolizing legacy
WMIC has been a staple of Windows administration for decades, but its days are numbered.

Why is the WMIC removal Windows 11 happening now?

The primary driver here is security. WMIC is classified as a LOLBIN, or Living Off The Land Binary. These are legitimate, Microsoft-signed executables that attackers abuse to run malicious commands without dropping suspicious files onto a system. Because WMIC is pre-installed and trusted by Windows, threat actors have used it to bypass security controls, identify installed antivirus products, and even disable endpoint protection before deploying ransomware.

Advertisement

By stripping WMIC entirely, Microsoft removes a ready-made weapon from the attacker’s toolkit. Even home users were vulnerable to scripts that leveraged WMIC to query system information or execute remote commands. Removing it reduces the attack surface across all editions of Windows 11, from Home to Enterprise. This aligns with Microsoft’s broader push to harden the OS against AI-driven threats, as the company recently warned that malicious actors are now exploiting Windows 11 vulnerabilities within hours of disclosure.

The timeline of WMIC’s retirement

Microsoft has been phasing out WMIC for several years to avoid breaking enterprise workflows overnight. The deprecation began with Windows 10 21H1 in 2021, where the company first warned that the tool was legacy. Windows 10 22H2 then converted WMIC into a Feature on Demand, meaning it was no longer installed by default but could be added back.

With Windows 11 25H2, Microsoft disabled WMIC by default but kept the installation files available. Now, with the August 2026 update, the feature is gone entirely. The underlying Windows Management Instrumentation (WMI) infrastructure remains fully supported, so system management, remote monitoring, and configuration tasks are not affected—only the outdated command-line interface is being retired.

A clean, minimalist desk setup with a modern monitor showing PowerShell code, a coffee mug, and a notebook, evoking a pr
IT admins should start migrating legacy scripts to PowerShell before the August 2026 deadline.

What replaces WMIC?

For IT professionals and power users, the migration path is straightforward. Microsoft explicitly recommends switching to PowerShell, which now offers robust WMI querying capabilities that surpass the original WMIC syntax. The company also points to programmatic alternatives such as the WMI COM API, .NET libraries, and modern scripting languages for automation tasks.

In a message to administrators, Microsoft noted: “Removing a deprecated component helps reduce complexity while keeping you secure and productive.” The guidance is clear: update internal documentation, test scripts in a sandbox environment, and migrate any legacy automation workflows to PowerShell cmdlets like Get-CimInstance or Invoke-CimMethod. The CIM (Common Information Model) cmdlets are the modern replacement for the older WMI cmdlets and provide better performance and cross-platform compatibility.

What This Means for You

If you are a standard Windows 11 user, this change is largely invisible. You likely never interacted with WMIC directly, and its removal will not affect your daily computing experience. Instead, you benefit from a tighter security posture against fileless malware and ransomware campaigns that relied on this legacy tool.

For IT administrators managing enterprise fleets, this requires immediate attention. Any Group Policy scripts, SCCM/Intune deployment packages, or monitoring tools that reference WMIC commands will fail after the August 2026 update. You will need to audit your environment, replace WMIC calls with PowerShell equivalents, and validate that your automation pipelines remain functional before the deadline.

How to Prepare for the WMIC Removal

Microsoft advises administrators to review their internal documentation and processes now rather than waiting for the patch to land. Start by searching your script repositories for WMIC references, then test the PowerShell alternatives in a non-production environment. Keep in mind that while WMI remains active, the syntax and available properties may differ slightly between the old command-line tool and modern PowerShell cmdlets.

The complete removal of WMIC is a long-overdue security hardening step. By eliminating a tool that has been abused for years, Microsoft is making Windows 11 more resilient against the evolving tactics of cybercriminals.

Source: Windows Latest

Build details:

  • 26H2

Over to you: Have you already migrated your enterprise scripts from WMIC to PowerShell, or are you still waiting for the August update to force the change?

Advertisement
Share:
Editorial
Written by
Editorial

Windows & Microsoft news editor at 9to5Windows. Covering everything from Windows 11 builds to enterprise updates.

Advertisement