Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

insight discovery agent - duplicate application objects

ian
Contributor
February 3, 2022

Hello. Trialing JSM Premium. Getting duplicate application objects for most of the installed applications except 1 object is missing some attributes:

InstallDate & InstallLocation

Each object has a different ObjectHash. Otherwise the values of the Name, Description, Vendor, Version and VisibleMSUI attributes are the same.

I thought maybe something wrong in the import process but the duplication is present in the source XML. Here is an example:

<ApplicationInfo>
<ObjectHash>6538A98D9C1CD9E1907ED0615EC517D1</ObjectHash>
<Name>PDF-XChange Editor</Name>
<Description>PDF-XChange Editor</Description>
<InstallDate>01/20/2022</InstallDate>
<InstallLocation>C:\Program Files\Tracker Software\</InstallLocation>
<Vendor>Tracker Software Products (Canada) Ltd.</Vendor>
<Version>9.2.359.0</Version>
<VisibleInMSUI>false</VisibleInMSUI>
</ApplicationInfo>

<ApplicationInfo>
<ObjectHash>779C3CFF2D143DE3C7CD9E92FB0FBEB3</ObjectHash>
<Name>PDF-XChange Editor</Name>
<Description>PDF-XChange Editor and its components</Description>
<Vendor>Tracker Software Products (Canada) Ltd.</Vendor>
<Version>9.2.359.0</Version>
<VisibleInMSUI>false</VisibleInMSUI>
</ApplicationInfo>

I'm going to try the agent on another pc and see if I get the same result. I kind of expect that I will. 

Any ideas how I stop this? Or is there a simple method of querying and removing duplicates in Insight? 

1 answer

0 votes
ian
Contributor
February 7, 2022

Tested agent on another pc. Same result. Duplicate entries in the XML file for nearly all applications in Windows 'Programs and Features' section. This result in duplicate entries in Insight when imported because the object hash is different.

Am I doing something fundamentally wrong?

Christian Bär
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 11, 2022

Hi Ian,

I would assume that the different ObjectHash is because of the missing install date in the second case.

Have und checked ObjectHashSettings.xml to see which fields are used to build the ObjectHash ?

Regards,
Christian

Like ian likes this
ian
Contributor
May 21, 2022

Thanks Christian for the pointer. I think that's probably it. Will have a look soon.

Unfortunately, I've not done much with Discovery since posting the above question - been too busy elsewhere. Will update here when I've had a look.

By the way, do you know how I would accept your response as the answer? There does not appear to be an option to do so.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events