SCCM Client/WMI Fix

Author
ScottGill
Expert Member
  • Total Posts : 183
  • Scores: 6
  • Reward points: 5140
  • Joined: 2007/03/01 12:12:03
  • Status: offline
2009/09/24 19:48:31 (permalink)
0

SCCM Client/WMI Fix

I am looking for a solution to a problem that has gotten out of hand here.  WMI corruption seems to be rampant and I can't fix them fast enough.  I need an automated way to fix them, I was thinking about running a script at system boot via GPO but that's not reliable enough.  Most of our users refuse to reboot their machines for months at a time so that just won't solve the problem.

A while back I stumbled on a 3rd party application which installed as a service to monitor the health of the sms client and wmi and claimed it could repair them automatically.  Unfortunately I can't recall the name of the product and I can't seem to find it on the net.  Can anyone think of a solution that provides what I need?

Thanks.

Scott Gill
SCCM Consultant
#1

7 Replies Related Threads

    schrempp_b
    Junior Member
    • Total Posts : 41
    • Scores: 0
    • Reward points: 8520
    • Joined: 2009/07/21 11:26:47
    • Status: offline
    RE: SCCM Client/WMI Fix 2009/09/24 19:59:44 (permalink)
    0
    I'm not sure about the app you're looking for but if you end up needing to do it via GPO and want a fix for users that don't shut down I have something that could help. It's a VBS that shuts down all our machines every Friday night and logs the user off the rest of the week. I just set the advertisement to run every day during our maintainence window so that it happens after hours. Let me know if that would help.
    #2
    bmason505
    Expert Member
    • Total Posts : 3348
    • Scores: 250
    • Reward points: 104870
    • Joined: 2003/01/23 10:05:07
    • Location: Minneapolis, MN
    • Status: offline
    RE: SCCM Client/WMI Fix 2009/09/24 20:55:05 (permalink)
    0
    I'd use WMIDiag v2 and try to find the root cause (solve a problem instead of treating a symptom).

    Brian Mason
    MCTS\MS MVP - Enterprise Mobility (CM)     
    http://mmsmoa.com
    Attend MMS in May!
    #3
    skissinger
    Expert Member
    • Total Posts : 5126
    • Scores: 504
    • Reward points: 202880
    • Joined: 2001/09/13 09:11:00
    • Location: Sherry Kissinger
    • Status: offline
    RE: SCCM Client/WMI Fix 2009/09/25 08:23:31 (permalink)
    0
    Although this won't help you with existing broken WMI clients, there was a "WMI Reliability update" for XP workstations released a while ago. If you haven't deployed that, it's a preventative maintenance measure.

    Otherwise, as Brian mentioned, wmidiag is the right way to diagnose the problem, and hopefully determine what might be causing the corruption in the first place.

    mofmaster@myitforum.com
    My Blog
    Microsoft MVP 2007-2015 - ConfigMgr
    #4
    mhudson
    Expert Member
    • Total Posts : 794
    • Scores: 33
    • Reward points: 27620
    • Joined: 2007/04/01 20:55:33
    • Location: College Station, TX
    • Status: offline
    RE: SCCM Client/WMI Fix 2009/09/25 09:03:26 (permalink)
    0
    Well if you know the machines that have a problem then you could force a vbscript like this:
    -------------------
    "net stop winmgmt"
    If XP then "rundll32 wbemupgd, UpgradeRepository"
    If vista  "winmgmt  /salvagerepository"
    "net start winmgmt"
    "Net Stop SMS Agent Host"
    "Net start  SMS agent host"
    ------------------
     
    Just an idea.  I use the WMIDiag tool all the time to determine why a machine just stops sending HW inventory or some other odd problem.  I would agree the WMI corruption can be a big issue and not always easy to track down.
     
    If
     
    #5
    ScottGill
    Expert Member
    • Total Posts : 183
    • Scores: 6
    • Reward points: 5140
    • Joined: 2007/03/01 12:12:03
    • Status: offline
    RE: SCCM Client/WMI Fix 2009/09/25 12:41:25 (permalink)
    0
    @schrempp_b
    The problem with that is that we have 24x7 users as well as a large number of very sensitive users who will complain to management and cause headaches if we reboot their machines.  Believe me I've been working on a solution for the whole reboot thing for over a year, and I still don't have a proper solution yet.

    @bmason505
    I'll try that but it brings up a similar problem where the majority of the machines I have to repair are logged in nonstop so I don't get a chance to really log in and deal with the issue, instead I just use PSExec to repair WMI without directly impacting the user.  Also, I'd like something automated where I don't have to deal with it at all.

    @skissinger
    Yup I know about the reliability update... However, if you look closely MS claims they ported back the changes from Vista, but the update only includes a single DLL file so that's highly doubtful, especially when you consider how different the WMI is in Vista.  I have already deployed this to all of our SP2 machines (SP3 includes the update and has been installed on the majority of our systems).

    @mhudson
    Yeah I know I could do that, but it doesn't solve the critical problem where I don't want to be the one identifying the broken ones, I'd want the script/application to do that for me.

    Has anyone seen WMI issues with Vista/Win7?  I have yet to see a problem on those OS's (though I have seen SMS break a couple times, but I didn't have to repair the WMI).

    Scott Gill
    SCCM Consultant
    #6
    bmason505
    Expert Member
    • Total Posts : 3348
    • Scores: 250
    • Reward points: 104870
    • Joined: 2003/01/23 10:05:07
    • Location: Minneapolis, MN
    • Status: offline
    RE: SCCM Client/WMI Fix 2009/09/25 13:49:22 (permalink)
    0
    If the problem has suddenly started in big numbers out of the blue, it should be relatively easy to find a good and bad machine to compare.  WMIDiag can be run remotely so you don't have to logon to get results.  After running it, be sure to look at the small log generated since it gets to the heart of the issues; the big one is useless.

    Brian Mason
    MCTS\MS MVP - Enterprise Mobility (CM)     
    http://mmsmoa.com
    Attend MMS in May!
    #7
    ScottGill
    Expert Member
    • Total Posts : 183
    • Scores: 6
    • Reward points: 5140
    • Joined: 2007/03/01 12:12:03
    • Status: offline
    RE: SCCM Client/WMI Fix 2009/09/25 18:35:53 (permalink)
    0
    I don't think the problem has suddenly popped up, I really think that they've all been missed up until now.  I've been fixing WMI's for 2 weeks straight (b/c I haven't looked closely at it for several months).  After fixing about 300-400 of them I'm really just done with this whole process.  Fortunately one of my vendors has a solution coming out soon.  Anyone else having this problem may want to check this out:

    http://adaptiva.com/products_client_health.html

    Scott Gill
    SCCM Consultant
    #8
    Jump to:
    © 2018 APG vNext Commercial Version 5.5