SCCM Client and WMI Repair


From time to time, the SCCM client is recalcitrant and even after uninstallation and reinstallation it still does not work.
There is only one solution, to rebuild the WMI Repository.

To do this I created this small PowerShell script, I also rely on the WMIRepair tool contained in the " SCCM Client Center "To Roger Zander

You will find all the information on my GitHub:


Steven Bart

Founder of - Vevey, Switzerland. I have been in IT since 2001, I work as a Workplace Architect and mainly deal with the administration of MEMCM (SCCM), the mass deployment of workstations and applications. Learn more about me.

    5 thoughts on “SCCM Client and WMI Repair"

    • Good day, sir,

      I have trouble to put my script in the line:

      $ PathScript = Split-Path -Parent $ PSCommandPath # Path of the current script

      Where exactly do i need to copy the path "C: \ temp \ sccmrepair" to?

      Thank You,

      Uncle Hutt

      • OK, i did some research. There is no need to get in touch with the powershell 1.0 so i need tp update it at least 3.0

        • Hi sir,

          Thank you for your message, in my case, i must to put the pathscript, it's for the wmirepair.exe, but off course in some case it's not useful. Actually powershell must be up to date.

          Best regards

    • Hello very nice website !! Guy .. Excellent .. Superb .. I'll bookmark your blog
      and take the feeds also? I'm glad to seek out so many useful information here within the publish, we
      want to develop more techniques in this regard, thank you
      you for sharing. , , , , ,

      • Hi, thank you very much for your comment! it's very appreciate
        Sorry for the late reply, i am very busy theses times! But I promise to be more responsive soon!

        Best regards from Switzerland 😉


    Leave a comment

    Your email address will not be published. Required fields are marked with *