How to fix Error 112 on Windows 11

Windows Error 112: “There Is Not Enough Space on the Disk” (Windows 11)

Why This Error Happens

Error 112 occurs when the operating system attempts to write data to a disk volume that lacks sufficient free space, but this often happens even when Disk Properties shows available space. This discrepancy is typically caused by disk fragmentation preventing large contiguous write operations, hidden system files (like hibernation files, System Restore points, or Windows Update caches) consuming reserved space, or a failing/corrupted storage drive with bad sectors that the system can no longer write to. In some cases, disk quotas set at the user level or NTFS file system corruption also trigger this error incorrectly.

Step-by-Step Resolution Guide

  1. Run Disk Cleanup to Free Hidden Space
  • Press Win + R, type cleanmgr, and press Enter.
  • Select your system drive (usually C:), click OK.
  • Click Clean up system files, check boxes for Windows Update Cleanup, Temporary Files, and Delivery Optimization Files, then click OK.
  1. Check and Repair Disk Errors Using CHKDSK
  • Open Command Prompt as Administrator (search “cmd”, right-click, Run as administrator).
  • Type: chkdsk C: /f /r and press Enter.
  • Confirm the scan on next restart if prompted, then restart your PC to allow it to complete.
  1. Disable or Resize Hibernation File
  • In the elevated Command Prompt, type: powercfg /hibernate off
  • This removes the hiberfil.sys file, which can occupy several GBs depending on installed RAM.
  1. Repair Corrupted System Files
  • In the elevated Command Prompt, run: sfc /scannow
  • Follow up with: DISM /Online /Cleanup-Image /RestoreHealth
  • Restart your computer once both commands complete successfully.
  1. Check for Disk Quotas (If on a Managed/Domain PC)
  • Right-click the affected drive in File Explorer → Properties → Quota tab.
  • Ensure “Enable quota management” is unchecked, or increase the limit if required by policy.

Alternative or Verification Steps

  • Verify the fix: Re-attempt the original file operation that triggered Error 112. Also check available space via Right-click Drive → Properties to confirm free space has increased.
  • Alternative solution: If the error persists on an otherwise healthy-looking drive, run Windows Defender’s offline scan to rule out malware consuming disk space silently, or use wmic diskdrive get status in Command Prompt to check for hardware failure indicators.

Leave a Comment