SCOM 2007,Performance data not available

From the event logs, we found the following error events that indicate corrupted WMI service.

Performance Module could not find a performance counter

事件類型:        警告
事件來源:        WinMgmt
事件類別目錄:  無
事件識別碼:     60
WMI ADAP was unable to process the performance libraries: 0x80041001

事件類型:        警告
事件來源:        Health Service Modules
事件類別目錄:  無
事件識別碼:     10102
In PerfDataSource, could not resolve counter Web Service, Current Connections, _Total. Module will not be unloaded.

To rebuild all Performance counters including extensible and third party counters in Windows Server 2003, type the following commands at a command prompt.
Press ENTER after each command.

cd windowssystem32
lodctr /R

Note /R is uppercase.

Windows Server 2003 rebuilds all the counters because it reads all the .ini files in the C:Windowsinf09 folder for the English operating system.

如果執行後問題依然存在,請您使用修復 WMI repository 的方法嘗試將問題解決。
1. Disable the WMI service:
2. Reboot Server
3. Backup the WMI repository:
    - Copy the folder "%windir%system32wbemRepository" to a different folder.
    - Rename the folder "%windir%system32wbemRepository" to "Repository000"
4. Enable the WMI service:
5. Reboot Server
6. Monitor the server and check if the problem is fixed.  If not, run the following batch commands to repair WMI:
    @echo off
    sc config winmgmt start= disabled
    net stop winmgmt /y
    cd %windir%system32wbem
    for /f %%s in ('dir /b *.dll') do regsvr32 /s %%s
    wmiprvse /regserver
    winmgmt /regserver
    winmgmt /clearadap
    winmgmt /resyncperf
    net start winmgmt

7. Monitor the server and check if the problem is fixed.  If not, run the following command to reinstall WMI:
    rundll32 C:windowssystem32Wbemwbemupgd.dll, RepairWMISetup


KB300956 "How to manually rebuild Performance Counter Library values"

KB924935 "Error message when you use the ReadEventLog function in a WMI script in Windows XP: "Err 80041001, WBEM_E_FAILED"

Comments (0)

Skip to main content