How to Increase Disk Size in Hyper-V: The Ultimate Approach

Virtual machines require high storage capacity for proper performance and smooth operation. One way to increase capacity when a VM is about to run out of disk space is to add another drive. In Microsoft Hyper-V environments, increasing the disk size for a VM only takes a few clicks.

In this walkthrough, learn all the steps for increasing disk size in Microsoft Hyper-V and how to protect your virtual machine data with a data protection solution like NAKIVO Backup & Replication.

NAKIVO for Hyper-V Backup

NAKIVO for Hyper-V Backup

Agentless, application-aware backups for Hyper-V. Anti-ransomware protection, instant VM boot from backup, other virtual/physical platform support and more.

How to Increase Disk Size in Hyper-V 

Before you can start the process of expanding a Hyper-V disk, you should note the following:

  • If your VM is running, shut it down. As you know, some settings cannot be modified when the VM is in the running or saved state.
  • The VM should not have any snapshots. After modifying virtual hard disks, the associated snapshots might become invalid.
  • In Hyper-V, you cannot expand disks belonging to a differencing disk chain. Such virtual hard disks have child virtual hard disks associated with them, and any attempt to edit them might result in data loss. Using Hyper-V functionality, you can increase the disk size of only dynamically expanding or fixed virtual hard disks.

If everything is fine, you are ready to start expanding the disks. As mentioned above, this process includes two main steps:

  1. Expand the virtual hard disk using the Edit Virtual Hard Disk Wizard.
  2. Extend the volume size through launching the Disk Management utility inside the VM.

Below, I am going to break down each step separately to avoid confusion.

How to expand Hyper-V VM’s hard disk

The first step of the process is conducted in the following way:

  1. Open Hyper-V Manager. Right-click the VM and select Settings.Opening Hyper-V Manager (Increase Disk Size in Hyper-V)
  2. Select Hard Drive in the Hardware pane and click This action will automatically launch the Edit Virtual Hard Disk wizard.Virtual Hard Drive (Increase Disk Size in Hyper-V)
  3. This action automatically launches the Edit Virtual Hard Disk wizard. Click Next to skip the Locate Disk step.Locate Virtual Hard Disk (Increase Disk Size in Hyper-V)
  4. In the Choose Action step, select Expand to expand the storage capacity of the virtual hard disk. Click Next.Choose Action (Increase Disk Size in Hyper-V)
  5. In the Configure Disk step, you can specify by how much you wish to expand the disk.Configure Disk (Increase Disk Size in Hyper-V)
  6. The next step is to look through the changes you are about to implement. Click Finish to complete the action and close the wizard.Summary (Increase Disk Size in Hyper-V)
  7. To verify that you have succeeded in expanding the capacity of the virtual hard disk, right-click the VM, select Settings, find Hard Drive, and press the Inspect button. This way, you can get access to the virtual hard disk properties and check whether the maximum disk size has actually increased.Inspect Disk (Increase Disk Size in Hyper-V)

How to extend the volume inside the VM

The next step is to extend the volume that resides on the virtual hard disk. This operation is performed in the following way:

  1. Right-click the VM and select Connect. Start the virtual machine and log in.Connecting to the VM (Increase Disk Size in Hyper-V)
  2. Enter DISKMGMT.MSC in the search bar to open the Disk Management Utility on your VM. Disk Management demonstrates the existing volumes and the amount of unallocated space we would use to extend the C: drive.Disk Management Utility (Increase Disk Size in Hyper-V)
  3. Right-click the C: drive and select Extend Volume. This action launches the Extend Volume wizard.Extend Volume (Increase Disk Size in Hyper-V)
  4. Select the available amount of space by which you want to extend the volume. Click Next.Extend Volume Wizard (Increase Disk Size in Hyper-V)
  5. Check that you have selected the correct settings. Then, click Finish to close the wizard.Completing the Wizard (Increase Disk Size in Hyper-V)
  6. As you can see from the screenshot below, the size of the C: drive has successfully increased after extending the volume.Extended Drive Volume (Increase Disk Size in Hyper-V)

Hyper-V Data Protection in NAKIVO Backup & Replication

NAKIVO Backup & Replication is a reliable and powerful data protection solution for Microsoft Hyper-V environments. Using the NAKIVO solution, you can:

  • Create image-based, agentless, incremental and application-aware VM backups.
  • Store backup copies onsite, offsite, in the cloud, or on tape.
  • Automate backup and recovery workflows by scheduling them using the intuitive Calendar dashboard and Policy-Based Data Protection.
  • Create Hyper-V replicas of source VMs and store them on a target host.

Create and automate disaster recovery scenarios including emergency failover, failback or planned migration. Test your recovery workflows without disrupting the production environment.

1 Year of Free Data Protection: NAKIVO Backup & Replication

1 Year of Free Data Protection: NAKIVO Backup & Replication

Deploy in 2 minutes and protect virtual, cloud, physical and SaaS data. Backup, replication, instant recovery options.

People also read