You can execute the script below in the Lansweeper configuration console under Lansweeper\Database Scripts. Copy and paste the code and hit the "Execute sql script" button. Note that this will delete all scanned data and all scan settings from your database.