wmic path Win32_VideoController - Description = Unspecified error


shoober420

Active member
Member
Local time
3:39 PM
Posts
179
OS
Windows 11 27842
recently on my machine, wmic is sort of borked. running "wmic path Win32_VideoController" results in

Code:
ERROR:
Description = Unspecified error

wmic is definitely installed on the machine. running just "wmic" takes me to the "wmic:root\cli" shell. the WMI service is also running.

if i run "Get-CimInstance -ClassName Win32_VideoController", i get the normal video card info for the output.

does anyone know why wmic would be acting finicky?
 

My Computer

System One

  • OS
    Windows 11 27842
    Computer type
    PC/Desktop
    CPU
    Intel i7 7700 @4.0ghz
    Memory
    64gb DDR4
    Graphics Card(s)
    Radeon RX 5500 XT
    Other Info
    https://www.github.com/shoober420
WMI and CIM interact with the same data, so I'd suspect a problematic WMI provider or corruption

You can try recompiling the providers from an elevated powershell prompt

Powershell:
Get-ChildItem -Path "C:\Windows\System32\wbem" -Recurse -Include *.mof | %{ mofcomp $_.Name}
 

My Computer

System One

  • OS
    Linux Mint
    Computer type
    Laptop
    Manufacturer/Model
    System76 Lemur Pro
Back
Top Bottom