WMIC Error "ClassFactory cannot supply requested class"

Arranda Saputra 6 Reputation points
2020-07-28T05:19:53.193+00:00

Hello all, I'm having problem with WMI. I cannot run wmic.exe from CMD... all wmic commands resulting in this error

13940-image.png

Checked the WMI services are running... tried looking up on the internet but found no answer

all my servers running windows 2012 R2 standard and all giving the same behavior

Windows Server Management
Windows Server Management
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Management: The act or process of organizing, handling, directing or controlling something.
420 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Jenny Yan-MSFT 9,321 Reputation points
    2020-07-29T05:18:48.357+00:00

    Hi,

    Thanks for your posting but it seemed that you need capture some traces like procomon to verify what was going on when failed to run wmic command
    Sometimes, there will be something wrong with the specific dll which varies.

    You can also test by creating a new account and by clean boot to check if the issue is related to third party application.
    https://support.microsoft.com/en-us/help/929135/how-to-perform-a-clean-boot-in-windows

    Thanks,
    Jenny


  2. Jenny Yan-MSFT 9,321 Reputation points
    2020-07-30T08:00:17.303+00:00

    Hi,

    Is there any update?
    Please feel free to let us know if more assistance needed.

    Thanks,
    Jenny

    0 comments No comments

  3. Francisco Ascencao 1 Reputation point
    2022-05-05T10:26:44.56+00:00

    Hello , i have the same issue

    199100-image.png

    but in graphical mode seems working...

    0 comments No comments