How to fix Error 39 on Windows 11

Windows 11 Disk Full Error (Error 39) Troubleshooting Guide

Why This Error Happens

Error 39 typically occurs when a storage volume runs out of free space, preventing Windows from writing temporary files, updates, logs, or application data. This is often caused by accumulated system cache, Windows Update leftovers, hibernation files, or oversized user data (Downloads, Temp folders) consuming the majority of disk capacity. In some cases, disk quotas set by administrators or corrupted volume metadata (bad sectors reporting incorrect free space) can also trigger this error even when space appears available in File Explorer.

Step-by-Step Resolution Guide

  1. Run Disk Cleanup with System Files
  • Press Win + S, type Disk Cleanup, and open it.
  • Select your system drive (usually C:), click OK, then click Clean up system files.
  • Check boxes for Temporary Files, Windows Update Cleanup, Delivery Optimization Files, and Previous Windows Installations. Click OK.
  1. Clear Temp and Cache Folders Manually
  • Press Win + R, type %temp%, and delete all contents.
  • Press Win + R again, type C:\Windows\Temp, and delete files that aren’t in use.
  • Empty the Recycle Bin.
  1. Disable or Reduce Hibernation File Size
  • Open Command Prompt (Admin).
  • Run powercfg /hibernate off to remove hiberfil.sys (can free several GB).
  • If hibernation is needed, use powercfg /hibernate /size 50 to cap it at 50% of RAM size instead.
  1. Use Storage Sense for Automated Cleanup
  • Go to Settings > System > Storage.
  • Toggle on Storage Sense and click it to configure automatic deletion of temp files and old Recycle Bin items on a schedule.
  1. Move or Uninstall Large Applications/Files
  • In Settings > Apps > Installed Apps, sort by size and uninstall unused large programs.
  • Use Settings > System > Storage > Large files to locate and relocate oversized files (videos, ISOs) to an external drive or cloud storage.

Alternative or Verification Steps

  • Verify the fix: Open File Explorer > This PC and confirm the drive now shows adequate free space (ideally at least 10-15% free); re-attempt the action that triggered Error 39.
  • Alternative fix: If space still won’t free up, run chkdsk C: /f /r from an elevated Command Prompt (requires restart) to repair potential file system corruption that may be misreporting disk usage.