17 July 2021

Increase size of VHD file

In Windows Features, install these components:

  • Hyper-V/Hyper-V Management Tools/Hyper-V Module for Windows PowerShell
  • Hyper-V/Hyper-V Platform/Hyper-V Services

Convert dynamic VHD to fixed:

Convert-VHD -Path .\mydisk.vhd -DestinationPath mydisk-fixed.vhd -VHDType fixed

Increase size of VHD to 200 MB:

Resize-VHD .\mydisk.vhd -SizeBytes 200MB

No comments:

Post a Comment