You can have plenty of free space on C: and still find Windows won't shrink it by much. One possible reason is an NTFS metadata file that Windows can't relocate during the shrink. This is one of those problems that looks like a bug but is actually by design, and understanding what's happening tells you which options are worth trying.
What Causes MFT Partition Shrink to Fail?
When you shrink a volume, Windows can only take space from the end of it, and only up to the last file it isn't allowed to move. Everything after that point can be freed. Everything before it stays. So a drive with plenty of free space can still refuse to shrink by much.
Windows also tells you which file is in the way. After a failed shrink, look for event 259 in the Application log. It names the unmovable file that's limiting the shrink, and that can be NTFS metadata such as $MFT::$DATA. Check it before you decide what to change.
The NTFS file system keeps a Master File Table, the MFT, with at least one entry for every file on the volume. The MFT zone is space reserved for the MFT to grow into, and it isn't a file itself, so don't assume it's the blocker. Microsoft's diskpart shrink documentation describes the shrink limit.
Microsoft specifically documents the page file and shadow copy storage as files it can't relocate automatically during a shrink. If event 259 names hiberfil.sys, turning hibernation off for a while removes that file. File-system errors and too many bad clusters can stop a shrink as well.
MFT Partition Shrink Quick Fix
Back up first. Shrinking a volume doesn't normally touch your files, but you're about to change how the drive is laid out. A full image backup to an external drive is the safest kind here, because it covers the whole layout.
Remove Immovable Files and Shrink via Disk Management Easy
- Find out what's blocking it
Try the shrink once in Disk Management (right-click Start > Disk Management, right-click C: > Shrink Volume). Then open Event Viewer, go to Windows Logs > Application and look for event 259 from the Defrag source. It names the last unmovable file, which tells you which of the next steps matter. - Check the file system
Open an administrator Command Prompt and runchkdsk C: /scan. If it finds problems, runchkdsk C: /spotfix. On C:, Windows normally asks to schedule the repair for the next restart. TypeY, restart and let it finish. - Move the page file only if event 259 identifies it
Save your work first. Search Start for View advanced system settings, select Settings in the Performance section, then Advanced > Virtual Memory > Change. Clear Automatically manage paging file size for all drives. If another drive is available, choose it, select System managed size and click Set, then choose C:, select No paging file and click Set. Restart. With no page file on C:, Windows may be unable to create a crash dump. After the shrink, reselect Automatically manage paging file size for all drives. - Turn off hibernation only if event 259 identifies
hiberfil.sys
Save your work before runningpowercfg /h offin an administrator Command Prompt. It removeshiberfil.sysand disables hibernation, hybrid sleep and Fast Startup until you turn hibernation back on. If power fails while the PC is asleep, unsaved work can be lost. - See how much space restore points take
In the same administrator Command Prompt, runvssadmin list shadowstorage /for=C:. It shows where C:'s shadow copies are stored and how much space they use. Their size doesn't tell you whether they're what's limiting the shrink, so check event 259 before you delete any restore points. - Delete restore points only if event 259 identifies shadow copy storage
Search Start for Create a restore point, select C:, click Configure, choose Disable system protection and delete the restore points. Make a full backup first, because this removes your restore points. - Shrink, then turn it all back on
Try the shrink again. Afterwards, set the page file back to automatic, runpowercfg /h onand turn System Protection back on.
shrink querymax and the diagnostics below before you change the partition layout.Intermediate MFT Partition Shrink Solutions
Next comes a slower, fuller disk check, plus the numbers Windows records about where the shrink stopped and where the MFT sits.
Full Disk Check, Defrag, and diskpart Shrink Medium
- Run a full check if the drive is a hard disk
Open an administrator Command Prompt and runchkdsk C: /r. When Windows says C: is in use, typeYto schedule it for the next restart, then restart and let it finish. On a large hard drive this can take a long time. If Windows reports bad sectors, stop and see the warning below before shrinking anything. - Optimise the drive
Search Start for Defragment and Optimize Drives, select C: and click Optimize. On a hard drive that defragments it. On an SSD, Windows picks the kind of optimisation that suits the drive (and can still run a traditional defrag on a schedule), so don't count on this step to move files out of the way for a shrink. On a hard drive you can also rundefrag C: /Xin an administrator Command Prompt to consolidate free space. - Read the event's numbers
Open event 259 from step 1 of fix 1 and look at its details. Next to the name of the last unmovable file, it gives that file's last cluster and the shrink target as LCN addresses, in hexadecimal. Write the file name down. The LCN figures help with diagnosis, but for the most Windows can actually take off the volume, go byshrink querymaxin step 5. - Inspect the MFT zone
Open an administrator Command Prompt and runfsutil fsinfo ntfsinfo C:. It lists the Mft Start Lcn and the Mft Zone Start and End, in clusters, alongside the total clusters on the volume. They show the MFT start and zone, not the current shrink limit. Useshrink querymaxfor the maximum Windows can free right now. Event 259 can identify an unmovable file that may be limiting it. - Shrink with diskpart
Open an administrator Command Prompt, rundiskpart, thenlist volume,select volume N(the number for C:),shrink querymaxto see the most you can free, andshrink desired=51200to ask for, in this example, 50 GB. Typeexitwhen done.
shrink querymax show is for that moment, and it can change while apps are using C:. If both are still well short once the page file, hibernation file and restore points are out of the way, read the most recent event 259 before you change anything else. A metadata file named there doesn't mean an offline partition tool can move it, so back up and rethink the layout before trying anything offline.If It Says MFT Torn Write Medium
- Know what it means
If the System log shows "NTFS has detected an MFT torn write", a write to the MFT didn't complete. Look into the file system and the drive itself before you resize anything. - Back up, then check the volume
Back up your files first, then runchkdsk C: /scanand, if it finds errors,chkdsk C: /spotfix. - Check the drive's health
In an administrator PowerShell window, runGet-PhysicalDisk | Format-Table FriendlyName, MediaType, HealthStatus. This shows the HealthStatus Windows receives from its storage provider, not a full manufacturer diagnostic. If it says Warning or Unhealthy, stop and investigate before resizing. If it says Unknown or shows no disk, use the drive maker's diagnostic tool or get help first.
Advanced MFT Partition Shrink Fixes
Past this point you're considering either an offline resize of C: or a clean reinstall, and both routes carry more risk. If event 259 still names NTFS metadata and Windows won't free enough unallocated space, don't force the shrink. Decide whether a different layout or a clean installation is really justified, and make a full image backup to an external drive first. Check the image opens before you rely on it.
Considering an Offline Partition Tool Hard
- Back up everything
Make a full disk image to an external drive. If an offline move is interrupted, that image is your way back. - Deal with BitLocker
If C: is encrypted, save your recovery key first (Microsoft's BitLocker overview explains where it's kept). Third-party tools handle BitLocker differently, so check the exact tool's instructions. If it needs BitLocker turned off, wait for decryption to finish before you carry on. - Boot the tool's offline environment
Don't assume a bootable partition tool can move this metadata. Only pick one once its maker confirms it supports your Windows version, NTFS volume and BitLocker state. Download it from the maker, follow their boot and resize instructions, keep the PC on mains power and don't interrupt it. - Check the result
Start Windows, check the partitions in Disk Management, runchkdsk C: /scan, and, if you turned BitLocker off for the tool, turn it back on.
Clean Reinstall with the Standard Windows Partition Layout Hard
- Back up your files and know your accounts
Copy your documents, pictures and anything else you need to an external drive, and note the apps you'll need to reinstall. A digital licence normally reactivates once you're online if you reinstall the same Windows edition on the same device. Check that Windows is activated and your digital licence is linked to your Microsoft account before you start. - Boot from Microsoft's installation media
Make a USB stick with Microsoft's media creation tool, using a blank stick because the tool erases it, and start the PC from it. - Repartition during setup
At the drive-selection screen, identify the target physical disk from its size and the partitions on it. If another disk is attached, don't delete or change anything on it. Before you delete anything, note the size and type of each partition Setup lists, so you know which disk holds Windows. Deleting a partition permanently erases everything on it. For Microsoft's standard clean-install route, delete every partition on the target disk until it shows as unallocated space, select it and choose Next so Setup creates the required partitions. If you aren't certain which disk is the target, or you need a custom layout, stop here and get help rather than guessing which system partitions to keep. - Create the rest afterwards
If you followed Microsoft's standard route and selected all the unallocated space, Setup uses it for Windows and there will be no unallocated space left for a new volume. Create a separate data partition only if you planned that custom layout before deleting anything.
Get-PhysicalDisk shows as anything but Healthy, or that's logging MFT torn writes again and again. Copy your files off first and deal with the drive. Moving data around on a failing disk risks losing it.Preventing MFT Partition Shrink Problems
The best prevention happens at install time. Set C: up at a sensible size from the start and keep your own files separate, and you'll save yourself some of this resizing later. Carving up a single large partition years later is always harder than planning the layout at the start.
Most important first: plan your partition layout before you install Windows. Decide how big C: needs to be for the OS and applications, create that partition during setup, and put everything else on D:. Redirect your Documents, Downloads, and Desktop folders to D: once Windows is running. This keeps C: lean and stable.
Keep free space on C:. A nearly full system drive makes defragmenting and future partition changes harder, and slows a hard drive down.
Before partition work, run chkdsk C: /scan. It doesn't repair anything. This is a non-destructive online scan that flags file system issues without requiring a reboot. If it reports errors, repair the file system before resizing the volume. If you're on an SSD, use your manufacturer's health tool too. Tools such as Samsung Magician give you drive health data that chkdsk won't show. A failing drive can cause file-system corruption, so back up and look into any health warning before you resize it.
If you use BitLocker, document your recovery key and plan partition changes in advance. Follow your partition tool's instructions for encrypted drives. And if you're ever tempted to use a random third-party disk utility you found online, check reviews and reputation first. Some of them are genuinely good. Others are dodgy. Always image first regardless.
MFT Partition Shrink Summary
The MFT partition shrink problem is frustrating precisely because it looks like it should be simple. You've got free space. You want to shrink. Windows says no. Windows can only shrink C: as far as the last file it can't relocate, which is why free space alone isn't enough. Start with the Quick Fix. Back up, check the file system (repairing it only if it reports errors) and use event 259 to decide whether moving the page file for a while, turning off hibernation or removing shadow copies is relevant. Then try the shrink again. If the quick steps don't help, use shrink querymax to confirm the current limit. A safe shrink isn't possible on every layout. If Windows can't create enough unallocated space, don't force it. Use your backup and choose a different layout or a clean installation instead. Where a shrink is possible, event 259 tells you which steps matter. It just sometimes takes more than one attempt to find the right level of fix for your specific setup.

