Follow

Event log shows "ignoring invalid report" and CID gets WMI initialization error

Product: Stratusphere FIT/UX

Product Version: N/A

Updated: August 22, 2018

 

Problem: 

Event log shows"ignoring invalid report" and CID gets WMI initialization error. Data Is Missing Or Metrics Are Shown Blank In The Stratusphere Console On The Inspector Page. Some Graphical Data May Be Shown, But Machine Drill Down May Be Unavailable.

 

Cause:

Sometimes WMI is disabled on the client machine. Since CID relies on WMI to obtain system stats, disabled WMI functions or corrupt WMI database will cause stats gathering to fail, and returns invalid machine inspection reports.      

 

Possible Resolution(s):

You will need to check the following registry settings and correct them if they are set to 1 (on):

Check registry key:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\PerfDisk\Performance]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\PerfNet\Performance]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\PerfOS\Performance]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\PerfProc\Performance]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Performance]

"Disable Performance Counters" value should either not exist or be set to 0.

 

A script or batch file can used to add the registry values or correct them if they already exist.  You will have to create a machine list file with all the IP/names of affected machines along with a bat file WMIfix.bat that containes the following:

lodctr /R
lodctr /R
REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\PerfDisk\Performance /v "Disable Performance Counters" /t REG_DWORD /d 0x00000000 /f
REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\PerfNet\Performance /v "Disable Performance Counters" /t REG_DWORD /d 0x00000000 /f
REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\PerfOS\Performance /v "Disable Performance Counters" /t REG_DWORD /d 0x00000000 /f
REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\PerfProc\Performance /v "Disable Performance Counters" /t REG_DWORD /d 0x00000000 /f
REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\tcpip\Performance /v "Disable Performance Counters" /t REG_DWORD /d 0x00000000 /f

NOTE: If using PCoIP, you should add the command described in this KB to the .bat: 
https://liquidwarelabs.zendesk.com/hc/en-us/articles/210640903-PCoIP-counters-missing-with-Unidesk-and-AWS-deployments

You can use psexec to run the fix remotely in your cmd prompt (replace Domain\AdminAcct with admin account):

psexec.exe @machineList.txt -u Domain\AdminAcct -s -d -n 10 -c -f WMIfix.bat

 

Was this article helpful?
2 out of 2 found this helpful
Have more questions? Submit a request

0 Comments

Article is closed for comments.