PreviousTable of ContentsNext
Configuring Hyper-V online MachinesThe Hyper-V Virtual machine Connection Tool

Purchase and download the full PDF and also ePub versions of this Hyper-V eBook for just $8.99

In creating Hyper-V Virtual makers we looked at producing a Hyper-V Virtual hard Disk (VHD) as part of the Create brand-new Virtual an equipment wizard process. Unfortunately, the ease of usage of the sorcerer’s masks some powerful features the Virtual hard Disks in ~ Hyper-V. The objective of this chapter, therefore, is come cover several of the more advanced attributes of Hyper-V virtual difficult disk creation and configuration.

You are watching: What tool can you use to modify a virtual hard disk?

Creating Hyper-V Virtual difficult Disks

As formerly covered, virtual hard disks can be created as component of the virtual machine creation process. Come gain access to a broader range of disk configuration options, an alternate is to produce the disk independently of the digital machine, and also then ultimately assign it to the virtual an equipment after the disk has actually been created.

New disks are developed from the Hyper-V Manager (Start->Administrative Tools->Hyper-V Manager). Once Hyper-V Manager is running, select the preferred Hyper-V hold from the left hand panel and also then click the New->Hard Disk... Option in the action panel. This will certainly invoke the new Virtual hard Disk wizard. If the welcome display appears, click beside proceed come the select Disk form screen as portrayed in the complying with figure:


Hyper-V supports 3 different varieties of virtual hard disk:

Dynamically Expanding
- Dynamically widening virtual difficult disks start tiny and then immediately expand come provide an ext capacity on one as essential basis approximately a maximum dimension specified at production time. Keep in mind that the dynamic feature only uses to expansion. In various other words, the virtual tough disk will certainly not automatically decrease in size when data is removed. Dynamic broadening virtual tough disks may, however, be compacted to free up unused space. Fixed - resolved virtual difficult disks are produced at the dimension specified during the disk production process. The dimension of fixed virtual difficult disks deserve to be altered using the Hyper-V Manager modify Disk... Action to start the edit Virtual hard Disk Wizard. Differencing - Differencing is a principle which entails a parent disk and a boy disk. The parental disk has a baseline hard disk picture with the operation system and perhaps a selection of applications and also data installed. As soon as this baseline parental disk is configured, a differencing disk is assigned as a child. When the virtual an equipment to i beg your pardon the decaying is assigned runs, any kind of changes do the baseline parent photo are in reality stored top top the child differencing disk, leave the parental disk unaltered. Multiple kid disks may be assigned to a parent disk permitting multiple virtual equipments to share the same parent disk. Differencing disks may likewise be chained together. The transforms contained in a differencing disk may be linked into the parental disk. Alternatively, a new virtual hard disk may be developed containing the merger of the parental disk and the kid disk, thereby leaving the parent disk unaltered. When producing a differencing disk, the parent disk will have to be specified. The size of the differencing disk rises as space is required. Differencing disks may likewise be compacted to complimentary up unused an are (see the section below entitled editing and enhancing Existing Hyper-V Virtual hard Disks).

Once a disk form has to be selected, click beside specify a name and location because that the online disk. Any type of location available to the hold system may be used, or the default place accepted. Clicking following proceeds to the Configure Disk display screen shown below:


After picking the initial size of the disk, the choice is then noted to clone the image of a physical disk into the new virtual tough disk, enabling an existing operating mechanism configuration to be replicated on the virtual difficult disk. A list of physical tough disk drives detected on the host system is noted for selection.

After clicking next the summary screen is displayed. Clicking end up initiates the disk creation process.

Modifying currently Hyper-V Virtual tough Disks

Once a Hyper-V virtual hard disk has actually been created, it have the right to be modification in a selection of means using the modify Virtual tough Disk Wizard. The wizard is invited by launching the Hyper-V Manager wizard and clicking ~ above the modify Hard Disks... Attach in the plot panel. If the optional welcome display appears, click next to proceed to the situate Virtual tough Disk screen. ~ above this screen, point out the full path come the digital disk .vhd file using the Browse switch to navigate come the exactly file. V the correct place specified, proceed once again with the Next button which will screen the Choose action screen. The options provided depend ~ above the type of the mentioned virtual disk. The following number illustrates the options provided for a dynamic expandable disk:


There space a full of five actions that deserve to be performed on virtual hard disks together outlined in the adhering to table:



CompactAvailable on dynamically expanding and also differencing virtual hard disks, this choice shrinks the size of the selected .vhd image record by removed unused space left behind after ~ data is deleted from the disk. This option cannot mitigate the dimension of non-NTFS formatted disks unless the unused an are is previously filled with zeros.
ConvertConverts virtual tough disks to and also from fixed and dynamic expandable types.
ExpandIncreases the size of dynamic expandable and also fixed virtual hard disks.
MergeMerges the contents of the selected differencing virtual tough disk into the equivalent parent virtual tough disk. Alternatively, the materials of both the parent and also child virtual tough disks might be combined into a new virtual difficult disk, in order to leaving the original parent disk photo unchanged.
ReconnectDifferencing disks should be linked with a parent virtual difficult disk. This option enables a differencing virtual tough disk to it is in reconnected v a parent disk.

Getting Information about a Hyper-V Virtual hard Disk

Information about an present Hyper-V virtual tough disk, such together the existing size, best size, image record location and disk type, deserve to be derived at any time utilizing the Hyper-V Manager. To achieve this, right click on the virtual device to which the disk is assigned from the perform of virtual machines displayed by Hyper-V Manager and click top top the Settings... Option of the resulting menu. In the setups dialog, pick the required hard journey from the Hardware dashboard which runs down the left hand side of the dialog. This will upgrade the key panel come reflect the selected decaying drive. In the Media section of this panel, click the Inspect switch to invoke the Virtual tough Disk properties dialog as depicted below:


Removing a Virtual tough Disk indigenous a Hyper-V online Machine

In order to eliminate a virtual difficult disk native a Hyper-V online machine, launch the Hyper-V Manager, right click on the appropriate virtual maker from the list and also select Settings... Indigenous the menu. In the setups dialog, click on the tough drive come be eliminated in the Hardware panel situated on the left hand next of the dialog, and then push the Remove switch at the bottom the the key panel. Note that this process only disconnects the drive from the virtual machine, the does no delete the corresponding .vhd decaying image.

Moving Hyper-V Virtual hard Disks in between IDE and SCSI disk Controllers

When a virtual tough disk is assigned to a Hyper-V virtual device it will be attached one of two people to an concept or a SCSI decaying controller, depending on the configuration. Occasionally the guest operation system may dictate that the virtual difficult disk be connected to a decaying controller the different form to the one come which it is at this time connected. Fortunately, a virtual tough disk might be moved between different disk controllers with family member ease.

For the functions of this example, a virtual difficult disk currently associated to an principle controller will certainly be moved to a SCSI controller. This job is carry out from in ~ the Hyper-V Manager tool. Begin by right clicking on the ideal virtual machine from the perform in the Hyper-V Manager and click on the Settings... Food selection option. As soon as the settings dialog shows up check to view if a SCSI controller is already configured top top the virtual machine. If no SCSI controller is right now configured, choose the include Hardware entry in the Hardware panel, select SCSI Controller native the perform of accessible hardware devices and also click top top Add.

Select the SCSI controller indigenous the Hardware list, certain that tough Disk is selected in the add Hardware panel and also click include to display screen the tough Drive setups panel. Usage the Browse button in the Media section of the panel to navigate come the virtual difficult disk .vhd file. As soon as the correct .vhd document has been specified, click the apply button come commit the configuration change.

See more: What Is The Magnitude Of The Field At The Center Of The Coil? ?

With the disk now assigned to a SCSI controller, all that stays is come disconnect the journey from the principle controller. To carry out so, pick the disc entry in ~ the ide controller in the Hardware panel and click on remove in the main difficult disk settings panel. The disk through then be disconnected from concept controller, leaving it available only through the SCSI controller.