WMI Service somehow removed

mike k 0 Reputation points
2024-01-22T16:30:38.5233333+00:00

We are having an issue with our MECM clients losing connectivity to the MP. One of the things I've noticed is that in several of the clients the WMI SERVICE is completely removed from services.msc. the PCs that DO have the MECM client and status of GREEN do have this service. I'm at a loss as to how this service could have disappeared on a portion of the clients when its supposed to be installed by default. Brand new builds with no GPOs applied also have it missing. When i try and run the various WMI commands (verify, salvage etc) i get access denied because (i believe) the service is not there. I did try a command to add WMI-SNMP-Provider.Client capability and while that said it was successful, it did not install the service. So, how do i get this service re-installed?

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
12,045 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Ian Xue 39,286 Reputation points Microsoft Vendor
    2024-01-25T06:30:40.98+00:00

    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:

    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.

    Best Regards,

    Ian Xue


    If the Answer is helpful, please click "Accept Answer" and upvote it.


  2. mike k 0 Reputation points
    2024-01-25T15:01:15.1133333+00:00

    See, thats kinda the problem. The service isnt there to stop. Its completely missing. I need a way to re-install the WMI service

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.