Hi, Gabriel,
In general, when an asset is scanned by Lansweeper a unique identifier is being created based on the scanned/submitted information. For non-Windows assets this unique identifier is the MAC address of the asset. With more customer using dynamic mac addressing and virtual NICs, starting with Lansweeper 9.2 we added a second check in there to look at the serial number. If the assets in question meet these criteria, then the assets will be merged.
If this is the case, there is a workaround for this (unwanted) asset merging by adding the affected MAC address(es) to an internal list in the Lansweeper database (tsysMacBlacklist). Adding the common MAC Address(es) to tsysMacBlacklist will prevent Lansweeper from using the common MAC address(es) to uniquely identify assets and will allow both assets to be added to the database.
To blacklist the shared MAC address(es) that is/are causing the asset merging you can do the following:
• The first step is to find out which MAC address is causing the merging. Compare the MAC addresses of the assets that are merging, there should be one or more matching MAC addresses.
• To get the MAC addresses of the assets that are merging, you can use devicetester.exe (Program Files (x86)\Lansweeper\Actions), or check the Network section of its asset page when freshly scanned.
• Execute the below script once for each shared MAC address. Replace this part of the code with the MAC Address that you would like to exclude. You can give the exclusion a name by replacing this. To execute scripts you can make use of the DatabaseMaintenance tool, which can be found under Program Files (x86)\Lansweeper\Tools on your Lansweeper server. Note that as this is a database script, just to be safe, we suggest taking a back-up of your database as described in the following article:
https://www.lansweeper.com/knowledgebase/backing-up-your-installation/
INSERT INTO tsysMacBlacklist (Mac, Comment) VALUES ('AA:BB:CC:00:11:22', 'Exclusion name')
GO
UPDATE tsysupdate SET MacBlacklist = GETDATE()
Just to be sure everything was processed correctly, please restart the Lansweeper Server service, as the MAC blacklist is cached in the service memory. Afterwards try rescanning the assets that are merging.