Wednesday, May 21, 2014

How to Perform WMI Repair & Check WMI Health



To Repair WMI:

 To repair WMI follow the steps below, Please note that this is a destructive process and must only be used in the case where wmi is corrupt.

Step 1:
%windir%\system32\wbem\winmgmt /clearadap
%windir%\system32\wbem\winmgmt /kill
%windir%\system32\wbem\winmgmt /unregserver
%windir%\system32\wbem\winmgmt /reserver
%windir%\system32\wbem\winmgmt /resyncperf

Step 2:
net stop winmgmt /y

Step 3:
If exist %windir%\system32\wbem\repository.old rmdir /s /q %windir%\system32\wbem\repository.old
ren %windir%\system32\wbem\repository repository.old
regsvr32 /s %systemroot%\system32\scecli.dll
regsvr32 /s %systemroot%\system32\userenv.dll
for /f %%s in (‘dir /b /s %windir%\system32\wbem\

Step 4:
net start winmgmt /y

Note: Ensure that the Windows Management Instrumentation service is running after performing the above steps
To Check WMI health & connectivity :


 

No comments:

Post a Comment