VHD stands for Virtual Hard Disk, a common disk image format used with Hyper-V in Windows Server 2008 (R2). It can store files, folders, file systems, and disk partitions, encapsulating all this data in a single file.
"I made a backup of a virtual machine running on Hyper-V. It's Windows Server 2008. The backup is a VHD. How do I do a full system restore on this? I've tried booting to a windows installation disc and doing a restore from a share, but that's resulting in an error message: The selected system image cannot be restored in this recovery environment. Any ideas?"
Users who backup files to a network drive via VHD may encounter issues when trying to restore their computer using an installation disc, as they cannot find the backup image from the VHD file. This problem can arise due to various reasons, including the inability to locate the backup image within the VHD file.
After exploring the possible causes, you may consider some solutions, such as restoring a VHD file in Windows Server 2008 (R2) using an installation disc, which is a reliable method, and you can also try other solutions.
To restore a VHD file to a physical disk in Windows Server 2008 (R2), there are two methods. One approach is to restore the VHD file using the installation disc, which provides a straightforward method. Alternatively, you can create a new virtual machine and attach the VHD file to it, which is another viable option.
Before starting, you need to be sure the following 2 things:
Then, select a method and follow the corresponding steps to restore VHD file.
Step 1. Insert the installation disc into your computer, set boot priority to this disc, and press any key to boot from it when prompted. In the first screen, set up language and other preferences, and click "Next".
Step 2. To repair your computer, click on "Repair your computer" and then select "Troubleshoot". From the Troubleshoot menu, choose "System Recovery Options" and finally select "Windows Complete PC Restore".
Step 3. Select Windows Server 2008 (R2).
Step 4. Click Cancel if it does not find a backup image and then Next > Advanced > Search for a system image on the network.
Step 5. Click Yes to confirm you want to connect to network. Then, it will ask you to specify the location of your backup image, you need to click Cancel twice > Troubleshoot > Command Prompt and then type the following commands, because it cannot find the VHD file.
Step 6. Type exit twice To restore your Windows 10/11 PC to its previous state, exit Diskpart and Command Prompt window. Then, go to the Windows Complete PC Restore window, select the latest backup image, and follow the on-screen instructions to complete the restore process.
Step 1. Launch Hyper-V Manager, connect to your server, and right-click the server name. From the drop-down menu, select "New" > "Virtual Machine.
Step 2. Specify a name To create a new virtual machine in Hyper-V, start by clicking on the "New" button in the Hyper-V Manager. Then, select "Virtual machine" and click "Next". Choose a name for your virtual machine and select the version of Windows you want to install.
Step 3. Select the generation your VM was. Click Next.
Step 4. Allocate 4 GB of memory to the virtual machine. Click Next.
Step 5. Configure the network adapter to use a virtual switch, or remain disconnected. Click Next.
Step 6. To restore VHD files in Windows 2008 Server, select "Use an existing virtual hard disk" and click "Browse..." to locate the .vhd file, then click "Next" and "Finish".
In Windows Server 2008 (R2), restoring a VHD file is a challenging process, often resulting in Windows not being able to find a backup image on a network share. This issue poses a significant risk of data loss, especially after January 14, 2020, when Microsoft stopped providing security updates for this operating system. As a result, servers running Windows Server 2008 (R2) are exposed to potential security vulnerabilities and data loss risks.
Anyway, the built-I strongly recommend using Qiling Disk Master Server, a top-notch server backup software, instead of backup software. It's incredibly user-friendly, even for beginners, and boasts numerous valuable features.
Download, install and open Qiling Disk Master Server, then click Backup, select System Backup, choose a destination path, and click Proceed.
Tips:
After creating a backup, you can restore your system at any time. To do this, click "Restore" and "Select Task", then choose a system image backup and select "Restore this system backup". Next, choose a destination path and click "Proceed" to complete the restoration process.
Tips:
If you're trying to restore a VHD file on a Windows 2008(R2) Server but Microsoft's backup tool can't find the backup image on a network share, don't worry! There are two helpful methods to resolve this issue, which can be found in this article. However, to ensure system and data security, it's recommended to use a third-party server backup software like Qiling Disk Master Server instead.
The software has a clear and user-friendly interface, allowing most users to complete the process easily with a step-by-step guide. It also keeps track of changes made and provides a schedule backup, such as a USB plug-in, which uses minimal space. In the event of a disaster, the system can be easily restored to a new hard drive or computer, even with different hardware.