When I install a opsmgr agent manually on a Windows Server 2008 r2 domain controller. I am getting the following error.
I used the following steps to resolve the issue:
- Start the “wmimgmt.msc”
- Right click “WMI Control (Local)” if you see the following: “Failed to initialize all required WMI Classes”
- Stop the “WMI Services”
- Open a “command prompt” and change the directory to “c:\windows\SysWOW64\wbem”
- Type the following command to make sure that all WBEM DLL’s are correctly registrered: “for /f %s in (‘dir /b *.dll’) do regsvr32 /s %s”
- Run the following command “Net stop /y winmgmt”
- Run the following command “for %i in (*.mof, *.mfl) do Mofcomp %i”
- Start the “net start winmgmt”
- Start the “wmimgmt.msc”
- Right click “WMI Control (Local)” if you see the following: “Failed to initialize all required WMI Classes”
- Install the agent.