Класс 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.
Одной из первых моих остановок было использование утилиты диагностики 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 бит.
EDIT2: есть ли вероятность, что это может быть вызвано чрезвычайно низким объемом свободной оперативной памяти?