question

ArrandaSaputra-0841 avatar image
0 Votes"
ArrandaSaputra-0841 asked FranciscoAscencao-2881 answered

WMIC Error "ClassFactory cannot supply requested class"

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
image.png (5.2 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

JennyYan-MSFT avatar image
0 Votes"
JennyYan-MSFT answered JennyYan-MSFT published

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

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,

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

Thanks,
Jenny

0 Votes 0 ·
JennyYan-MSFT avatar image
0 Votes"
JennyYan-MSFT answered JennyYan-MSFT published

Hi,

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

Thanks,
Jenny

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

FranciscoAscencao-2881 avatar image
0 Votes"
FranciscoAscencao-2881 answered

Hello , i have the same issue

199100-image.png



but in graphical mode seems working...


image.png (34.1 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.