Unable to enable WMIC on Windows 11 24H2 by default.

Mario Alves 26 Reputation points
2025-03-28T12:53:53.5866667+00:00

Hello,

We are migrating from Windows 11 22H2 to Windows 24H2, and, of course WMIC is no lounger enabled by default on 24H2. I tried to enable it by default like all the FOD, and with DISM, I can add it, the DISM detects that the feature is enabled.Image

The problem comes when you deploy Windows 11 over our SCCM system, when the OS is installed, WMIC is enabled (and available on c:\windows\system32\wbem\wmic.exe), but when you log in with a user account, it's uninstalled for no reason. We need to reinstall it over the features interface again.

All the others FOD are still available and working properly.

ImageImage

Image

Did someone also face this issue?

I also tried to install it over a package when the user logs in with this Powershell script :

if not exist %WINDIR%\System32\wbem\wmic.exe ( DISM /Online /Add-Capability /CapabilityName:WMIC~~~~ )

On the logs, the installation is done, but on Windows it's still missing... And also new, not only related to our Windows version, the installation of almost all the FOD takes ages.... 5-15 minutes or more for some small FOD...

When we are lucky, it takes a few seconds, and all the other times it takes really a lot of time. I tried with the Office network, home network, and 5G network, same problem. If we have to live without it, we will do, but some software programs still need it, and we cannot install manually everywhere where it's needed.

Thank you in advance for the help!

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
11,443 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Beatrix 0 Reputation points
    2025-04-30T05:50:23.77+00:00

    Hi Mario,

    Thank you for sharing your concerns but I don’t think the OS version is the issue, as the machine has fully upgraded. Installing FOD or Windows Updates can take time and depends on system traffic, which is beyond our control. To help prevent issues, you can regularly run these commands to check for corruption:

    sfc /scannow

    dism /online /cleanup-image /restorehealth

    You mentioned the installation completed successfully, but you don’t see it on the system. Have you tried rebooting the machine after the installation?

    Give it a reboot and let me know if that helps!

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.