i had to do this recently with another database.
just stop lansweeper service, connect with sql server management studio to the database and execute the code:
USE master;
GO
ALTER DATABASE lansweeperdb SET SINGLE_USER WITH ROLLBACK IMMEDIATE;
ALTER DATABASE lansweeperdb SET OFFLINE;
GO
-- Physically move the file to a new location.
-- In the following statement, modify the path specified in FILENAME to
-- the new location of the file on your server.
ALTER DATABASE lansweeperdb MODIFY FILE ( NAME = logical_filename, FILENAME = 'Path_to_the_lansweeperdb_file.mdf' );
ALTER DATABASE lansweeperdb MODIFY FILE ( NAME = logical_logfilename, FILENAME = 'Path_to_the_lansweeperdb_logfile.LDF' );
GO
ALTER DATABASE lansweeperdb SET ONLINE;
ALTER DATABASE lansweeperdb SET MULTI_USER;
GO
--Verify the new location.
SELECT name, physical_name AS CurrentLocation, state_desc
FROM sys.master_files
WHERE database_id = DB_ID(N'lansweeperdb');
Important: the db files on the target drive must have the same security as on the source drive.