Recently one of our technicians asked about the requirement to shut down a virtual machine running on Hyper-V before expanding it hard disk. Put simply, the answer is if it is a newer virtual machine you can expand the virtual hard disk without shutting down the vm first:
Put technically the Virtual Machine has to be shutdown before expanding a disk in HyperV if the disk is attached to a virtual IDE controller. That means it is an old and likely running as a Gen1 VM. If the VM is Gen2, then the boot drive will be attached to a virtual SCSI adapter and it can be expanded while the VM is online.
WARNING: As Microsoft prompts in the disk expansion process in Hyper V, you cannot expand .AVHDX disks better known as checkpoints / snapshots. We also never expand the disk on a virtual machine when it has checkpoints.
After you have confirmed that the virtual machine has SCSI disk with no Checkpoints:
This website uses cookies.