How to Clean Logitech G HUB Cache & Update Depots (LGHUB)
Location & Quick Verdict
C:\ProgramData\LGHUB\depots and %LocalAppData%\LGHUB\cache
Is LGHUB cache safe to delete? Logitech G HUB downloads compressed firmware and software update depots into C:\ProgramData\LGHUB\depots and stores Chromium UI media blobs in %LocalAppData%\LGHUB. Old depot folders are frequently left behind after updates.
Why Logitech G HUB Cache & Update Depots (LGHUB) Balloons After Game Patches & Season Updates
Modern PC game launchers, anti-cheat engines, and peripheral daemons write encrypted chunk depots, delta-patch staging archives, and Embedded Chromium (CEF) storefront assets directly into C:\ProgramData\LGHUB\depots and %LocalAppData%\LGHUB\cache. Whenever a download pauses, switches branches, or applies a major seasonal update, uncommitted delta chunks and superseded installer archives are frequently left orphaned on disk because launchers prioritize patch speed over post-install garbage collection.
Leaving 1.5 GB – 8.0 GB of stale depot chunks and session telemetry sitting on your primary NVMe SSD reduces free block headroom and slows down Steam/Epic/Riot delta-patching I/O. Purging Logitech G HUB Cache & Update Depots (LGHUB) while no game update is actively downloading frees 1.5 GB – 8.0 GB immediately without touching installed game binaries, local save files, or controller/mouse macro profiles.
# Inspect current disk footprint of Logitech G HUB Cache & Update Depots (LGHUB) (Read-Only)
$target = "C:\ProgramData\LGHUB\depots"
Get-ChildItem -Path $target -Recurse -Force -ErrorAction SilentlyContinue |
Measure-Object -Property Length -Sum |
Select-Object Count, @{Name="SizeGB";Expression={[math]::Round($_.Sum / 1GB, 2)}}
Manual Cleaning Instructions
- 1 Quit Logitech G HUB completely from the system tray and end lghub_agent.exe and lghub_updater.exe in Task Manager.
- 2 Press Windows Key + R, type C:\ProgramData\LGHUB\depots and press Enter, then delete old numbered update depot folders.
- 3 Open %LocalAppData%\LGHUB and clear the cache and GPUCache folders (do NOT delete settings.db or settings.json so your macros stay intact).
- 4 Relaunch G HUB or use SWEEPR Cleaner to safely purge LGHUB depots and cache in 1 click.
Note: If Windows alerts that a file is in use or locked by a background process, close the associated task in Task Manager before deleting, or use SWEEPR Cleaner to release locked handles safely.
Sub-Folders & Cache Locations Breakdown for Logitech G HUB Cache & Update Depots (LGHUB)
Modern Windows applications and system services split their disk footprint across multiple sub-directories (`Cache_Data`, `Service Worker\CacheStorage`, `Code Cache`, `GPUCache`, and `Crashpad\reports`). Review which sub-folders inside Logitech G HUB Cache & Update Depots (LGHUB) are safe to purge and which files remain protected:
| Sub-Folder / Cache Location | Storage Role | Typical Footprint | Deletion Safety |
|---|---|---|---|
| C:\ProgramData\LGHUB\depots | Primary Update Staging, Patch Depots & Chunk Cache | 1.5 GB – 8.0 GB | 🟢 100% Safe (When Game Closed) |
| C:\ProgramData\LGHUB\depots\ShaderCache / GPUCache | Compiled DirectX 12 / Vulkan / CEF Shader Pipelines | 350 MB – 3.5 GB | 🟢 100% Safe (Rebuilds on Launch) |
| C:\ProgramData\LGHUB\depots\webcache / Service Worker\CacheStorage | Embedded Launcher Storefront & News Feed Web Assets | 250 MB – 2.0 GB | 🟢 100% Safe |
| C:\ProgramData\LGHUB\depots\Logs & Crashpad\reports | Rotating Session Telemetry & Crash Minidumps (.dmp) | 150 MB – 4.0 GB | 🟢 100% Safe |
| %UserProfile%\Saved Games & Config.json | Player Save Files, Keybinds, Profiles & Loadouts | Protected | 🔒 Protected — Never Touched |
Frequently Asked Questions
Is it safe to delete Logitech G HUB Cache & Update Depots (LGHUB)?
Yes, 100% safe. Deleting old LGHUB update depots and UI cache folders frees 1.5 GB – 8.0 GB of C: drive space and fixes the infamous G HUB infinite loading logo spinning bug—while keeping your mouse DPI, G-Shift macros, and lighting profiles in settings.db completely safe.
How much storage space will cleaning Logitech G HUB Cache & Update Depots (LGHUB) free up?
Users typically reclaim 1.5 GB – 8.0 GB on Windows 10 and Windows 11 systems depending on update frequency and active cache retention in C:\ProgramData\LGHUB\depots and %LocalAppData%\LGHUB\cache.
Will cleaning Logitech G HUB Cache & Update Depots (LGHUB) force my games to re-download or reset my settings?
No. Game binaries live in your main library directory (such as steamapps\common) and user settings live in separate configuration profiles. Deleting Logitech G HUB Cache & Update Depots (LGHUB) only removes temporary update staging chunks, cached storefront media, and rotated session logs.
Where is Logitech G HUB Cache & Update Depots (LGHUB) located on Windows 10 and Windows 11?
It is stored at C:\ProgramData\LGHUB\depots and %LocalAppData%\LGHUB\cache. You can paste that path directly into the Windows Run dialog (Win + R) or File Explorer address bar to inspect it.
Where does Logitech G HUB store its mouse DPI profiles and macros when cleaning LGHUB cache?
Your G HUB profiles and macros live in %LocalAppData%\LGHUB\settings.db. Cleaning C:\ProgramData\LGHUB\depots and %LocalAppData%\LGHUB\cache reclaims 1–6 GB of orphaned update payloads without touching settings.db.
Manual File Explorer vs. 1-Click SWEEPR Cleanup
| Feature | Manual Deletion | SWEEPR Cleaner |
|---|---|---|
| Locked File Handling | Fails on locked processes | Safe background release |
| Accidental Deletion Risk | Moderate (easy to delete wrong folder) | Zero (strict rules & hashes) |
| Safety Undo Rollback | None (Shift+Del is permanent) | 7-Day Automatic Rollback |
| Time Required | 10–20 minutes per app | < 60 seconds across 40+ areas |
Related Windows Cleanup Guides & Hidden Space Hogs
Clean Logitech G HUB Cache & Update Depots (LGHUB) Automatically
SWEEPR Cleaner safely clears Logitech G HUB Cache & Update Depots (LGHUB) along with 40+ other hidden app folders and leftover files in one click—covering up to 5 devices (Windows, Mac, Android & iOS) with a 7-day undo safety net.