N-central Troubleshooting
WMI corrupt - how to reinstall/repair?
Last Modified
Wed Oct 31 15:52 GMT 2018
Description
- WMI corrupt - how to reinstall/repair?
Environment
- N-able N-central
Solution
- To resolve the issue, follow the steps in this section.
- Try the following steps:
1. Disable and stop the WMI service.
sc config winmgmt start= disabled
net stop winmgmt
2. Run the following commands.
Winmgmt /salvagerepository C:\WINDOWS\System32\wbem
Winmgmt /resetrepository C:\WINDOWS\System32\wbem
3. Re-enable the WMI service and then reboot the server to see how it goes.
sc config winmgmt start= auto
- If the problem remains, then try the following steps to rebuild the repository:
1. Disable and stop the WMI service.
sc config winmgmt start= disabled (note that there is a blank between '=' and 'disabled')
net stop winmgmt
2. Rename the repository folder (located at C:\WINDOWS\System32\wbem\repository) to repository.old.
3. Re-enable the WMI service.
sc config winmgmt start= auto
4. 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.