>NULL: October 2024

Monday, 28 October 2024

Expand VHDX without Hyper-V

Look up the VHDX filename including the path.

In admin cmd

  1. diskpart
  2. select vdisk file="E:\EXAMPLE.vhdx"
  3. expand vdisk maximum=40000
  4. exit

Now mount the VHDX in Disk Management to expand the partition fully, remember to detach the VHDX.

The value 40000 will give 40GB