When executing inventory manually on a Windows 8.1 system using InvSoln.exe /fi (or other command switches), the inventory completes successfully however a reference memory error is thrown in Windows.
There are no errors in the agent logs, as the inventory does complete successfully. However a pop-up message appears:
This problem has been logged with Engineering to be fixed in the next major release. In the meantime please see the workaround below that will surpress the error if required (eg. if the Invsoln.exe is running as part of a larger script and the error is interupting the process):
Suppress the memory reference error pop-up by adding two reg keys in front of the InvSoln.exe /fi call:
reg.exe add "HKLM\Software\Microsoft\Windows\Windows Error Reporting\ExcludedApplications" /v "InvSoln.exe" /t REG_DWORD /d 1 /f
reg.exe add "HKCU\Software\Microsoft\Windows\Windows Error Reporting" /v "DontShowUI" /t REG_DWORD /d 1 /f
ITMS 7.5, 7.5 SP1 on Windows 8.1 x86/x64 only