FIX SCCM Client WMI Issues | ConfigMgr | WMImgmt Errors

Let me share my years of experience to FIX SCCM Client WMI Issues. Most of the Configuration Manager client-related issues shall be fixed automatically using CCMEval Tool. However, there are some other issues that need manual intervention.

Related Post Windows 10 WMI Explorer Details for Configuration Manager – Intune

Description: FIX SCCM Client WMI Issues

When it comes to troubleshooting related to SCCM Agent (Anything & Everything related to SCCM Client. i.e Agent Installation, Patching, SCEP, etc). We have tried all the available options related to the error we are seeing in the logs then we come to one point where we raise our hands (At-least to be honest I do) to seek help from our HTMD forum in search of answers.

Important – HTMD Forum: 99 times out of 100 we get the solutions or the workarounds or at least some guidance that points us in the right direction.

Patch My PC

In this article, we won’t discuss any generic error code defined in the product i.e

  • ID 2: The system cannot find the file specified
  • ID 5: Access Denied
  • ID 7: Reboot Required

But we will learn some recommended steps explained by MS which should be checked at the client’s end to determine things are in place.

Related Post SCCM Troubleshooting Steps for Newbies with Flowcharts

Now you might be wondering that there is already one very deep dive article available along with a flow chart about the same https://www.anoopcnair.com/sccm-troubleshooting-steps/ explained very briefly by “Anoop” so why I am writing another one.

Adaptiva

To answer that, As I mentioned earlier we will not be reading about any error codes and fixes. In general, what do I need to check at the client end to make sure the issue is not because of components required by SCCM Agent to function properly from an OS perspective.

Scope your issue: FIX SCCM Client WMI Issues

Before getting into actual troubleshooting steps, it’s important to emphasize that while it may seem obvious, the better you understand the problem you’re experiencing, the quicker and easier it will be for you to fix it.

Whether you’re tasked with fixing a problem that you are experiencing yourself, or a problem reported to you by someone in your organization, it is recommended that you take a moment and answer the following questions:

  • What specifically isn’t working and/or what is your goal? 
  • What is the frequency or pattern of the issue? Is the problem still happening? 
  • How did you become aware that the problem exists?
  • Has this ever worked? If so, when did it stop? Was anything changed in the environment right before it stopped working? 
  • What percentage of clients are affected?
  • What has been done already (if anything) to try to fix it? 
  • Know the exact version of the client and the version of the server. Are these systems up to date? 
  • What do affected clients have in common (e.g. same subnet, AD site, domain, physical location, site, site system, etc.)?

Important – If troubleshooting issues related to WMI on Windows Server OS then please refrain from recreating the repository.

Components need to check:

I will start this with WMI because most of the issues which are not solved easily are because of WMI.

  • Is WMI Consistent try WINMGMT /verifyrepository?
    • WMI Repository is consistent
Fix SCCM Client WMI Issues | ConfigMgr | WMImgmt Errors
Fix SCCM Client WMI Issues | ConfigMgr | WMImgmt Errors

Reinstall of Configmgr Client fixes the problem?

Do we get any message when we try manually connecting to WMI?

Open WBEMTEST

Connect Root\ccm

Fix SCCM Client WMI Issues | ConfigMgr | WMImgmt Errors
Fix SCCM Client WMI Issues | ConfigMgr | WMImgmt Errors
Fix SCCM Client WMI Issues | ConfigMgr | WMImgmt Errors
Fix SCCM Client WMI Issues | ConfigMgr | WMImgmt Errors

What happens if we make use of a local admin as a test?

FIX SCCM Client WMI Issues | ConfigMgr | WMImgmt Errors 1
Fix SCCM Client WMI Issues | ConfigMgr | WMImgmt Errors

Important – If troubleshooting issues related to WMI on Windows Server OS then please refrain from recreating the repository.

Next is permissions: Verify if the below permissions are intact.

  • Verify the “DCOM Server Process Launcher” and “Distributed Transaction Coordinator” services are started.
Fix SCCM Client WMI Issues | ConfigMgr | WMImgmt Errors
Fix SCCM Client WMI Issues | ConfigMgr | WMImgmt Errors

Fix SCCM Client WMI Issues?

How to FIX SCCM Client WMI Issues?

  • Go to WMImgmt.msc > WMIcontrol (local), right click and select properties.
  • Select the Security tab and check if the user “everyone” has full permission for the Root folder and the CCM folder.
FIX SCCM Client WMI Issues | ConfigMgr | WMImgmt Errors 2
Open CMD as Administrator and right-click on WMI Control (Local). Click Properties and it will open a tab shown below: FIX SCCM Client WMI Issues
FIX SCCM Client WMI Issues
Click on Security. Select Root and Click on the Security tab at the bottom. It’s going to open the window above. FIX SCCM Client WMI Issues

Go to “dcomcnfg” from CMD and expand “Component Services“> Computers > My computer.

Right-click My Computer and select the properties tab.

In the properties window select the “Default Properties” tab, check “Enable Distributed COM on this computer” and set the “default authentication level” to “connect” and “Default impersonation level” to “identity“.

FIX SCCM Client WMI Issues | ConfigMgr | WMImgmt Errors 3
Open CMD as Admin and type DCOMCNFG. It’s gonna show COMPONENT SERVICES. Right Click My Computer and Click Properties. FIX SCCM Client WMI Issues

Click on the COM security tab in the same window, in the Access permissions box, select Edit limits, and give full permissions to user “everyone” if not given already.

The same needs to be done in the Edit default tab. User “everyone” should be given full permission in the “Launch and Activation Permission box as well.

FIX SCCM Client WMI Issues | ConfigMgr | WMImgmt Errors 4
Check Everyone has Local Access and Remote Access. Same for Launch and Activation Permission.

Note: None of these checks are required to be in order.

Disclaimer – The information provided on the site is for general informational purposes only. All information on the site is provided in good faith, however, we make no representation or warranty of any kind, express or implied regarding the accuracy, adequacy, validity, reliability, availability, or completeness of any information on the website.

Resources

Author

Anoop C Nair is Microsoft MVP! He is a Device Management Admin with more than 20 years of experience (calculation done in 2021) in IT. He is Blogger, Speaker, and Local User Group HTMD Community leader. His main focus is on Device Management technologies like SCCM 2012, Current Branch, and Intune. He writes about ConfigMgr, Windows 11, Windows 10, Azure AD, Microsoft Intune, Windows 365, AVD, etc.

2 thoughts on “FIX SCCM Client WMI Issues | ConfigMgr | WMImgmt Errors”

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.