Hello,
Thank you for posting in the Microsoft Community Forums.
Since the problem persists even after a repair install of Windows, it suggests that there might be deeper issues at play.
Here are some potential avenues to explore:
- Check for Namespace Corruption:
Sometimes specific namespaces within WMI can be corrupted. You can use the winmgmt
command to check for and repair namespace issues.
winmgmt /salvagerepository
Then reboot and test again.
- Rebuilding WMI Repository:
You’ve already tried renaming the repository and recompiling .mof
and .mfl
files, which usually addresses repository issues. However, there’s another method involving the complete reinstallation of the WMI service.
cd %windir%\system32\wbem
rmdir /s /q repository
winmgmt /resyncperf
Reboot and test again.
- Check for DCOM Issues:
Sometimes DCOM settings can affect WMI. Ensure that DCOM is enabled:
- Open
dcomcnfg
. - Go to
Component Services > Computers > My Computer
. - Right-click
My Computer
and selectProperties
. - Go to the
Default Properties
tab. - Ensure
Enable Distributed COM on this computer
is checked. - Check and Repair Components Store:
Using DISM
to check and repair the component store might help:
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth
Then reboot and test again.
- Investigate Software Conflicts:
There may be third-party software that interferes with WMI. Review recently installed software or updates and consider removing any that coincide with the start of the problem.
I hope the information above is helpful.
Best regards
Yanhong Liu