Resizing a Windows Data Disk

The following procedure describes how to expand or shrink the size of an encrypted Windows data partition. If you want to expand the boot partition, see Expanding the Boot Drive After Installing Bootloader.

This is an online procedure, which means that the disk and its contents will remain available during the resize. However, you cannot resize a disk that is not attached or that is in the process of being rekeyed.

Warning: If you resize the disk with Windows Disk Manager, you may be prompted to convert from a basic disk into a dynamic disk. Windows dynamic disks are not supported. If you select this option, you will not be able to access this disk through DataControl and all existing data will be lost.
  1. Resize the underlying disk using your hypervisor tools.

  2. Log into the VM as a System Administrator and open a Command Prompt or start Windows PowerShell.
  3. Enter the command hcl extend diskname, where diskname is the drive letter or folder mount you want to resize. For example:

    C:\>hcl extend f:
    extending partition for f:
    extending filesystem for f:the new filesystem is 2146369536 bytes long
    Tip: If the extend command fails for a Windows disk with the message that there are too many partitions on the disk, see Detecting and Removing a Windows Snapshot Partition.