● UK tech experts · info@vividrepairs.co.uk
Vivid Repairs
Windows Disk Management window on a desktop PC showing a C drive partition that cannot be shrunk due to MFT data blocking the operation
Fix It Yourself · Troubleshooting

Why Windows won't let you shrink an MFT partition

Updated 5 November 202614 min read
As an Amazon Associate, we may earn from qualifying purchases. Our ranking is independent.

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.

Quick routeStart here

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.

1

Remove Immovable Files and Shrink via Disk Management Easy

  1. 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.
  2. Check the file system
    Open an administrator Command Prompt and run chkdsk C: /scan. If it finds problems, run chkdsk C: /spotfix. On C:, Windows normally asks to schedule the repair for the next restart. Type Y, restart and let it finish.
  3. 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.
  4. Turn off hibernation only if event 259 identifies hiberfil.sys
    Save your work before running powercfg /h off in an administrator Command Prompt. It removes hiberfil.sys and 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.
  5. See how much space restore points take
    In the same administrator Command Prompt, run vssadmin 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.
  6. 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.
  7. Shrink, then turn it all back on
    Try the shrink again. Afterwards, set the page file back to automatic, run powercfg /h on and turn System Protection back on.
If Disk Management now offers the space you need, shrink C: and then turn the settings back on.
Disk Management's "available shrink space" figure is the most it can take off C: right now. If that's still far short of your target after fix 1, look at the latest event 259 for the file that's limiting it, then use shrink querymax and the diagnostics below before you change the partition layout.
Intermediate routeKeep going if needed

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.

2

Full Disk Check, Defrag, and diskpart Shrink Medium

  1. Run a full check if the drive is a hard disk
    Open an administrator Command Prompt and run chkdsk C: /r. When Windows says C: is in use, type Y to 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.
  2. 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 run defrag C: /X in an administrator Command Prompt to consolidate free space.
  3. 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 by shrink querymax in step 5.
  4. Inspect the MFT zone
    Open an administrator Command Prompt and run fsutil 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. Use shrink querymax for the maximum Windows can free right now. Event 259 can identify an unmovable file that may be limiting it.
  5. Shrink with diskpart
    Open an administrator Command Prompt, run diskpart, then list volume, select volume N (the number for C:), shrink querymax to see the most you can free, and shrink desired=51200 to ask for, in this example, 50 GB. Type exit when done.
diskpart reports how much it shrank the volume by. Check the unallocated space in Disk Management.
The limit Disk Management and 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.
3

If It Says MFT Torn Write Medium

  1. 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.
  2. Back up, then check the volume
    Back up your files first, then run chkdsk C: /scan and, if it finds errors, chkdsk C: /spotfix.
  3. Check the drive's health
    In an administrator PowerShell window, run Get-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.
Where the freed space goes matters too. A shrink always leaves the unallocated space straight after C:. On a basic disk, Disk Management can only extend a volume into unallocated space directly after it on the same disk. Many PCs have a recovery partition after C:, so the space can't be added to a data partition beyond that. Make a new volume in it instead, or plan the layout before you start.
Advanced routeChange one thing at a time

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.

4

Considering an Offline Partition Tool Hard

  1. Back up everything
    Make a full disk image to an external drive. If an offline move is interrupted, that image is your way back.
  2. 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.
  3. 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.
  4. Check the result
    Start Windows, check the partitions in Disk Management, run chkdsk C: /scan, and, if you turned BitLocker off for the tool, turn it back on.
5

Clean Reinstall with the Standard Windows Partition Layout Hard

  1. 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.
  2. 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.
  3. 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.
  4. 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.
A fresh install creates a new NTFS volume, so it doesn't keep the old volume's MFT layout.
When to stop. Don't shrink, move or repartition a drive that chkdsk reports bad sectors on, that 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.
If you only want more space for another partition, check first whether the space you can get with fix 1 is enough. The offline and reinstall routes are only worth it if you genuinely need more than Windows will give you.

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.

Frequently Asked Questions

Because Windows shrinks a volume from the end and has to stop at the last file it can't relocate, however much free space sits before that file. Event 259 in the Application log names the file, so check it rather than assuming the MFT zone is the cause.

Sometimes. Both files can block a shrink, and removing them for a while can free the space they sat in. If event 259 in the Application log names NTFS metadata instead, use shrink querymax in diskpart to confirm the current limit before you settle on a different layout or a clean installation.

It can be, as long as the tool's maker confirms it supports your Windows version, NTFS volume and BitLocker state. Make a full image backup first, save your BitLocker recovery key and follow the maker's instructions for encrypted volumes. If the tool needs BitLocker turned off, wait for decryption to finish before you start.

DiskPart couldn't take as much off the selected volume as you asked for. Run shrink querymax to see the most it can free right now, and check event 259 in the Application log for the unmovable file that stopped it. If Windows still can't create enough unallocated space, back up and rethink the layout instead of forcing the shrink.

Not necessarily. Start with event 259 in the Application log and the supported steps that match the file it names. A clean reinstall replaces the existing NTFS volume, so it's a last resort. Try everything else first unless you were already planning a fresh install.