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 machines are active in your network, which have been decommissioned, which are in stock etc. By default, a machine's state is set to "active". However, this 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 pages only list machines whose state is set to "active". Setting a machine to another state is therefore a good way to "ignore" the asset and remove it from overviews, without fully deleting the machine from your database. Reports found in the Reports tab of the web console can also be modified though to list machines with other states. Assets with a state other than "active" can be found through the search bar as well and in the 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.
Creating asset states
To create a new state, do the following:
- Browse to the following section of the web console: Configuration\Asset Pages
- Hit the Add Asset state button in the Asset States section of the page.
- Enter a state name into the State Name field of the popup window.
- Hit the OK button. The state is now included in any 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.
- 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.
- 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 a state from the dropdown and hit Ok.
Changing an asset's state by enabling automated cleanup options
Instead of manually changing states, you can also configure Lansweeper to automatically change the state of stale, decommissioned or recommissioned machines. 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.