Configure a Shared Virtual Hard Disk
Applies To: Windows Server 2012 R2
Shared VHDX files should be deployed on Cluster Shared Volumes (CSV) or on a Scale-Out File Server Cluster with SMB 3.0. For more information about shared virtual hard disks, see Virtual hard disk sharing.
To create and enable a shared virtual hard disk on a virtual machine
Open Hyper-V Manager if it is not already open. (From Server Manager, click Tools and then click Hyper-V Manager.)
Under Virtual Machines, select the virtual machine that you want to configure with a shared virtual hard disk..
In the Actions pane, click Settings.
Click SCSI Controller.
On the left pane, under SCSI Controller, click Add.
On the left pane, under Hard Drive, click New to start the New Virtual Hard Disk Wizard..
On the Before You Begin page, click Next
On the Choose Disk Format, accept the default VHDX. Click Next.
On the Choose Disk Type Page, accept the default Dynamic Expanding. Click Next.
On the Specify Name and Location page, enter the name of your shared virtual hard disk..
On the Specify Name and Location page, click Browse. Navigate to your shared storage location. (Cluster Shared Volumes (CSV) or on a Scale-Out File Server Cluster with SMB 3.0).
Click Select Folder. Click Next.
On the Configure Disk page, verify the size of the new virtual hard disk and alter to desired size or accept default. Click Next.
On the Completing the New Virtual Hard Disk Wizard, review your configuration and Click Finish
The new virtual hard disk is now created and needs to be enabled as a shared virtual hard disk. Click the Hard Drive you just created under SCSI Controller.
Click the “+” symbol next to the hard disk.
Click Advanced Features.
On the right hand size, under Virtual hard disk sharing, click Enable virtual hard disk sharing.
Click OK. The shared virtual hard disk is now created and enabled.