Win32_PerfFormattedData_PerfOS_Memory WMI 类(以及许多其他类)似乎不存在。
从脚本角度来看,当我无法让 Win32_PerfFormattedData_PerfOS_Memory 返回任何内容时,我问了这个问题: https://stackoverflow.com/questions/48467013/err-80041017-when-querying-wmi-on-identical-computers-win32-perfformatteddata
经过数小时的挖掘,我非常确定这更多的是一个围绕更大的 WMI 问题的 IT 问题。
我首先使用的是 WMI 诊断实用程序: https://www.microsoft.com/en-us/download/details.aspx?id=7684
WMIDiag.vbs 生成的日志文件中出现以下错误:
..239 14:07:07 (1) !! ERROR: Unable to access or find file '%WINDIR%\SYSTEM32\WBEM\AACLIENT.MOF' listed in 'Autorecover MOFs'.
..356 14:07:07 (1) !! ERROR: Unable to access or find file '%WINDIR%\SYSTEM32\WBEM\EN-US\AACLIENT.MFL' listed in 'Autorecover MOFs'.
..415 14:07:07 (1) !! ERROR: Unable to access or find file '%WINDIR%\SYSTEM32\WBEM\FR-FR\AACLIENT.MFL' listed in 'Autorecover MOFs'.
Windows 7 workstation
Latest updates (as-of 1/29/2018)
..650 14:07:11 (1) !! ERROR: (ReadRegistry) : 0x80070002 - Invalid root in registry key "HKCR\CLSID\{FD209E2E-813B-41C0-8646-4C3E9C917511}\InProcServer32\".
..651 14:07:11 (1) !! ERROR: (CheckWMIDCOMComponentRegistrations) : 'C:\WINDOWS\SYSTEM32\WBEM\IPMIPRV.DLL' is not registered correctly, missing '\CLSID\{FD209E2E-813B-41C0-8646-4C3E9C917511}\InProcServer32'.
..735 14:07:11 (1) !! ERROR: (ReadRegistry) : 0x80070002 - Invalid root in registry key "HKCR\CLSID\{9042E1B1-8FD4-4008-89FE-4040CC74575A}\InProcServer32\".
..736 14:07:11 (1) !! ERROR: (CheckWMIDCOMComponentRegistrations) : 'C:\WINDOWS\SYSTEM32\WBEM\SERVERCOMPPROV.DLL' is not registered correctly, missing '\CLSID\{9042E1B1-8FD4-4008-89FE-4040CC74575A}\InProcServer32'.
23725 14:14:41 (1) !! ERROR: No Win32_LogicalDisk information available.
23745 14:14:41 (1) !! ERROR: No Win32_LogicalDisk information available.
28569 14:15:48 (1) !! ERROR: WMI GET operation errors reported: ........................................................................... 118 ERROR(S)!
28570 14:15:48 (0) ** - Root/CIMV2, Win32_PerfFormattedData_Counters_HTTPServiceRequestQueues, 0x0 - .
28571 14:15:48 (0) ** MOF Registration: 'WMI information not available (This could be the case for an external application or a third party WMI provider)'
28572 14:15:48 (0) ** - Root/CIMV2, Win32_PerfRawData_Counters_HTTPServiceRequestQueues, 0x0 - .
28573 14:15:48 (0) ** MOF Registration: 'WMI information not available (This could be the case for an external application or a third party WMI provider)'
28574 14:15:48 (0) ** - Root/CIMV2, Win32_PerfFormattedData_Counters_HTTPServiceUrlGroups, 0x0 - .
28575 14:15:48 (0) ** MOF Registration: 'WMI information not available (This could be the case for an external application or a third party WMI provider)'
...etc...
28693 14:15:48 (0) ** MOF Registration: 'WMI information not available (This could be the case for an external application or a third party WMI provider)'
28694 14:15:48 (0) ** - Root/CIMV2, Win32_PerfFormattedData_PerfOS_Memory, 0x0 - .
28695 14:15:48 (0) ** MOF Registration: 'WMI information not available (This could be the case for an external application or a third party WMI provider)'
28696 14:15:48 (0) ** - Root/CIMV2, Win32_PerfRawData_PerfOS_Memory, 0x0 - .
28697 14:15:48 (0) ** MOF Registration: 'WMI information not available (This could be the case for an external application or a third party WMI provider)'
我尝试了各种修复方法,但都无济于事。更改注册表确实不是我的专长,但我想这就是我下一步要做的事情。
请告诉我您还需要什么。我现在正在处理这个问题。所以我会把找到的其他东西添加到这个问题中。谢谢!
EDIT1:Windows 7 Pro,包含所有最新更新。64 位。
编辑2:这是否有可能是由于可用 RAM 极低造成的?