Excluding assets from scanning

This article explains how to exclude assets from scanning. If an asset is part of just one scanning target, scan attempts will be made for it. Keep in mind that each scanning target works independently. If an asset is part of one scanning target, it will continue to be scanned, regardless of whether it's part of other scanning targets as well. You can determine which scanning targets scanned a Windows machine and when by looking at the Scan Time tab of the machine's Lansweeper webpage. In the example below, computer LAN-001 was scanned by the LsPush scanning agent on March 5th and by an IP Range scanning target on March 6th.

Scan Time tab of Windows computer webpage

To prevent unwanted assets from being scanned, make sure those assets are not part of *any* scanning target or specifically exclude them from scanning. Your scanning targets and asset exclusions are configured in the following section of the web console: Scanning\Scanning Targets

Scanning Targets menu
Changing your scanning setup or excluding an asset from scanning only prevents future scan attempts from taking place. If the asset was already scanned prior to excluding or changing your scanning setup, it will not automatically be removed from your database. You can always delete the asset separately.

To exclude assets from scanning, hit the Add Exclusion button in the Scanning\Scanning Targets section of the web console. There are 4 types of asset exclusions, listed below. If you have multiple scanning servers, you can choose to add the exclusion to all servers at once. From Lansweeper 7.2 onward, you are forced to submit an exclusion reason when creating an asset exclusion for one or more scanning servers. You can choose one of the predefined reasons from the dropdown or manually type a reason by choosing the Other option.

  • Asset Type. Tick the asset type(s) you would like to exclude in the popup window and hit Ok.
    excluding an asset type
    Excluding an asset type from scanning only prevents assets of the specified type from being added to the database. It doesn't prevent Lansweeper from querying assets of the specified type, as a device's asset type cannot be determined without querying the device.
    If you're excluding types because you've reached your Lansweeper license's asset limit, keep in mind that monitors do not count towards your limit. Excluding the Monitor asset type will have no effect on your licensed asset count.
  • IP Address or Range. Enter an individual IP address or an IP range into the exclusion popup window and hit Ok. The ability to exclude entire IP ranges was added in Lansweeper 6.0.
    excluding an IP range or individual IP address
  • Windows Computer. Enter the NetBIOS name of the Windows computer you would like to exclude into the exclusion popup window and hit Ok.
    excluding an individual Windows computer
    You can use the following as a wildcard: %
    • Entering LAN% into the popup window excludes any Windows computer whose name starts with the word "LAN" from scanning.
    • Entering %LAN into the popup window excludes any Windows computer whose name ends in the word "LAN" from scanning.
    • Entering %LAN% into the popup window excludes any Windows computer whose name contains the word "LAN" from scanning.
  • Workgroup or Domain. Enter the NetBIOS name of the domain you would like to exclude into the exclusion popup window and hit Ok.
    excluding a domain or workgroup

Related Articles