Microsoft has once again managed to add another monumentally ridiculous bug to Windows 11. This time around, they have added a bug where hundreds of gigabytes of storage have disappeared for no obvious reason. Most of the time, the issue is caused by a hidden system file called CapabilityAccessManager.db-wal, which can grow far beyond its normal size. Thankfully, there are a couple of ways you can fix this right now, though if you aren't in a rush, you can wait for the official bug fix coming soon.
Takeaways:
- Learn how to check and fix the Windows 11 500GB Storage Bug.
- Is there a way to fix Windows 11 wasting hundreds and hundreds of GB of storage space after a recent update?
Table of Contents
What's Causing the 500GB Storage Usage Bug on Windows 11?
From what everyone has managed to dig up so far, the problem seems to be caused by a hidden system file called CapabilityAccessManager.db-wal, which can grow far beyond its normal size. The file is part of Windows' Capability Access Manager, a component that manages app permissions for features such as the camera, microphone, location, contacts, and screen recording.
When everything is working normally, the write-ahead log (WAL) file temporarily stores changes before they are merged back into the main database. Due to a Windows 11 bug, this process can fail, allowing the file to grow indefinitely. Some users have reported the file reaching 70GB, 200GB, or even more than 500GB.
It's a very similar issue to the Xbox App uninstalling games but not actually removing any of the used space. The game would appear uninstalled, but all of the files remained on the system with no way to remove them.
How to Check if You Are Affected by the 500GB Storage Bug
The quickest way to find out if you have the issue on your computer is through Windows Storage settings.
- Open Settings.
- Select System.
- Click Storage.
- Select Show more categories.
If System & reserved or System files are using hundreds of gigabytes, there's a good chance this bug is affecting your computer.
Check the Hidden File
For a more accurate check, open Command Prompt as admin and run the following command:
robocopy "C:\ProgramData\Microsoft\Windows\CapabilityAccessManager" "%TEMP%\CAMCheck" /L /B /R:0 /W:0 /BYTES /NP
This command only lists files. It does not copy, modify, or delete anything. Look for the file:
CapabilityAccessManager.db-wal
If it is only a few megabytes in size, your system is working normally. If it has grown to several gigabytes or continues increasing over time, you've got the bug!
How to Fix the 500GB Storage Bug on Windows 11
Microsoft has released a fix in the optional Windows 11 update KB5095093, available for builds 26200.8737 and 26100.8737. To install it:
- Open Settings.
- Go to Windows Update.
- Select Advanced options.
- Open Optional updates.
- Install KB5095093 if it is available.
If you don't want to install optional updates, the fix is expected to roll out to all supported Windows 11 systems through the regular Patch Tuesday updates. Microsoft says the update improves disk space usage for the CapabilityAccessManager.db-wal file, although it has not explained why the file was able to grow so large on affected systems.
I wouldn't be getting your hopes up though, as Microsoft's fixes are quite often hit and miss. For example, the Xbox storage bug they have apparently fixed still pops up from time to time.
Manual Repair
Some have managed to fix this problem manually by deleting the oversized CapabilityAccessManager.db-wal file and replacing it with a clean copy from a fresh Windows installation. While this seems to work for a lot of people, it isn't an official fix, so it may or may not work on your device. If you're desperate for storage space, though, it might buy you time.