Resize VirtualBox Hard Drive (Windows 7)

To resize the Windows VM Disk issue the command (where size is in MB):

$ VBoxManage modifyhd Windows7.vdi --resize 30720

Afterwards, boot the VM and use Control Panel -> Administrative Tools -> Computer Management -> Storage -> Disk Management panel to expand the disk to fill the extra space.

NOTE: Under MacOS I had to boot the VM and repair the disk using the Windows Installation Disk.

Leave a Reply