Fix SCCM Client WMI Issues | ConfigMgr | WMImgmt Errors

1
Fix SCCM Client WMI Issues

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:

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 which points us in the right direction.

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 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.

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:

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 for 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 solving 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 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 ?

  • 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 | ConfigMgr | WMImgmt Errors 3
Click on Security. Select Root and Click on Security tab at the bottom. It’s going to open window above.
  • 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 4
Open CMD as Admin and type DCOMCNFG. It’s gonna show COMPONENT SERVICES. Right Click My Computer and Click Properties.
  • 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 5
Check Everyone has Local Access and Remote Access. Same for Launch and Activation Permission.

Note : None of these checks are required to 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

1 COMMENT

LEAVE A REPLY

Please enter your comment!
Please enter your name here

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