STATUS_VOLUME_DIRTY (0XC0000806) Quick Fix & Why It Happens
The volume is marked dirty, often after a crash or unsafe shutdown. Running chkdsk /f on that drive clears the dirty flag and fixes the error.
Quick Answer
Open an elevated Command Prompt and run chkdsk /f X: (replace X with the drive letter showing the error). Reboot if prompted. That clears the dirty bit and kills the error.
Why You're Seeing STATUS_VOLUME_DIRTY (0XC0000806)
This error trips up a lot of people—I know it's infuriating when it pops up mid-work. The code 0XC0000806 means the volume's dirty bit is set. Windows marks a drive as dirty after an improper shutdown, a crash, or a sudden power loss. It's basically the OS saying, "Hey, I didn't finish writing something here—could be file system corruption." The dirty bit itself isn't harmful; it's just a flag that tells Windows to check the drive on next boot. But when you try to access files or run certain operations while it's set, you get this error.
The most common trigger: you yanked a USB drive without safely ejecting, or your PC blue-screened while writing to an external hard drive. On internal drives, it usually shows after an unexpected restart (like a power outage). I've seen it on Windows 10 and 11, across both NTFS and exFAT volumes—though NTFS is more typical for internal drives.
How to Fix STATUS_VOLUME_DIRTY
Skip the fancy tools—you don't need third-party software. The fix is built into Windows and takes under five minutes.
- Open Command Prompt as admin. Hit the Start button, type
cmd, right-click "Command Prompt," and choose "Run as administrator." Accept the UAC prompt. - Run chkdsk with the /f flag. In the black window, type
chkdsk /f C:if the dirty volume is your system drive (C:). If it's a different drive like D: or E:, replaceC:with that letter. For example:chkdsk /f D:. Hit Enter. - Schedule if it's the system volume. If you ran it on C:, you'll see a message saying chkdsk can't lock the drive and asking if you want to schedule it on next reboot. Type
Yand press Enter. Then restart your PC. chkdsk will run before Windows fully loads—let it complete, even if it takes a while (could be 10-30 minutes on a large drive). - Check results. After chkdsk finishes, the dirty bit is cleared. Try the operation that gave you the error again. Should be gone.
I've fixed hundreds of these errors with just those steps. It's rare that chkdsk fails to clear the bit.
Alternative Fixes If chkdsk Won't Run or Fails
Sometimes chkdsk itself errors out because the drive has physical damage or the file system is too corrupted. Here's what to try next.
- Use Recovery Environment. Boot from a Windows installation USB, pick "Repair your computer," then go to Troubleshoot > Advanced Options > Command Prompt. Run
chkdsk /f C:from there. The recovery environment has no lock on the drive, so it runs immediately. - Force remove the dirty bit via registry (advanced). This is a last resort—and honestly, I only recommend it if chkdsk keeps failing and you're sure the drive is healthy. Open Regedit, go to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager. Find thePendingFileRenameOperationsvalue. If it exists, delete it. Then reboot. Warning: This can hide real corruption. Only do this if you've backed up your data. - Run a surface scan. If the drive keeps getting dirty, it might be failing. Use
chkdsk /r(same as /f plus bad-sector scan) on the volume. On large drives, this takes hours—run it overnight.
Skip the third-party "dirty bit removers" you see online. They're just wrappers around chkdsk or registry hacks. Not worth your time.
How to Prevent STATUS_VOLUME_DIRTY From Popping Up Again
Most people get this because they yank drives without ejecting or rely on a flaky UPS. Here's the boring but effective prevention:
- Always safely eject USB drives. In the system tray, click the USB icon and choose "Eject." Or use
Ejectin File Explorer's right-click menu. Takes two seconds. - Get a UPS if you're on a desktop. Even a cheap $50 battery backup lets you shut down cleanly during an outage. Dirty volumes are rare with a UPS.
- Disable fast startup. This Windows feature (enabled by default) can leave volumes in a weird state after shutdown. Go to Power Options > Choose what the power buttons do > Change settings that are currently unavailable > uncheck "Turn on fast startup." Reboot. I've seen this alone stop recurring dirty bit issues on laptops.
If you're on an SSD, fast startup isn't saving you much boot time anyway—it's largely for HDDs. Disabling it won't hurt performance.
That's it. chkdsk /f, a reboot, and a better shutdown habit—you won't see 0XC0000806 again.
Was this solution helpful?