molecalculator

Moles & Molar Mass

Why Can’t I Shrink a Volume? Disk Management Limits

Calculator No. 01-12664 · Updated · Formula and assumptions shown below

Max shrink size (GB) 25.00 GB
Minimum volume size after shrink (GB)
75.00 GB
= Current volume size (GB) − Max shrink size (GB)
Current volume size (GB)
100 GB
Set in the form below
Free space on volume (GB)
40 GB
Set in the form below
You enter
Current volume size (GB) (GB), Free space on volume (GB) (GB), Space used by unmovable files (GB) (GB)
You get
Max shrink size (GB) (GB), Minimum volume size after shrink (GB) (GB)
Rounding
2 dp

For study and lab planning. The result follows from the numbers you enter and the formula shown. Check it against your method before you weigh, mix or dilute anything, follow the safety data sheet and your supervisor, and do not use it for clinical, dosing or medication work.

You can’t shrink a volume past the point where unmovable files (like the page file, hibernation file, or system restore points) sit in the middle of the drive, and because the built-in Disk Management tool refuses to move those files. The shrink operation only works with contiguous free space at the end of the partition, and if any file is locked in that region, Windows stops and shows a much smaller “Maximum available shrink size” than the actual free space.

Formula

The maximum shrink size is simply the amount of free space minus the space occupied by files that cannot be moved:

Max shrink size (GB) = Free space (GB) − Unmovable file space (GB)

Where:

  • Free space is the total unused space on the volume, in gigabytes.
  • Unmovable file space is the total size of files that Windows cannot relocate during the shrink (page file, hibernation file, system restore points, some metadata).
  • The result is the maximum number of gigabytes you can remove from the end of the volume. The new minimum size is the current size minus the max shrink.

This is a simplified model. In reality, the shrink operation also needs the free space to be contiguous at the end of the partition, and it may fail if there are any bad sectors or if the volume is a system or boot partition with special constraints.

Worked Example

Suppose you have a 100 GB volume with 40 GB free, but the page file and hibernation file together take up 15 GB and they are located in the middle of the drive. Using the defaults from the calculator:

  1. Free space = 40 GB
  2. Unmovable file space = 15 GB
  3. Max shrink = 40 − 15 = 25 GB
  4. Minimum volume size after shrink = 100 − 25 = 75 GB

So you can only shrink the volume by 25 GB, even though you have 40 GB of free space. The calculator gives the same result: 25 GB max shrink, 75 GB new minimum.

Assumptions

  • The unmovable files are all located in the middle of the volume, not at the end.
  • All free space is contiguous and at the end of the partition.
  • No other hidden files or metadata are blocking the shrink.
  • You are using the standard Windows Disk Management shrink feature, not third-party tools.

How the Shrink Feature Works

The Windows Disk Management “Shrink Volume” tool works by moving all the data on the volume to the beginning of the partition, leaving free space at the end. It can only do this if every file can be moved. The tool identifies files that are currently in use by the operating system or by running programs, and it refuses to move them. These are called “unmovable files.” The most common ones are:

  • Page file (pagefile.sys) – used for virtual memory.
  • Hibernation file (hiberfil.sys) – used for fast startup and hibernation.
  • System Restore points – stored in the System Volume Information folder.
  • Metadata files – like the master file table (MFT) on NTFS volumes.

If any of these files sit in the portion of the disk where the shrink would need to move them, the tool stops and reports a smaller maximum shrink size. It does not try to move them because doing so could cause system instability or data loss.

Why Unmovable Files Block the Shrink

Think of a partition as a long line of blocks. The shrink operation needs to move all data blocks to the left side of the line, so that the right side becomes empty. If a file is locked by the system, the tool cannot move it. If that locked file is anywhere in the middle, the free space to its right cannot be reclaimed because the file acts as a wall.

For example, if the page file is at 60% of the partition, and you have free space from 60% to 100%, the shrink cannot go past the page file. The maximum shrink is limited to the free space before the page file, not the total free space.

Windows does not automatically move these files during a shrink because moving the page file or hibernation file while the system is running can cause crashes. The tool is designed to be safe, so it simply refuses.

How to Actually Shrink More

If you need to shrink a volume more than the built-in tool allows, you have a few options:

  • Disable the page file temporarily. Go to System Properties → Advanced → Performance Settings → Advanced → Virtual Memory, set it to “No paging file,” reboot, then shrink. After shrinking, re-enable the page file. This often frees up several gigabytes.
  • Disable hibernation. Open Command Prompt as Administrator and type powercfg /h off. This deletes hiberfil.sys and can free up a large chunk.
  • Delete System Restore points. Go to System Protection and delete all restore points. This is a trade-off: you lose rollback points.
  • Use a third-party partition manager. Tools like GParted (free, open-source) can move unmovable files because they run from a bootable USB, outside of Windows. They are more flexible but carry a higher risk if used incorrectly.
  • Defragment the volume first. While the built-in defragmenter helps, it may not move all files. Third-party defragmenters can sometimes consolidate free space.

Common Problems and Misconceptions

A frequent misconception is that the “Maximum available shrink size” shown in Disk Management is the total free space. It is not; it is the free space minus unmovable files. Another misconception is that you can shrink a volume to the size of the used data. In practice, the limit is often much higher because of unmovable files.

Another problem is that the shrink operation may fail with an error like “The volume you have selected to shrink may be corrupted.” This usually means the file system has errors. Run chkdsk /f to fix them before trying again.

Also, the shrink operation only works on NTFS or ReFS volumes. If your drive is FAT32 or exFAT, you cannot use Disk Management to shrink it; you would need to reformat or use a third-party tool.

Safety and Risks

Shrinking a volume is generally safe, but any partition operation carries a risk of data loss if the power fails or the system crashes mid-operation. Always back up important data before shrinking. Never shrink a system volume below the space needed for Windows to run; the tool will usually warn you, but it is your responsibility to leave enough room.

If you use a third-party tool, be extra careful: moving partitions can take a long time and a power loss can corrupt the partition table. Always have a backup and a rescue disk.

Alternatives to Shrinking

If you cannot shrink a volume enough, consider these alternatives:

  • Create a new partition if you have unallocated space elsewhere on the disk.
  • Move files to another drive to free up space, then try shrinking again.
  • Use a dynamic disk (though this is deprecated and not recommended).
  • Reinstall Windows with a custom partition layout, which gives you full control.
  • Use a storage pool or span volumes, though this is more complex.

Frequently Asked Questions

Why does Disk Management show a shrink size much smaller than my free space?
Because the tool subtracts the space used by unmovable files (page file, hibernation file, restore points) from the free space. It only counts free space that can be safely reclaimed, which is the free space at the end of the partition after all movable files are shifted.

Can I shrink a volume while the page file is on it?
Yes, but the page file will limit the shrink. If the page file is in the middle of the volume, the shrink cannot go past it. You can disable the page file temporarily, shrink, then re-enable it.

What if I get an error “There is not enough space available on the disk(s) to complete this operation”?
This usually means the volume is corrupted or there are hidden files blocking the shrink. Run chkdsk /f to repair the file system, then try again. If that fails, use a third-party tool.

Is it safe to use third-party partition managers?
They are generally safe if you use reputable open-source software like GParted, but any partition operation carries risk. Always back up your data first, and make sure you understand the tool’s interface before using it.

Why can’t I shrink my C: drive at all?
If the maximum shrink size is 0, it means the unmovable files take up all the free space, or the volume is not NTFS. Check the page file size, disable hibernation, and delete restore points. If still 0, the disk may be full or have errors.

Does shrinking a volume improve performance?
No. Shrinking only changes partition sizes; it does not affect speed. In fact, a very small system partition can slow down Windows because it has less room for temporary files.

Related

Formula used
in gb | Current volume size (GB) | GB | 100 | 1
in free | Free space on volume (GB) | GB | 40 | 0
in unmovable | Space used by unmovable files (GB) | GB | 15 | 0
out maxshrink | Max shrink size (GB) | GB | free - unmovable | 2
out newmin | Minimum volume size after shrink (GB) | GB | gb - maxshrink | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.

More in this section

The whole Moles & Molar Mass section →