Problem description
In Disk Management, the Extend Volume... option is grayed out when you right-click a partition.
Causes
-
No adjacent unallocated space: No unallocated space exists immediately to the right of the target partition. Volume extension requires contiguous space.
-
Disk or volume is read-only: The read-only attribute prevents modification operations, including extension.
-
Unsupported file system: The partition uses a file system such as FAT or FAT32 that does not support volume extension. Only NTFS and ReFS support extension.
-
Unsupported partition type: The partition is a system-protected partition, such as an OEM recovery partition or EFI system partition, and cannot be modified.
-
Unrecognized or corrupted file system: The partition file system is displayed as RAW or unknown, indicating corruption that Windows cannot recognize.
Solution
Confirm that unallocated space exists, check for read-only restrictions, and verify that the partition format and type support extension.
Step 1: Check disk layout and unallocated space
-
Open Disk Management.
Press
Win + R, enterdiskmgmt.msc, and press Enter. -
View the disk layout.
In the graphical layout at the bottom, locate the target partition (for example, drive D). Check for space marked as Unallocated immediately to the right.
-
If unallocated space exists: Go to Step 2: Clear the read-only attribute.
-
If unallocated space does not exist: Create unallocated space by resizing a disk.
-
Step 2: Clear the read-only attribute
-
Open Command Prompt as administrator.
-
Run
DiskPartto open the DiskPart interactive interface.diskpart -
List and select the target disk, then check its attributes.
-
List all disks.
list disk -
Select the target disk.
select disk <disk number>For example, to select Disk 0, run
select disk 0. -
View the disk attributes.
attributes diskCheck the Read-only state in the output. If it is Yes, clear the attribute:
attribute disk clear readonly
-
-
List and select the target volume, then check its attributes.
-
List all volumes.
list volume -
Select the target volume.
select volume <volume number or drive letter> -
View the volume attributes.
attributes volumeCheck the Read-only state in the output. If it is Yes, clear the attribute:
attribute volume clear readonly
-
-
Exit
DiskPartand retry the extension.exitReturn to Disk Management and click . Check if Extend Volume... is available. If the problem persists, go to Step 3: Fix the file system or partition type.
Step 3: Fix the file system or partition type
-
In Disk Management, check the file system and status of the target partition.
-
Scenario 1: The file system is FAT32 or FAT.
-
Back up the partition data to another location.
-
In Disk Management, right-click the partition and select Format....
-
Set File system to NTFS, select Perform a quick format, and click OK.
-
After formatting, check if Extend Volume... is available.
-
-
Scenario 2: The partition is a recovery partition, OEM partition, or EFI system partition.
-
Confirm that the partition is no longer needed. For example, recovery partitions may become obsolete after a system upgrade or reinstallation.
-
Back up the partition data to another location.
-
In Disk Management, right-click the partition and select Delete Volume....
After deletion, the space becomes unallocated and can extend other partitions.
-
-
Scenario 3: The file system is displayed as RAW.
-
Check and repair the file system.
Open Command Prompt as an administrator.
chkdsk /f <drive letter>For example, for drive D, run
chkdsk /f D:. -
If the repair fails, try to recover the data with a data restoration tool, then format the partition to NTFS as described in Scenario 1.
-
-
Further recommendations
-
Standardize partitions: Use NTFS or ReFS when initializing new disks to avoid file system limitations.
-
Configure monitoring: Set alert thresholds for disk space usage to proactively scale out or clean up before space is exhausted.
-
Back up data regularly: Maintain a regular backup schedule for critical business data.