Windows 10: Failed to initialize all required WMI classes

Discus and support Failed to initialize all required WMI classes in Windows 10 Software and Apps to solve the problem; On my Windows 10 Pro 64-bit PC, when I go to WMI Control in Computer Management under "Services and Applications" and select "More Actions" ->... Discussion in 'Windows 10 Software and Apps' started by Tom_455, Jan 5, 2022.

  1. Tom_455 Win User

    Failed to initialize all required WMI classes


    On my Windows 10 Pro 64-bit PC, when I go to WMI Control in Computer Management under "Services and Applications" and select "More Actions" -> Properties, it displays the following:-Failed to initialize all required WMI classes.Win32_Processor: WMI: Invalid classWin32_WMISetting: WMI: Invalid classSecurity information: Successful Win32_OperatingSystem: WMI Invalid classHowever, when I run command "winmgmt /verifyrepository" in an elevated command prompt as advised in many web-pages it reports: "WMI repository is consistent" which, I'm led to believe means the WMI Repository is NOT corrupt

    :)
     
    Tom_455, Jan 5, 2022
    #1
  2. Nick Webb Win User

    WMI Invalid class but "WMI repository is consistent"

    On my Windows 10 Pro 64-bit PC, when I go to WMI Control in Computer Management under "Services and Applications" and select "More Actions" -> Properties, it displays the following:-

    Failed to initialize all required WMI classes.

    Win32_Processor: WMI: Invalid class

    Win32_WMISetting: WMI: Invalid class

    Security information: Successful Win32_OperatingSystem: WMI Invalid class

    However, when I run command "winmgmt /verifyrepository" in an elevated command prompt (as advised in many web-pages) it reports: "WMI repository is consistent" which, I'm led to believe means the WMI Repository is NOT corrupt. How do I fix the Invalid class error?
     
    Nick Webb, Jan 5, 2022
    #2
  3. WMI Invalid class but "WMI repository is consistent"

    .
    If the repository is not corrupt, then this 2019 article from MS might help:


    https://techcommunity.microsoft.com/...ss/ba-p/375485
     
    OldGrantonian, Jan 5, 2022
    #3
  4. Failed to initialize all required WMI classes

    System.Management.ManagementException: Invalid class

    Hello.

    When I launch a application with "PhotonControl", I got following error message:

    PhotonControl Error

    Failed to query processes. Exception:

    System.Managemnt.ManagementException: Invalid class

    at System.Management.ManagementException.ThrowWithException(ManagementStatus.errorCode)

    at System.Management.ManagementObject.Get()

    at PhotonControl.Helper.ProcessInfo..ctor(Process process)

    at PhotonControl.Helper.PhotonHandler.GetActiveProcesses(Int 32& serviceCount, Int32& appCount, Int64& memory)

    When I go to Manage->Services and Applications->WMI Control->Properties, I can see following dialog:

    Failed to initialize all required WMI classes.

    Win32_Processor: WMI: Invalid class

    Win32_WMISetting: WMI: Invalid class

    Security information: Successful

    Win32_OperatingSystem: WMI: Invalid class

    I think the PhotonControl Error is caused by this. Is there any way to fix this problem?

    PS: I don't have a backup of the WMI.
     
    LuChuanhua, Jan 5, 2022
    #4
Thema:

Failed to initialize all required WMI classes

Loading...
  1. Failed to initialize all required WMI classes - Similar Threads - Failed initialize required

  2. Failed to initialize all required WMI classes.

    in Windows 10 Gaming
    Failed to initialize all required WMI classes.: i cant get a program to work and the issue is win32_processor:WMI Invalid class how can these be fixedwin32_processor:WMI Invalid class Win32_WMI Setting: WMI: Invalid ClassWin32_Operating System: WMI: Invalid classhow to fix please....
  3. Failed to initialize all required WMI classes.

    in Windows 10 Software and Apps
    Failed to initialize all required WMI classes.: i cant get a program to work and the issue is win32_processor:WMI Invalid class how can these be fixedwin32_processor:WMI Invalid class Win32_WMI Setting: WMI: Invalid ClassWin32_Operating System: WMI: Invalid classhow to fix please....
  4. Failed to initialize all required WMI classes.

    in Windows 10 BSOD Crashes and Debugging
    Failed to initialize all required WMI classes.: i cant get a program to work and the issue is win32_processor:WMI Invalid class how can these be fixedwin32_processor:WMI Invalid class Win32_WMI Setting: WMI: Invalid ClassWin32_Operating System: WMI: Invalid classhow to fix please....
  5. Failed to initialize all required WMI classes.

    in Windows 10 Gaming
    Failed to initialize all required WMI classes.: Failed to initialize all required WMI classes.Win32_Processor: Win32: The system cannot find the file specified.Win32_WMISetting: SuccessfulSecurity Information: SuccessfulWin32_OperatingSystem: The system cannot find the file specified....
  6. Failed to initialize all required WMI classes.

    in Windows 10 Software and Apps
    Failed to initialize all required WMI classes.: Failed to initialize all required WMI classes.Win32_Processor: Win32: The system cannot find the file specified.Win32_WMISetting: SuccessfulSecurity Information: SuccessfulWin32_OperatingSystem: The system cannot find the file specified....
  7. Failed to initialize all required WMI classes.

    in Windows 10 BSOD Crashes and Debugging
    Failed to initialize all required WMI classes.: Failed to initialize all required WMI classes.Win32_Processor: Win32: The system cannot find the file specified.Win32_WMISetting: SuccessfulSecurity Information: SuccessfulWin32_OperatingSystem: The system cannot find the file specified....
  8. Failed to initialize all required WMI classes

    in Windows 10 Drivers and Hardware
    Failed to initialize all required WMI classes: On my Windows 10 Pro 64-bit PC, when I go to WMI Control in Computer Management under "Services and Applications" and select "More Actions" -> Properties, it displays the following:-Failed to initialize all required WMI classes.Win32_Processor: WMI: Invalid...
  9. Failed to initialize all required WMI classes

    in Windows 10 Gaming
    Failed to initialize all required WMI classes: On my Windows 10 Pro 64-bit PC, when I go to WMI Control in Computer Management under "Services and Applications" and select "More Actions" -> Properties, it displays the following:-Failed to initialize all required WMI classes.Win32_Processor: WMI: Invalid...
  10. Failed to initialize

    in Windows 10 Customization
    Failed to initialize: I downloaded a program - Twinity - and thought all was fine until I tried to log in and got the failed to intialize message. Can I get round this? Thanks https://answers.microsoft.com/en-us/windows/forum/all/failed-to-initialize/cb4619db-8347-4ced-85da-896f0692a1cb