Cannot shrink C: partition: Not enough space

I got this error when trying to shrink by 150GB, but shrinking three times by 50GB worked fine.


Try launching the Event Viewer to see which individual files are blocking the partition shrink.

  1. Once again, attempt to shrink the partition. You should get the "There is not enough space" error.
  2. Launch Windows' Event Viewer application.
  3. In Event Viewer, go to Windows Logs > Application.
  4. Find and Click a recent log of type Warning. It should have the message, "Error: during volume shrink initiated on volume Windows (C:) we failed to move a movable file extent." screenshot
  5. The Diagnostic details will give you the name of the "last unmovable file"
  6. Delete this file (Simply send to recycle bin. I did not need a hard delete).
  7. Try shrinking your volume again.
  8. Repeat steps 2-7 until you successfully shrink your partition. (In my case, I had to do this 3 times, as I had 3 pdf files in my local Google Drive that were for some reason stuck as 'unmovable'.).
  9. Restore your deleted files.

CAUTION: Make sure you know what you are deleting! In my case, I knew that these pdf files were:

  1. Not system files
  2. Easy to download again if they become lost

The reason why Windows won’t let you shrink the volume is as the message shown in Disk Management suggested, because there are immovable system files at the very end of the volume, as this screenshot from utility shows us. there are multiple things you could try to work this around.

  1. Run the Disk Cleanup Wizard, making sure to remove the hibernation file and all restore points.

  2. Disable System Restore

  3. Disable the pagefile ( Open up System in Control Panel, then Advanced System Settings \ Advanced \ Performance \ Advanced \ Change \ No Paging File.

  4. Disable kernel memory dump. In the same Advanced Settings, go to Startup and Recovery \ Settings and then change the Write debugging information drop-down to “None” to disable the kernel memory dump.

  5. Disable Hibernation mode in your power options \ advanced power options screen.

Reboot the machine, and then delete your c:\pagefile.sys file, following these instructions if you are having issues. details about the fix and cause of this problem, see http://www.disk-partition.com/articles/shrink-volume-not-enough-space-4348.html