If Windows says it cannot shrink your C: drive, the usual culprits are unmovable system files (like the page file, hibernation file, or restore points) sitting in the middle of the volume, or the default shrink command refusing to move them. You can usually force a successful shrink by temporarily disabling those files, using a third-party partition tool, or shrinking from a bootable environment.
Why Windows Won’t Shrink the C: Drive
The Disk Management “Shrink Volume� tool relies on the volume shadow copy (VSS) service to move files out of the way. But certain files are marked as “unmovable� and VSS will not relocate them:
- Page file (pagefile.sys) – virtual memory file that Windows locks.
- Hibernation file (hiberfil.sys) – stores the RAM contents for fast startup and hibernation.
- System restore points – stored in the System Volume Information folder.
- MFT (Master File Table) – the NTFS index of all files and folders.
- Unmovable metadata – NTFS journal, bad-cluster map, or a stray file placed by an update.
If any of these sit in the space you want to reclaim, the shrink dialog will show a tiny “Maximum shrink size� (often a few GB) or a message that the volume cannot be shrunk because it is “in use.�
How the Shrink Process Actually Works
When you right-click the C: drive in Disk Management and choose Shrink Volume, Windows:
- Queries the volume for the amount of free space.
- Uses VSS to defragment and move files toward the beginning of the partition.
- Creates a shadow copy to track changes.
- Attempts to relocate any unmovable files – if it can’t, it stops and reports the maximum shrinkable size.
- Shrinks the partition from the end, leaving unallocated space after it.
The key limitation: Windows will not shrink past the first unmovable file. If pagefile.sys is in the middle of the volume, the shrink stops there, even if you have plenty of free space further along.
How to Fix It: Step-by-Step
Try these in order, from least disruptive to most.
1. Disable the Page File Temporarily
- Press Win + R, type
sysdm.cpl, and press Enter. - Go to the Advanced tab → Settings under Performance → Advanced tab → Change under Virtual Memory.
- Uncheck “Automatically manage paging file size for all drives.�
- Select C:, choose No paging file, click Set, then OK.
- Restart the PC. After reboot, the pagefile will be gone.
- Run the shrink again. Then re-enable the page file (set it back to “System managed size�) and restart.
If you get a warning about no memory, ignore it for the moment – it’s temporary.
2. Disable Hibernation and Fast Startup
- Open an elevated Command Prompt (right-click Start → Terminal (Admin) or Command Prompt (Admin)).
- Type
powercfg /h offand press Enter. This deleteshiberfil.sys. - Restart, then try shrinking again.
- After shrinking, you can re-enable hibernation with
powercfg /h on.
Note: Fast Startup uses the hibernation file, so turning it off in Control Panel’s power options also helps, but the command above is the definitive fix.
3. Disable System Restore and Delete Restore Points
- Right-click Start → System → System protection (or type
systempropertiesprotectionin Run). - Select the C: drive, click Configure.
- Choose Disable system protection and click Delete to remove all restore points.
- Click OK, then try shrinking.
- After shrinking, you can re-enable protection and create a fresh restore point.
4. Use a Third-Party Partition Manager
Tools like MiniTool Partition Wizard Free, AOMEI Partition Assistant Standard, or GParted (bootable) can move unmovable files more aggressively. They run outside Windows or use a different driver that can relocate files Windows won’t touch. The general steps:
- Download and install the tool (or create a bootable USB with GParted).
- Select the C: partition.
- Choose Shrink/Move and set the new size.
- Apply the operation. The tool will reboot into a pre-OS environment to complete the move.
Always back up important data before using any partition tool, especially one that moves the MFT.
5. Shrink from a Bootable Environment
If the C: drive is your system drive, you can boot from a Windows installation USB and open Command Prompt (Shift+F10), then use diskpart to shrink. However, diskpart has the same unmovable file limitation. The real benefit of booting from external media is that the page file and hibernation file are not in use, so they may be moved. Still, the MFT might block. In practice, a third-party bootable tool is more reliable.
Common Mistakes and Misconceptions
- Mistake: Shrinking from Disk Management while the page file is set to “System managed.� That locks the file. You must set it to “No paging file� first.
- Mistake: Expecting to shrink by the full amount of free space. Windows reserves space for the MFT and other metadata, so the maximum shrinkable size is always less than the free space shown in Explorer.
- Misconception: “Defragmentation will fix it.� The built-in defragmenter does not move unmovable files. You need a tool that can relocate them, or disable them temporarily.
- Mistake: Trying to shrink a drive that has been corrupted. Run
chkdsk /ffirst, or errors can cause the shrink to fail or the volume to become inconsistent.
What to Do If You Still Can’t Shrink
If you’ve disabled the page file, hibernation, and restore points, and a third-party tool still fails, the unmovable file is likely the MFT itself or a file placed at the end of the partition (e.g., a large update file). In that case:
- Move the file to another drive – if you know which file it is, cut and paste it to a different disk, shrink, then move it back.
- Use the “Defrag� command with the
/Xflag –defrag C: /Xattempts to consolidate free space (but still won’t move unmovable files). - Delete the file entirely – for example, if
hiberfil.sysis still there, you didn’t turn it off properly. - Consider shrinking from a Windows PE environment – boot from a Windows installation USB, open Command Prompt, and run
diskpart. Since the OS isn’t running, the page file and hibernation file aren’t in use, but the MFT may still block.
If none of these work, the last resort is to back up all data, delete the partition, recreate it with the desired size, and restore from backup. This is the only guaranteed way to resize a volume with unmovable files at the end.
Safety and Backup Considerations
Before doing anything, back up your important files to an external drive or cloud. Partition operations, especially moving the MFT, carry a small risk of data loss. Also:
- Ensure the PC is plugged in (if a laptop) to avoid power loss during the operation.
- Do not interrupt the shrink process – let it finish completely.
- After shrinking, verify the drive with
chkdsk /fto ensure the file system is intact.
Frequently Asked Questions
Why is the “Shrink Volume� option grayed out?
This usually happens when the volume is not NTFS (e.g., FAT32) or when the drive is a dynamic disk. Convert it to basic or use a third-party tool. Also, if the volume is the system/boot partition, it may be grayed out if you’re using a stripped-down version of Disk Management – but normally it’s available.
Can I shrink the C: drive while Windows is running?
Yes, but with limitations. The built-in tool can shrink a system drive while the OS is running, but it cannot move unmovable files. Third-party tools often require a reboot to complete the operation safely.
How much can I shrink the C: drive?
It depends on how much free space is available and where unmovable files are. Typically, you can shrink by 50-80% of the free space, but not the full amount. The tool will show the maximum shrink size – you can’t exceed that without moving files.
Will shrinking the C: drive delete my files?
No, shrinking only reduces the partition size; it does not delete files. However, if you shrink too much (below the used space), the operation will fail. Always leave at least 10-15% free space on the C: drive for Windows to function properly.
What is the difference between shrink and delete in Disk Management?
Shrink reduces the partition size and leaves unallocated space after it. Delete removes the entire partition and all data on it, leaving unallocated space in place of the whole volume. You can then create a new partition in that space.
Can I shrink the C: drive with a third-party tool while the page file is active?
Some tools can, but it’s safer to disable the page file first. Most third-party tools will schedule the operation for the next reboot, where the page file is not in use. However, the MFT may still block – that’s why they often do a “move� operation in a pre-OS environment.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More cards in this drawer
- Secure Boot Battlefield 6 ASUS: Fix & Enable Guide
- Best Tech Websites to Follow for Pros & Beginners
- Second Wind Quest Walkthrough: Where Winds Meet6.00 min/km
- Enshrouded Weapon Upgrade Guide: How to Improve Gear5.00 min/km
- Connect Phone to Controller for Cloud Gaming
- Python Search Highlighting: Snippets & Matches