Before taking any action, quit the Logitech G HUB application.

Prevent GHUB to scan directories and new games on your computer

  1. Go to %ProgramFiles%/LGHUB/data
  2. Backup applications.json file (i.e. rename applications.json to applications.json.bk)
  3. Open applications.json with your favorite text editor
  4. Replace the whole file with:
    {
      "applications": []
    }
    
  5. Save the file (applications.json)

You can revert this change back at any time by replacing the applications.json by the applications.json.bk you 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:

  1. Go to %LOCALAPPDATA%/LGHUB
  2. Take a backup of settings.db (i.e. copy settings.db to settings.db.bk)
  3. We now need to open & editsettings.db (an SQLite database). There are plenty of tools that allow to open / edit SQLite databases (I personally use DB Browser for SQLite).
  4. Browse the data from the data table 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.

  5. Once you have deleted the applications you wanted - appy the changes
  6. 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.