Why you're seeing this
I know seeing a blue screen with STATUS_LOG_METADATA_FLUSH_FAILED (0XC01A002D) is frustrating. I've dealt with this error dozens of times across Windows 10 and 11 builds. It means the Common Log File System (CLFS) tried to write metadata to disk, but the write operation failed. The system can't guarantee log integrity, so it panics and crashes.
This error usually shows up during heavy disk I/O—like when you're running a backup, defragging a drive, or copying large files to a nearly-full volume. I've also seen it on systems with failing SSDs or after a recent driver update for storage controllers.
Let's fix it. I'll start with the most common cause first.
1. Disk corruption or failing hardware
Nine times out of ten, this error is a disk issue. The CLFS driver can't flush metadata because the disk isn't responding correctly. This could be file system corruption, bad sectors, or a drive that's dying.
What to do
- Run a full
chkdskon your system drive (usually C:). Open Command Prompt as Administrator and type:
This checks for bad sectors and fixes file system errors. You'll need to restart—say Y when prompted.chkdsk C: /f /r - After the reboot, check the results. If chkdsk found and repaired corruption, you're probably good. But if it found bad sectors (look for 'bad' in the output), your drive is failing.
- Check your drive's S.M.A.R.T. status. Open PowerShell as Admin and run:
If HealthStatus says Warning or Unhealthy, back up your data now and replace the drive. Don't mess around with failing hardware—this error will come back.Get-PhysicalDisk | Select-Object FriendlyName, HealthStatus, OperationalStatus
I've seen this fix work on maybe 70% of cases. If chkdsk didn't find anything, move to the next step.
2. Corrupted or incompatible storage driver
This tripped me up the first time too. A driver update from Windows Update or a motherboard vendor can introduce a bug that breaks CLFS metadata writes. This is especially common with NVMe and RAID drivers.
What to do
- Roll back your storage driver. Go to Device Manager, expand 'Storage controllers', right-click your controller (like 'Standard NVM Express Controller' or 'Intel Chipset SATA/PCIe RST Premium Controller'), choose Properties > Driver > Roll Back Driver if available.
- If that's grayed out, download the latest driver from your motherboard or laptop manufacturer's support site—not from Windows Update. Install it manually.
- If the error started after a specific Windows update, consider uninstalling that update. Go to Settings > Update & Security > View update history > Uninstall updates. Look for any update dated the day the crashes began.
I've had cases where the Microsoft-provided NVMe driver was buggy. Switching to the manufacturer's driver (like Samsung or WD's own NVMe driver) fixed the error permanently.
3. CLFS log file corruption (less common)
Sometimes the CLFS log itself gets corrupted—not the file system, but the internal metadata structure that CLFS uses. This is rare but real, and chkdsk won't fix it.
The fix (advanced)
This requires booting into the Windows Recovery Environment (WinRE). Here's the process:
- Boot from a Windows installation USB or enter WinRE by interrupting the boot process three times (power off during Windows loading screen).
- Choose Troubleshoot > Advanced Options > Command Prompt.
- Identify your system drive letters—often C: in WinRE isn't the same as in normal Windows. Run
diskpart, thenlist volume. Look for the volume labeled 'Windows' or with the large size. Note its drive letter (say D:). - Exit diskpart (
exit), then navigate to the CLFS logs directory:cd /d D:\Windows\System32\config\TxR - List the files and look for any
.blf,.regtrans-ms, or.logfiles. Rename them to.oldto force Windows to recreate them:ren *.blf *.blf.old
ren *.regtrans-ms *.regtrans-ms.old
ren *.log *.log.old - Reboot normally. Windows will regenerate these files on first boot.
This is a nuclear option—only do it if you're comfortable with the command line and have a backup. I've used it on a handful of machines where nothing else worked, and it solved the crash.
Quick-reference summary
| Cause | Fix | Success rate | When to try |
|---|---|---|---|
| Disk corruption / failing hardware | chkdsk /f /r + check S.M.A.R.T. status | ~70% | Always first |
| Corrupted storage driver | Roll back or install manufacturer driver | ~20% | If chkdsk finds nothing |
| CLFS log corruption | Rename .blf and .log files in WinRE | ~10% | Last resort |
If you've tried all three and the error keeps coming back, it's almost certainly a hardware issue. Backup your data, run a full diagnostic from the drive manufacturer (like Samsung Magician or WD Dashboard), and replace the drive if needed. Don't wait for more crashes—I've seen this error escalate to a completely dead drive within weeks.