Skip to main content
hard-driveINFO

Windows 11's Disk-Eating Bug (CapabilityAccessManager.db-wal): What It Is and How to Fix It

A Windows 11 bug let the CapabilityAccessManager.db-wal file balloon and never flush, eating tens of gigabytes of disk space. Here is what it is, how to tell if you are affected, and how to fix it with the official KB5095093 update.

By Eric Gerard · Editor · Save My Disk5 min readPhoto via Pexels

If your Windows 11 drive has been filling up for no clear reason, you are not imagining it. A confirmed Windows 11 bug let a single hidden system file grow without limit, quietly swallowing tens of gigabytes of disk space on affected machines. Microsoft has now shipped a fix. Here is exactly what happened, how to check whether your PC is affected, and how to get your space back.

What is the CapabilityAccessManager.db-wal bug?

The culprit is a file named CapabilityAccessManager.db-wal. It belongs to the Capability Access Manager, the part of Windows 11 that keeps a record of which apps have accessed sensitive resources such as your camera, microphone, and location.

The .db-wal extension marks it as a write-ahead log: a temporary companion file to a small SQLite database. By design it fills up during normal use and then flushes its contents back into the main database roughly once a month, staying small the rest of the time.

The bug broke that cycle. In certain cases the flush never happened, so the file kept growing and growing without ever being emptied. Instead of a few megabytes, it swelled into the tens of gigabytes.

Hands working on a desktop computer's motherboard
Hands working on a desktop computer's motherboard

How big did the file get?

Reports varied a lot depending on the machine and how long the bug had been running. According to TechRadar and Neowin, affected users described CapabilityAccessManager.db-wal growing from its normal tiny footprint to anywhere between roughly 25 GB and 60 to 100 GB. Some users cited sizes approaching 200 GB.

On a laptop with a modest 256 GB SSD, that is enough to fill the drive completely and bring the whole system to a crawl. The frustrating part was that the space seemed to vanish with no visible cause, since the file sits deep in the Windows system folder where most people never look.

How to tell if you are affected

The tell-tale sign is simple: your free space keeps dropping even though you have not added large files, programs, or games. To confirm it is this specific bug rather than something else:

  1. Download a free disk-usage scanner such as WizTree or TreeSize Free. Both list every file on a drive sorted by size.
  2. Scan your system drive (usually C:).
  3. Look near the top of the list for a file called CapabilityAccessManager.db-wal. If it is showing tens of gigabytes, that is the bug.

If the file is a few megabytes or does not appear at all, your disk-space problem has another cause. Our guide to what a hard drive is and how storage fills up can help you track down other space hogs.

How to fix the Windows 11 disk space bug

The clean, supported fix is an official Microsoft update, not a manual file deletion.

Microsoft released update KB5095093 on 29 June 2026. Its changelog entry states, word for word: "This update improves disk space usage for the CapabilityAccessManager.db-wal file." Installing it lets Windows correct the flushing behaviour and reclaim the wasted space.

To install it:

  1. Open Settings.
  2. Go to Windows Update.
  3. Click Check for updates.
  4. Install KB5095093 when it appears, then restart your PC.
  5. After the restart, re-scan the drive and confirm your free space has recovered.

If the update does not show up immediately, Windows sometimes staggers its rollout. Checking again after a day, and making sure your PC is not paused on updates, usually resolves it.

A word of caution on manual deletion

You may see suggestions to simply delete CapabilityAccessManager.db-wal by hand. It is safer not to. This is a live system file located in the Windows system directory, and deleting files there carelessly can cause other problems. The low-risk path is to let KB5095093 through Windows Update handle it. Leave manual intervention to advanced users who fully understand what they are doing and have a backup first.

Editorial pick
4.5 / 5

Recover files if a full disk caused data loss

Founded in 200430-day guaranteeFree 2 GB version
See the offer

Why a full disk is more than an annoyance

A drive that fills to 100 percent is not just inconvenient. Windows needs free space to work: to write temporary files, apply updates, and save your open documents. When space runs out, you can see failed updates, apps crashing mid-save, and a general slowdown. That is precisely the kind of situation where files get corrupted or a save is lost.

This is why fixing the bug and keeping a backup go hand in hand. If you are not already following a backup routine, our 3-2-1 backup strategy guide walks through a simple setup that protects your files even when the system misbehaves.

Prevention going forward

  • Keep Windows Update current. This bug was fixed by an update. Staying up to date is the single most reliable way to receive fixes like this one promptly.
  • Watch your free space. If your available storage drops sharply without explanation, run a disk-usage scanner early rather than waiting for the drive to fill.
  • Consider your drive type and size. Small SSDs fill fastest and feel the impact hardest. If you are weighing an upgrade, our SSD vs HDD comparison covers the trade-offs.
  • Back up regularly. A current backup turns a full-disk emergency into a minor inconvenience.

The bottom line

The Windows 11 disk space bug came down to one file, CapabilityAccessManager.db-wal, that was supposed to shrink each month but kept growing instead. Reported sizes ran from about 25 GB to as much as 200 GB according to users cited by TechRadar and Neowin. The fix is straightforward: install KB5095093, the update Microsoft released on 29 June 2026 specifically to improve disk space usage for that file, then confirm your space is back. Skip the risky manual deletions and let Windows Update do the work.

Editorial pick
4.5 / 5

Recover the data from your hard drive → EaseUS

Free scan · deleted, formatted & lost files · Windows & Mac

Founded in 200430-day guaranteeFree 2 GB version
See the offer

Frequently asked questions

What is the CapabilityAccessManager.db-wal file in Windows 11?

It is a write-ahead log (the .db-wal companion of a SQLite database) tied to the Capability Access Manager, the Windows 11 component that tracks which apps have used sensitive resources like the camera, microphone, or location. The file is designed to grow and then flush its contents back into the main database on a monthly cycle. In a healthy system it stays small.

Why is CapabilityAccessManager.db-wal so large on my PC?

Because of a bug. The file is meant to be emptied periodically, but in certain cases the flush never happened, so it kept growing without limit. According to TechRadar and Neowin, affected users reported the file swelling from a normal size to anywhere between roughly 25 GB and 60 to 100 GB, with some users citing sizes near 200 GB.

How do I know if I am affected by the Windows 11 disk space bug?

The main symptom is your drive filling up with no obvious cause: free space dropping steadily even though you have not installed large programs or games. A free disk-usage scanner such as WizTree or TreeSize will list the biggest files on the drive. If CapabilityAccessManager.db-wal appears near the top at tens of gigabytes, you are affected.

How do I fix the CapabilityAccessManager.db-wal bug?

Install the official Microsoft fix. Microsoft released update KB5095093 on 29 June 2026, and its changelog states: 'This update improves disk space usage for the CapabilityAccessManager.db-wal file.' Open Settings, go to Windows Update, click Check for updates, install KB5095093, and restart. Then confirm your free disk space has recovered.

Should I delete CapabilityAccessManager.db-wal manually?

It is safer not to. This is a live system file, and manually deleting files inside the Windows system folder can cause problems if done carelessly. The supported, low-risk fix is to install KB5095093 through Windows Update and let Windows handle the file. Reserve manual intervention for advanced users who fully understand the risks.

Will I lose data because of this bug?

The bug itself wastes disk space rather than corrupting personal files. The real risk is indirect: a drive that fills to 100 percent can make Windows unstable, block updates, and interrupt saves, which is where data loss can creep in. Freeing the space with KB5095093 and keeping a current backup protects you on both fronts.