Lansweeper logo
Home Download Features Demo Buy now Help Support forum
 

How to move Lansweeper to a different server.

  1. Stop the Lansweeper service on your current setup.
  2. Take a full backup of your lansweeperdb database using SQL Server Management Studio.
  3. If you added any custom images to Lansweeper, you may want to copy these files as well.
    Custom images can be found in Program Files/Lansweeper/Website/actions and Program Files/Lansweeper/Website/userpictures.
  4. Do a full installation of Lansweeper on your new setup. Our latest installer can be found here.
  5. Stop the Lansweeper service on the new server.
  6. Do a restore of the database backup and overwrite the lansweeperdb database on the new server.
  7. Execute the below script in SQL Server Management Studio.
    This will ensure that the SQL user for your Lansweeper database is configured correctly.

    use lansweeperdb
    GO
    drop schema lansweeperuser
    GO
    drop user lansweeperuser
    go
    execute sp_droplogin lansweeperuser
    go
    use master
    GO
    EXEC sp_addlogin 'lansweeperuser', 'mysecretpassword0*', 'lansweeperdb', [English]
    GO
    use lansweeperdb
    go
    EXEC sp_grantdbaccess 'lansweeperuser', 'lansweeperuser'
    GO
    EXEC sp_addrolemember [db_owner], 'lansweeperuser'
    Go

  8. In your Lansweeper configuration files make sure that the Data Source, User ID and Password correspond with your SQL Server settings.
    The config files are: Program Files\Lansweeper\Service\Lansweeperservice.exe.config and Program Files\Lansweeper\Website\web.config
  9. Execute the below script in your Lansweeper configuration console under Lansweeper/Database Scripts.
    Replace “newserver” with the name of your new scanning server.

    update tsysasservers set servername='newserver'

  10. Copy any custom images from your old setup to your new one and restart the Lansweeper service on your new server.


Most requested articles:

Lansweeper troubleshooting guide.
The RPC server is unavailable. 0x800706BA
WMI Access is denied. 0x80070005
How to configure the windows firewall using group policies.
Configuring Internet explorer to allow custom actions.
   
Hemoco E-mail: support@lansweeper.com 
Copyright 2004 - 2012 Hemoco bvba