CapabilityAccessManager.db-wal ballooning to hundreds of gigabytes
Safely deleting CapabilityAccessManager.db-wal
Many posts suggest restarting in Safe Mode and simply deleting CapabilityAccessManager.db-wal; however, that unfortunate approach reportedly breaks WiFi, screen capture, Settings, and more.
u/Ancient-Reply2879 and Pony appear to have independently arrived at the correct method: delete the folder (C:\ProgramData\Microsoft\Windows\CapabilityAccessManager\) rather than the file (C:\ProgramData\Microsoft\Windows\CapabilityAccessManager\ CapabilityAccessManager.db-wal).
Refactored a PowerShell script shared by Anonymous (2024) and jsmorley (2025) to delete the directory rather than the contents:
Prevention
Disabling Location services (Settings → Privacy & security → App permissions → Location) and uninstalling SmartByte (advisable in any case) are reported as possible fixes.
Update
Microsoft admits a Windows 11 bug is eating up to 500GB of storage, verify if you are affected:
"[A] file linked to Capability Access Manager continues to fill the system drive until it runs out of storage. ... If your PC is affected, the safest fix is to install Windows 11 KB5095093 from Windows Update, or wait for the July 2026 Patch Tuesday update, where the fix is expected to roll out automatically"
❧ 2026-04-18