This article discusses how to attach VHD Export into Disk Management for Windows 7, Server 2008r2 and newer.
- Datto SIRIS
- Datto ALTO
- Windows 7
- Windows Server 2008r2 and newer
This method will create a thin-provisioned export. The VHD copy functions require Hyper-V manager. Follow the steps in the article Export Image to obtain the machine's recovery point in the VHD file format before you proceed.
- Mount the image export in the remote web interface.
- Run Disk Management on the destination machine.
- Select Action, Attach VHD
- Select Browse
- Paste the path of the CIFS/Samba VHD Share from the image export, and click Open.
- Select the Hard Disk Image, and click Open.
If boot.vhd and C.vhd are both present, select boot.vhd as the first drive, and attach C.vhd as the secondary drive. If only C.vhd is present, use C.vhd as the first drive.
There are two reasons to add a boot and a C volume:
Devices do not support UEFI, so if the os volume is GPT, this is necessary.
It fixes virtualization failures for some MBR/BIOS agents. if the NTFS bootstrap code (used for booting) for the C:\ filesystem is corrupted, The production agents do not notice because windows uses a 'system reserved' partition for booting by default.
- Select Read-only and click OK to mount the image.
- When this is done successfully, Windows will mount the VHD image as a volume.
- The VHD is now mounted and ready to use.
If you need to quickly recover files with filesystem permissions, use Robocopy or Richcopy. This will be a faster restore process than transferring the entire image.
If you need a full disk image imported into Hyper-V, this process must be done on a machine with Hyper-V Manager.
Installing Hyper-V Manager
Hyper-V Manager Installation under Windows 7
Windows 7 Hyper-V Manager can only be installed on Windows 7 Enterprise, Professional, or Ultimate editions. You must first install RSAT tools for Windows 7
After this is installed go to Start – Control Panel and click on Programs.
Turn Window features on or off.
Under Remote Server Administration Tools – Role Administration Tools, find the option for Hyper-V Tools, check the checkbox and click OK.
Hyper-V Manager Installation under Windows 8 , 8.1 and 10
Go to Start – Control Panel and click on Programs and Features.
Turn Window features on or off.
Under the option for Hyper-V check the checkbox for Hyper-V Management Tools and click OK.
Importing the mounted VHD into Hyper-V
- To open Hyper-V Manager, click Start, point to Administrative Tools, and then click Hyper-V Manager.
- Click Action, New Hard Disk
- If you see the "Before you begin" Dialog click next
- Select your Destination Disk format and Click Next.
- Choose the Destination Disk type then click next
- Specify the Name and Location where to save the new disk then click Next.
- Select the disk or disks to copy by clicking Copy the contents of the specified physical disk and selecting the PhysicalDrive# that is the same Disk # as the VHD that is mounted. Then click Next. Repeat this step for all disks involved in the restore.
- Review the summary to make sure you selected the correct copy drive
- Click finish and then a progress bar will appear for the transfer.
- After the transfer has completed detach the VHD from Disk Management.