Resizing windows 10 partition

  1. Disable hybernation: run powercfg.exe /hibernate off
  2. Delete pagefile.sys in the file explorer
  3. Run c:\dir -h to confirm ‘hyberfil.sys’ and ‘pagefile.sys’ are deleted
  4. Run disk cleanup utility
  5. Clear recycle bin
  6. unplug internet
  7. restart
  8. Resize partition

If ‘not enough space available’ error is found, go to the Event log viewer and find out which file is stuck

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

Once again, attempt to shrink the partition. You should get the “There is not enough space” error.
Launch Windows’ Event Viewer application.
In Event Viewer, go to Windows Logs > Application.
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)
The Diagnostic details will give you the name of the “last unmovable file”
Delete this file (Simply send to recycle bin. I did not need a hard delete).
Try shrinking your volume again.
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’.).
Restore your deleted files.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s