共用方式為


How to restore missing Web Service performance counters and related WMI classes on Windows Server 2008 R2

 

Web Service performance counters may be missing in Performance Monitor. You also cannot locate related WMI classes (e.g. Win32_PerfRawData_W3SVC_WebService) by wbemtest.

Perform the following steps to restore them:

1. Open a command prompt with elevated administrator privileges.

2. Change the current directory to C:\Windows\winsxs\amd64_microsoft-windows-iis-w3svc_31bf3856ad364e35_6.1.7600.16385_none_1a0b3f4b23047c9b

3. Run the following command

Lodctr w3ctrs.ini

4. Then register the computer's performance libraries with WMI:

winmgmt /resyncperf

5. Restart Windows Management Instrumentation service:

net stop winmgmt

net start winmgmt

Regards,

Xin Jin from GBSD DSI Team