Posts

Showing posts from September, 2017

How to resize Microsoft VHD file using Virtual Disk Utility

System Requirements Windows 7 / Server 2008 R2 or newer is required. Windows 8 / Server 2012 or newer is required for in-place resizing ( resizevhd ) and VHDX support. Usage: Create a virtual disk Download Link:   Virtual Disk Command Line Utility makevhd [-d] vhd size [source] -d Use dynamic allocation for the virtual disk. vhd Path of the VHD file to be created. size Maximum size, in bytes, of the VHD; must be a multiple of 512. Alternatively, DVD or BD can be specified for preset sizes. If set to 0, the size of the source disk, if available, will be used. source Path of an optional source whose data will populate the new VHD. Usage: Create a differencing virtual disk makevhd -f vhd parent -f Create a differencing VHD. vhd Path of the differencing VHD file to be created. parent Path of an existing disk to be associated as the parent. Usage: Resize a virtual disk in-place resizevhd [-f] vhd size -f Forcibly truncate t...

Microsoft VHD (Virtual Disk) Resizer Utility

Image
When you work with Microsoft’s Hyper-V product, you certainly come across situation where you had to carry out tasks on the attached VHD files. It has to be said the built in tools provide some basic operations, but in many cases these tools lack some features that might prove useful. One of those features is resizing the volume hosted in a VHD file. It’s probably not the most common task that you would use, but still there’s always that one odd case. As i just needed to adjust the volume within one of the VHDs, i did some research in to most efficient way of achieving this. The solution was a little utility called  VHD Resizer .  NOTE: This link has stopped working in the meantime. To download the utility, look for the download link at the end of post. You can download the installer from the link above, extract the zip file and run the installer. Once installed, you can open the utility – it will prompt you for the file you want to resize. The utility being very simple, there...