0XC0000188

STATUS_LOG_FILE_FULL 0XC0000188 – Log File Space Fix

Windows Errors Intermediate 👁 10 views 📅 Jul 11, 2026

Your system's log file is full—usually from a full drive or corrupted transaction log. We'll clear space or flush the log in three steps.

30-Second Fix: Check Free Space on the Drive

This error pops up when the transaction log on your NTFS volume runs out of room. I've seen it most often on drives that are 99% full—like a client's backup drive that had 200 MB left. Windows needs some free space to write log entries.

  1. Open File Explorer and right-click the affected drive (usually C: or the drive where you see the error).
  2. Click Properties and check the free space.
  3. If it's under 1 GB, delete junk files or move stuff off. Empty the Recycle Bin too.
  4. Run Disk Cleanup: type cleanmgr in Start menu, pick the drive, and clean system files like temp files and old Windows updates.

If you freed up a few gigs, try the operation again. Often that's all it needs. No restart required.

5-Minute Fix: Flush the Transaction Log with fsutil

Still stuck? The log might be full even with free space—Windows sometimes doesn't clear old entries automatically. I had a customer whose SQL server kept throwing this error; the log had 50,000 old entries.

  1. Open Command Prompt as Administrator. Right-click Start, choose Command Prompt (Admin) or PowerShell (Admin).
  2. Type this command, replacing C: with your drive letter:
fsutil resource setlogflags C: /clear

This flushes the log and resets the dirty bit. Wait 10 seconds, then try your operation again. If it works, you're done.

Warning: This only works if the volume is not in use by a database or application that keeps the log open. If you get an access denied, skip to the next fix.

15+ Minute Fix: Run chkdsk to Repair the Volume

When the log is corrupted (happens after a crash or power loss), chkdsk can fix the structure. Last month, a small law firm's server had this right after a thunderstorm—drive was fine, but the log was toast.

  1. Open Command Prompt as Administrator again.
  2. Run this command, again replacing C: with your drive:
chkdsk C: /f /r
  • /f fixes errors on the volume.
  • /r locates bad sectors and recovers readable info.

If the drive is your system drive (C:), chkdsk will ask to schedule it at next reboot. Type Y and restart. Let it run—could take an hour on a large drive, but it's thorough.

After chkdsk finishes, the log file is rebuilt. Try your operation. If you still get the error, the drive might be dying—run a SMART test with CrystalDiskInfo or replace it.

Pro tip: If this keeps happening on a non-system drive, consider using a different file system like ReFS (Windows Server only) or just keep 5-10% free space on all NTFS volumes. The log needs room to breathe.

Still Broken? Advanced Move: Reset the Log with dism

If chkdsk didn't help and you're on a system drive, try this:

  1. Boot from Windows installation media or recovery drive.
  2. Open Command Prompt (Shift+F10 at setup screen).
  3. Run diskpart, list volumes, note the affected drive.
  4. Then run:
fsutil repair set C: /logsize 64

This increases the log file size to 64 MB. Sometimes the default size is too small for heavy write workloads. After that, restart and test.

I've only needed this twice in 10 years—once on a busy file server. But it's a solid last try before replacing hardware.

Was this solution helpful?