→ 🚀Are you a Lansweeper Champion?! Join our Contributor Program Sign up here!

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

TL;DR-Sweepy-Icon (1).png
Learn how to enable Lansweeper's auto-update feature, ensuring seamless updates, minimized downtime, and enhanced security.


This feature is currently in preview.

Auto-updates ensure Lansweeper stays updated with the latest features, security patches, and performance improvements without manual intervention. By enabling automatic updates, you can reduce maintenance efforts, minimize downtime, and keep your system running smoothly.

Requirement & considerations

  • Lansweeper 12.3.2.2 or later is required.
  • If the auto-update fails, the Update Service will trigger a rollback.
  • Auto-update supports environments with multiple scan servers.
  • Ensure scan server jobs, such as scanning and deployments, are not running during scheduled auto-updates, as they will be interrupted.

Enable auto-update

  1. In your Lansweeper On-premises console, go to Configuration > Auto-update.
  2. Select Automatically install updates.
    auto-update.png

Manage auto-updates

When it is available, a new version will appear under the Availability section. The system checks for new versions every hour.

adab4590-6b63-4d67-8c35-4ca479f945cb.png

Install updates manually

If you'd prefer to install updates before the scheduled maintenance time, select Install updates.

Schedule auto-updates

You can choose the days and times for your updates. Auto-updates interrupt scan server jobs, so schedule them accordingly.

  1. In your Lansweeper On-premises console, go to Configuration > Auto-update > Change period.
  2. Select which days of the week you want the update to occur.
  3. Select which time of day you want the update to occur.
  4. Select Save maintenance settings.

Update history

The History section contains the history of previous auto-updates, where you can review past updates, including version details and statuses.

2b723303-26aa-425f-af93-9abab5dc55c8.png

Database permission requirement

The LansweeperUser account used to connect to the LansweeperDB instance must have the dbcreator role assigned.

If this role is not configured, a notification will appear:

"The LansweeperUser account used to connect to the LansweeperDB instance doesn't have the 'dbcreator' role. In the unlikely event that a rollback is needed during the auto-update process, the service will not be able to roll back the database automatically unless the 'dbcreator' role is granted to the LansweeperDBUser."

To resolve this issue, execute the following command:

use master 
GO 
EXEC sp_addsrvrolemember [lansweeperuser], [dbcreator]; 
GO 
GRANT VIEW SERVER STATE TO [lansweeperuser] 
GO 
use lansweeperdb 
GO

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now
Version history
Last update:
yesterday
Updated by: