most of you which worked in a servicedesk or with many computers will know WMI-errors. Sometimes the WMI of a computer gets corrupted and depending products like the SCCM-agent stops working properly. Herefore try to use the following script which repairs and rebuilds the WMI of the computer. But see this procedure as last line of defense – if you do not have any other options, try this one and restart twice.
Herefore just copy the whole script into a batch file and execute it as administrator.
winmgmt /resyncperf winmgmt /salvagerepository winmgmt /resetrepository sc config winmgmt start= disabled net stop winmgmt /y net stop ccmexec /y %systemdrive% cd %windir%\system32\wbem For /f %%s in ('dir /b *.dll') do regsvr32 /s %%s ::regsvr32 wmisvc.dll net start winmgmt net start ccmexec for /f %%s in ('dir /b *.mof *.mfl') do mofcomp %%s
Good look on reparing the clients.