Quantcast
Channel: Symantec Connect - Client Management Suite - Discussions
Viewing all articles
Browse latest Browse all 2021

WMI Repair Script to fix HW Inv Problem

$
0
0
I need a solution

Hi Guys,

I am having problems getting hardware inventory on my clients and after uninstalling/reinstalling the SMA as well as trying things with support it appears WMI may be broken. Has anyone used a relatively reliable script for repairing WMI (I have seen quite a few out there) that assumes it is broken and attempts to repair it?

%systemdrive%
cd %windir%\system32\wbem
net stop winmgmt /y
for /f %s in ('dir /b *.dll') do regsvr32 /s %s
if exist repository.old rmdir /s /q repository.old
rename repository repository.old
wmiprvse /regserver
winmgmt /regserver
net start winmgmt

 


Viewing all articles
Browse latest Browse all 2021

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>