All Products
Search
Document Center

:Resolve the grayed-out "Extend Volume" option for a disk on a Windows instance

Last Updated:Nov 24, 2025

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

  1. Open Disk Management.

    Press Win + R, enter diskmgmt.msc, and press Enter.

  2. 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.

Step 2: Check and clear the read-only state

  1. Open Command Prompt as an administrator.

  2. Run the DiskPart command to open the DiskPart interactive interface.

    diskpart
  3. List and select the target disk, and then check its attributes.

    1. List all disks in the system.

      list disk
    2. Select the target disk.

      select disk <disk number>
      For example, to select Disk 0, run the select disk 0 command.
    3. View the attributes of the selected disk.

      attributes disk

      In 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
  4. List and select the target volume, and then check its attributes.

    1. List all volumes in the system.

      list volume
    2. Select the target volume by its number or drive letter.select volume <volume number or drive letter>

      select volume <volume number or drive letter>
    3. View the attributes of the selected volume.

      attributes volume

      In 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
  5. Exit DiskPart and retry the operation.

    exit

    Return to Disk Management and click Action > Rescan Disks. 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

  1. In Disk Management, check the file system and status of the target partition.

    • Scenario 1: The file system is FAT32 or FAT.

      1. Back up the data on the partition to another location.

      2. In Disk Management, right-click the partition and select Format....

      3. In the window that appears, set File system to NTFS, select the Perform a quick format checkbox, and click OK.

      4. 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.

      1. 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.

      2. Back up the data on the partition to another location.

      3. 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.

      1. 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:.
      2. 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.