InvSoln.exe throws a reference memory error when executing on Windows 8.1 - inventory completes successfully

book

Article ID: 160953

calendar_today

Updated On:

Products

Inventory Solution

Issue/Introduction

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:

Memory reference error 

 

Resolution

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):

Workaround:

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


Applies To

ITMS 7.5, 7.5 SP1 on Windows 8.1 x86/x64 only

Attachments