Storm season is back, bringing with it the potential for significant weather events. If you have clients in areas prone to infrastructure disruption, visit the Disaster Recovery Resources guide for preparedness information. Datto recommends performing proactive disaster recovery testing to mitigate potential downtime. See our articles about the importance of disaster recovery testing and Preparing For A Cloud Virtualization Test: Policies, Procedures, And Partner Responsibilities to learn more. For live updates, follow @datto on Twitter.

Restoring a Thin-Provisioned VHD Export into Hyper-V: Windows 7, Server 2008r2 and newer



This article discusses how to attach VHD Export into Disk Management for Windows 7, Server 2008r2 and newer.


  • Datto SIRIS
  • Datto ALTO
  • Hyper-V
  • 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.


  1. Mount the image export in the remote web interface.
  2. Run Disk Management on the destination machine.
  3. Select Action, Attach VHD
  4. Select Browse
  5. Paste the path of the CIFS/Samba VHD Share from the image export, and click Open.
  6. 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.

  7. Select Read-only and click OK to mount the image.
  8. When this is done successfully, Windows will mount the VHD image as a volume.
  9. 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

  1. To open Hyper-V Manager, click Start, point to Administrative Tools, and then click Hyper-V Manager.
  2. Click Action, New Hard Disk
  3. If you see the "Before you begin" Dialog click next

  4. Select your Destination Disk format and Click Next.
  5. Choose the Destination Disk type then click next
  6. Specify the Name and Location where to save the new disk then click Next.
  7. 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.

  8. Review the summary to make sure you selected the correct copy drive
  9. Click finish and then a progress bar will appear for the transfer.
  10. After the transfer has completed detach the VHD from Disk Management.


Additional Resources

Was this article helpful?

1 out of 4 found this helpful

You must sign in before voting on this article.

Calling all Partners! We want to hear your feedback! Please participate in this quick survey and help us build a better, more-relevant Knowledge Base!

Want to talk about it? Head on over to our Community Forum!