Jan 03 2024 06:22 AM - edited Jan 03 2024 07:20 AM
Hello everyone,
I monitor VMs with a Monitoring tool that uses WMI query.
There is one WMI query wich doesn't return values from the Windows server concerned by this issue.
There is the query and the wbemtest status :
select IDProcess,PercentProcessorTime,TimeStamp_Sys100NS,WorkingSet,IOReadOperationsPersec,IOWriteOperationsPersec from Win32_PerfRawData_PerfProc_Process where (IDProcess = 3036)
When I run this command :
@echo off
sc config winmgmt start= disabled
net stop winmgmt /y
%systemdrive%
cd %windir%\system32\wbem
for /f %%s in ('dir /b *.dll') do regsvr32 /s %%s
wmiprvse /regserver
winmgmt /regserver
sc config winmgmt start= auto
net start winmgmt
for /f %%s in ('dir /s /b *.mof *.mfl') do mofcomp %%s
It solve the problem but for few minutes only.
Thank you in advance for your help.