Hi Mike,
Thanks for your reply.
If running the command Winmgmt /salvagerepository C:\WINDOWS\System32\wbem doesn’t work, please try the following steps to rebuild the repository:
- Disable and stop the WMI service. sc config winmgmt start= disabled (note that there is a blank between '=' and 'disabled') net stop winmgmt
- Rename the repository folder (located at C:\WINDOWS\System32\wbem\repository) to repository.old.
- Re-enable the WMI service. sc config winmgmt start= auto
- Reboot the server to see if the problem remains.
If the above steps cannot help, you may also need to check if some disk sectors or system files are corrupted. You may try "chkdsk" and "sfc /scannow" commands to see if they can help. Otherwise, you may need to reinstall the whole server.
Best Regards,
Ian Xue
If the Answer is helpful, please click "Accept Answer" and upvote it.