Showing results for 
Show  only  | Search instead for 
Did you mean: 
Lansweeper Tech Support
Lansweeper Tech Support

When a network asset is being scanned, Lansweeper needs to determine whether the asset is already present in the Lansweeper database. It does this by comparing some specific data pulled from the asset being scanned with data already present in the database.

This point of comparison is called the "unique key" or "internal ID" of the asset. It's what Lansweeper uses to uniquely identify the asset. If the unique key of the asset being scanned matches the unique key of an asset already present in the database, the existing asset page is updated with information pulled from the asset being scanned. If the unique key of the asset being scanned does not match any unique key already present in the database, a new asset page is generated for the asset being scanned.

You can see an asset's unique key listed when selecting Edit Asset in the asset's Lansweeper webpage. Keys are stored in the AssetUnique field of the tblAssets database table, though you need to assign an alias to the field to view its data in a report. If no alias is assigned, the report builder automatically converts AssetUnique to an asset name or MAC address.

Depending on the asset's asset type, the unique key is formed differently.

  • Windows assets: the unique key of a Windows computer is:
    <NetBIOS domain or workgroup name>\<NetBIOS computer name>\1

    As a Windows computer's name and domain are used as part of its ID, name or domain/workgroup changes of Windows computers can cause new assets to be generated. You can prevent this behavior by enabling Windows rename detection. In recent Lansweeper releases, this setting is enabled by default.
  • Monitor assets: when a Windows computer is scanned, Lansweeper automatically creates monitor assets for the monitors attached to the computer. The unique key of a monitor asset generated by Lansweeper is:
    Mon:<3-letter monitor manufacturer code>:<monitor serial>

    The monitor manufacturer is referenced with a 3-letter code in the monitor's unique key. A list of 3-letter codes and the monitor manufacturers they belong to can be found in this knowledge base article.
  • Other assets: the unique key of other, non-Windows assets is:
    <MAC address> (if found)
    <IP address>\1 (if a MAC address is not found)
    <device ID or UUID> (in some cases for mobile devices if a MAC address is not found)
    <randomly generated string> (if the asset is manually created without a MAC or IP)
    As a non-Windows device's name is never used as part of its unique key, name changes of non-Windows devices never cause new assets to be generated.
    If a non-Windows device has multiple MAC addresses, Lansweeper picks one MAC as the unique key. All MAC addresses are expected to be unique, however. Devices that share a MAC are considered to be one and the same and may be merged into a single asset.
New to Lansweeper?
Article Dashboard
Version history
Last update:
‎01-03-2023 02:25 PM
Updated by: