Creating, using and changing asset states

Every scanned or manually created computer and device in Lansweeper has an asset state. States are a Lansweeper feature that allow you to keep track of which assets are active in your network, which have been decommissioned, which are in stock etc. By default, an asset's state is set to "active". However, an asset's state can be changed, either manually or by enabling automated cleanup options. There are built-in states, but you can create your own as well.

Most built-in reports and asset pages only list assets whose state is set to "active". Setting an asset to another state is therefore a good way to "ignore" the asset and remove it from overviews, without fully deleting the asset from your database. Reports found in the Reports tab of the web console can also be modified though to list assets with other states. Assets with a state other than "active" can be found through the search bar as well and in the asset list you see when clicking the Assets link at the top of the web console.

This article explains how you can create your own asset states, change an asset's state manually or change an asset's state through automated cleanup options.

asset state in the Summary tab

Creating asset states

To create a new asset state, do the following:

  1. Browse to the following section of the web console: Configuration\Asset Pages
    Asset Pages menu
  2. Hit the Add Asset state button in the Asset States section of the page.
    adding an asset state
  3. Enter an asset state name into the State Name field of the popup window.
  4. Hit the OK button. The asset state is now included in any asset state dropdowns within the web console.

Changing an asset's state manually

To change an asset's state, do one of the following, depending on whether you want to update a single asset or multiple assets at once:

  • Browse to an asset's Lansweeper webpage and hit Edit asset on the left, under Asset options. Select an asset state from the dropdown and hit Save asset on the left.
    changing state on an individual asset page
  • Click the Assets link at the top of the web console, tick the checkboxes in front of the assets of your choice and hit the Edit Fields button on the left, under Asset Actions. In the resulting popup, select the State field, choose your preferred asset state for the assets you selected and hit Change Field(s)
    - You can perform a search on one of the columns to more easily find specific assets. In the example below, we filtered the Type column to only list music systems.
    - You could also tick the checkbox at the very top to select all assets in the current search results.
    changing asset state through Edit Fields
    changing asset state through Edit Fields
  • Click the Assets link at the top of the web console and hit the Mass Edit Mode button on the left, under Options. Place your cursor in the State column, select an asset state from the dropdown and hit Ok.
    changing asset state through Mass Edit Mode
    changing asset state through Mass Edit Mode

Changing an asset's state by enabling automated cleanup options

Instead of manually changing an asset's state, you can also configure Lansweeper to automatically change the state of stale, decommissioned or recommissioned assets. Several automated cleanup options are available for this in the Configuration\Server Options section of the web console, though they are disabled by default. If enabled, most of these cleanup operations are performed when the Lansweeper Server service starts on your Lansweeper server and automatically every 24 hours afterward. More information on available cleanup options can be found in this knowledge base article.

changing asset state through asset cleanup options
If you want "non-active" assets automatically reactivated when they reappear in your network, make sure to enable the first cleanup option under Configuration\Server Options. If you do not enable this cleanup option, a "non-active" asset will not automatically be set to "active" again.

Related Articles