Problem description
In the Disk Management window, when you right-click a partition to extend it, the "Extend Volume..." option is grayed out and unavailable.
Causes
No adjacent unallocated space: There is no unallocated disk space immediately to the right of the target partition. Volume extension requires physically contiguous space.
Disk or volume is read-only: The disk or volume is set to read-only, which prevents any write or modification operations, including extension.
Unsupported file system: The partition is formatted with a file system that does not support volume extension, such as FAT or FAT32. Windows can only extend volumes that use the NTFS or ReFS file systems.
Unsupported partition type: The target partition is a special-purpose partition, such as an original equipment manufacturer (OEM) recovery partition or an EFI system partition. These partitions are protected by the system and cannot be modified.
Unrecognized or corrupted file system: The file system of the partition is displayed as RAW or unknown. This indicates that Windows cannot recognize the file system format because it is corrupted.
Solution
First, confirm that the required unallocated space exists. Then, check for any state-based restrictions, such as the read-only attribute. Finally, verify that the partition's format and type support extension.
Step 1: Check the 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 partition you want to extend, such as drive D. Check for space marked as Unallocated immediately to the right of the partition.
If unallocated space exists: Continue to Step 2: Check and clear the read-only state.
If unallocated space does not exist: No space is available for the extension. You must first create unallocated space by resizing a disk.
Step 2: Check and clear the read-only state
Open Command Prompt as an administrator.
Run the
DiskPartcommand to open the DiskPart interactive interface.diskpartList and select the target disk, and then check its attributes.
List all disks in the system.
list diskSelect the target disk.
select disk <disk number>For example, to select Disk 0, run the
select disk 0command.View the attributes of the selected disk.
attributes diskIn the output, check the Read-only state. If it is Yes, run the following command to clear the read-only attribute.
attribute disk clear readonly
List and select the target volume, and then check its attributes.
List all volumes in the system.
list volumeSelect the target volume by its number or drive letter.select volume <volume number or drive letter>
select volume <volume number or drive letter>View the attributes of the selected volume.
attributes volumeIn the output, check the Read-only state. If it is Yes, run the following command to clear the read-only attribute.
attribute volume clear readonly
Exit
DiskPartand retry the operation.exitReturn to Disk Management and click . Then, check if the Extend Volume... option is available. If the problem persists, continue to Step 3: Check the file system and partition type.
Step 3: Check the file system and 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 data on the partition to another location.
In Disk Management, right-click the partition and select Format....
In the window that appears, set File system to NTFS, select the Perform a quick format checkbox, and click OK.
After the format is complete, check if the Extend Volume... option 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, some recovery partitions may become obsolete after a system upgrade or reinstallation and can be deleted.
Back up the data on the partition to another location.
In Disk Management, right-click the target partition and select Delete Volume....
After deletion, the space becomes unallocated and can be used to 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, you can try to recover the data using a data restoration tool. Then, format the partition to NTFS by following the steps in Scenario 1.
Further recommendations
Standardize partitions: When you initialize a new disk, use the NTFS or ReFS file system to prevent future maintenance issues caused by file system limitations.
Configure Monitoring: Set an alert threshold for disk space usage. Proactively scale out or clean up disk space before it is exhausted to prevent service interruptions.
Back up data regularly: Create and maintain a regular backup schedule for your critical business data.