All Products
Search
Document Center

:Fix the grayed-out "Extend Volume" option on Windows

Last Updated:Jun 02, 2026

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

  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 target partition (for example, drive D). Check for space marked as Unallocated immediately to the right.

Step 2: Clear the read-only attribute

  1. Open Command Prompt as administrator.

  2. Run DiskPart to open the DiskPart interactive interface.

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

    1. List all disks.

      list disk
    2. Select the target disk.

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

      attributes disk

      Check the Read-only state in the output. If it is Yes, clear the attribute:

      attribute disk clear readonly
  4. List and select the target volume, then check its attributes.

    1. List all volumes.

      list volume
    2. Select the target volume.

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

      attributes volume

      Check the Read-only state in the output. If it is Yes, clear the attribute:

      attribute volume clear readonly
  5. Exit DiskPart and retry the extension.

    exit

    Return to Disk Management and click Actions > Refresh. 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

  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 partition data to another location.

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

      3. Set File system to NTFS, select Perform a quick format, and click OK.

      4. After formatting, check if Extend Volume... 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, recovery partitions may become obsolete after a system upgrade or reinstallation.

      2. Back up the partition data to another location.

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

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