Windows 11 and the strange bug that devours gigabytes of storage without warning

  • The culprit is a log file called CapabilityAccessManager.db-wal that grows out of control.
  • Microsoft has already released patch KB5095093 to fix this root cause of the problem.
  • Disabling location services works as a temporary measure if the disk is almost full.
  • Manually deleting files is not recommended to avoid critical Wi-Fi connection or permission failures.

Storage failure in Windows 11

Many Windows 11 users have been shocked to see their free hard drive space vanish as if by magic. Without having downloaded large movies or installed new games, their storage drives have started to... lose tens of gigabytes in a matter of days, leaving the teams on the verge of operational collapse and without a logical explanation at first glance.

After a flood of complaints on official forums, it has been confirmed that the culprit behind this mess is an internal system component that, on its own initiative, created a file that keeps growing. Microsoft has already taken action, acknowledging the existence of a error in record management of privacy, which causes a small file that should be insignificant to end up weighing more than the entire operating system combined.

The CapabilityAccessManager file and its voracious appetite

System file taking up space

The problem originates in a service called Capability Access Manager (CAM), which is responsible for monitoring which applications have permission to use the camera, microphone, or location. To maintain this control, it uses a database and a specific log file called CapabilityAccessManager.db-walIn a normal situation, this file only takes up a couple of megabytes, something you wouldn't even notice even if you searched for it thoroughly.

However, due to a bug that appears to have been introduced in a recent update, the system enters a constant write loop. This causes the file to grow uncontrollably, with reports of users witnessing how It reached 500 GB in size. Because it's located in a protected system folder (ProgramData), it's not easy to detect with a simple glance at the file explorer, which creates a feeling of total bewilderment when you see the C drive filling up on its own.

speed up windows 11
Related article:
How to speed up Windows 11 and optimize your PC's performance

How to check if your computer is losing space

Storage settings in Windows 11

To find out if you're one of the victims of this bug, the quickest way is to go to the Settings menu and navigate to the Storage section. Once there, if you tap on "Show more categories" and enter... System and reservedYou'll be able to see how much space the system files are taking up. If you see an exorbitant figure, over 100 or 200 GB, it's almost certain that your computer is experiencing this infinite write error.

If you're a bit more comfortable with computers, there's a more precise method using the command prompt. By executing a command... diagnosis with the robocopy tool (Always as administrator), you can read the actual size of that protected folder without risking breaking anything. It's important not to try to change the permissions of that folder haphazardly, since Windows protects it for a reason and you could end up with an unstable system if you mess with something you shouldn't.

Diagnostic command for Windows 11

The official solution and a temporary workaround

Windows Update

The good news is that Microsoft has already made its move by launching the optional update KB5095093This patch specifically corrects how the .db-wal file is managed to prevent it from growing unnecessarily large. If you don't see it yet, or if you prefer to wait, this same fix is ​​expected to be automatically rolled out to everyone with the July security update package, the classic "Patch Tuesday," although sometimes Microsoft pauses Windows 11 update due to installation errors.

If your disk is so full that you can't even download the update, there's a temporary solution that's working quite well. It involves going to the privacy settings and turn off location services completely. By doing this, the Capability Access Manager service stops logging events so aggressively, and the file usually stops growing, giving you a break to clean up your computer or install the final patch.

Privacy and security in Windows 11

Don't be tempted to forcefully delete the file while Windows is running. Some users who have tried this have encountered problems. critical Wi-Fi network failures or applications that stop opening because they can't verify their permissions. If the situation is critical and you don't have a single megabyte of free space left, the best solution is to boot your PC in safe mode or use the recovery environment to rename the file, forcing Windows to create a new, clean one from scratch.

PC repairing disk errors

This incident reminds us that sometimes the most annoying errors don't come from viruses or external programs, but from the system's own maintenance tools malfunctioning. Keeping your computer up to date with the latest updates is the surest way to prevent such problems. simple permissions registration It could end up hijacking half of your hard drive and compromising the stability of your daily work tool.

Windows 11 will allow updates to be paused indefinitely
Related article:
Windows 11 will give more control to pause updates indefinitely

Add as preferred source