Error Codes Wiki

Disk Management Errors — Cannot Shrink, Extend, or Format Volumes

Errordisk

Overview

Fix Windows Disk Management errors including unable to shrink volume, extend volume greyed out, format failures, and GPT/MBR conversion issues.

Key Details

  • Windows Disk Management (diskmgmt.msc) handles partition operations but has significant limitations
  • Extend Volume requires unallocated space immediately adjacent and to the right of the partition
  • Shrink Volume may only shrink a fraction of free space due to unmovable files (pagefile, system files)
  • MBR disks are limited to 4 primary partitions and 2TB maximum disk size
  • GPT supports 128 partitions and disks larger than 2TB but requires UEFI boot

Common Causes

  • Extend Volume greyed out because unallocated space is not adjacent to the target partition
  • Shrink limited by unmovable files (pagefile, hibernation, system restore) at the end of the partition
  • Cannot format a drive that is currently in use or has active system files
  • MBR to GPT conversion blocked because Disk Management requires an empty disk for conversion

Steps

  1. 1To extend with non-adjacent space: use free tools like MiniTool Partition Wizard or GParted (bootable USB)
  2. 2To shrink more: disable hibernation (powercfg /h off), move pagefile temporarily, disable system restore
  3. 3Convert MBR to GPT without data loss: use mbr2gpt.exe /convert /disk:0 (Windows 10 1703+)
  4. 4Format a stubborn drive: use diskpart > select disk X > clean > create partition primary > format fs=ntfs quick
  5. 5For Extend Volume greyed out: delete the partition between the target and unallocated space (back up data first)
  6. 6For external drives showing 'write protected': diskpart > attributes disk clear readonly

Tags

disk-managementpartitionextend-volumeshrinkgpt-mbr

Related Items

More in Disk

Frequently Asked Questions

Unmovable files (pagefile, hibernation file, system restore data) at the end of the partition limit shrinking. Disable these temporarily, shrink, then re-enable.