Prevent Logitech GHUB to scan dirs and delete auto-detected profiles
Before taking any action, quit the Logitech G HUB application.
Prevent GHUB to scan directories and new games on your computer
- Go to
%ProgramFiles%/LGHUB/data - Backup
applications.jsonfile (i.e. renameapplications.jsontoapplications.json.bk) - Open
applications.jsonwith your favorite text editor - Replace the whole file with:
{ "applications": [] } - Save the file (
applications.json)
You can revert this change back at any time by replacing the
applications.jsonby theapplications.json.bkyou took earlier.
Remove auto-detected games from GHUB
If you go in Manage profiles in GHUB and look under Games & Applications, you will notice some games already automatically being added to the list. If you click on the SETTINGS tab, you won’t see any button to FORGET APP like the following (that usually appear for custom added games):

To remove these apps, you can:
- Go to
%LOCALAPPDATA%/LGHUB - Take a backup of
settings.db(i.e. copysettings.dbtosettings.db.bk) - We now need to open & edit
settings.db(an SQLite database). There are plenty of tools that allow to open / edit SQLite databases (I personally use DB Browser for SQLite). - Browse the data from the
datatable and delete any application object you want to remove (the list should start around L20). Here is what an application object looks like:{ "applicationId": "d727d5d5-f4ec-485e-95c5-2e17e0c1e316", "applicationPath": "C:\\Path\\to\\the\\Game\\file.exe", "isCustom": false, "name": "The Game Name", "posterPath": "C:\\Users\\JohnDoe\\AppData\\Local\\LGHUB\\icon_cache\\c8e5161f02afb84582532708f0ba593440a1688cebf08c5b33a509cc3e2dda23.bmp" }You can determine quite easily the games that were added automatically as they should have an attribute
"isCustom": false. - Once you have deleted the applications you wanted - appy the changes
- Save
settings.db
You can now start the Logitech G HUB application and if you go to Games & Applications, all the games you removed from settings.db should be gone. If you followed the “Prevent GHUB to scan directories and new games on your computer” section above, no game should be added automatically from now on.
Keep in mind that updating GHUB could revert the changes from
applications.json. To prevent this, you can disable Enable automatic updates from the APP SETTINGS in the GHUB app.