Tech

Guides
 

Use Virtual PC 2007 to access a Complete PC Backup image in Vista

By Greg Shultz, Special to ZDNet Asia
Thursday, February 14, 2008 11:25 AM

Find out how to use the Complete PC Backup and Restore, normally used to restore the entire hard disk, to access and restore single files.

Windows Vista Business, Ultimate, and Enterprise editions come with two types of backup utilities. The first is Automatic Backup, which is designed to backup just your data files, and second is Complete PC Backup and Restore, which is an image-based backup tool designed to backup your entire computer, including the operating system and applications as well as your data files.

Together these two systems allow you to fully protect your computer in that using the restore portion of Automatic Backup will allow you to recover individual files in the event of file loss or data corruption while the restore portion of Complete PC Backup and Restore will allow you to recover your entire system in the event of a complete hard drive failure.

You can learn more about using Complete PC Backup and Restore in a previous edition of the Windows Vista Report: Back up your hard drive with Complete PC Backup imaging utility. From that article, you'll remember that in a section titled Caveats, I included the following warning:

Keep in mind that that the type of backup that Complete PC Backup creates cannot be used to restore single files--it can only restore the entire hard disk. For that reason, Microsoft recommends that even though you use Complete PC Backup, you still use the standard backup utility on a regular basis.

However, I recently discovered that the first sentence in this warning isn't exactly true. In this edition of the Windows Vista Report, I'll show you how to use Microsoft Virtual PC 2007 to access and restore single files from an image created with Complete PC Backup and Restore.

The discovery
In the Back up your hard drive with Complete PC Backup imaging utility article, I showed you how to use Complete PC Backup and Restore to create an image of your hard drive on a set of optical disks using a DVD burner. At that time I didn't pay much attention to the actual files that were on that set of DVDs.

However, I recently built a couple of external hard drives and began experimenting with using one of them as the target for Complete PC Backup and Restore. Not only is the procedure much quicker, but it also made it much easier to take a closer look at the set of files that actually made up the resulting image. In the case of my particular backup, there were ten files--nine XML files and one file with the VHD extension, as shown in Figure A.

Figure A

In addition to the nine XML files, the Complete PC Backup included one VHD file

Since I regularly use Microsoft Virtual PC 2007 to work with older Windows operating systems, I recognized the VHD extension as one of the two file extensions that make up a Virtual Machine--the VMC file, which is the Virtual Machine Settings File, and the VHD file, which is the Virtual Machine Hard drive Image.

I then disconnected the external hard drive from my Windows Vista system and connected it to a Windows XP system on which I have Microsoft Virtual PC 2007 installed. When I accessed the folder containing the Complete PC Backup and Restore image, the operating system also recognized it as a Virtual Machine Hard drive Image.

I then decided to attempt to mount Complete PC Backup and Restore's VHD file as a secondary hard disk on an existing Virtual Machine. It worked! I could now access any file on the Complete PC Backup and Restore image. Let's take a closer look at how you go about this.

Caveats
I'm going to assume that you are already familiar with Microsoft Virtual PC 2007, which is a free download from Microsoft's Web site. As such, I'm not going to cover installing Microsoft Virtual PC 2007 or how to install an operating system in a virtual environment as these topics are beyond the scope of this blog post.

Mounting secondary hard disk
When you have an operating system installed in Microsoft Virtual PC 2007, you can easily mount the Complete PC Backup and Restore image file as a secondary hard disk. On my example Windows XP system, I have multiple operating systems installed in the Virtual PC Console and selected a virtual installation of Windows 2000 Professional, as shown in Figure B.

Figure B

I decided to use a virtual installation of Windows 2000 Professional

To mount the image as a secondary hard disk, you access the Settings dialog box for a non running virtual machine, as shown in Figure C.

Figure C

The Settings dialog box allows you to configure the system's virtual hardware

You then select the Hard Disk 2 setting in the left pane and then select the Virtual hard disk file option in the right pane, as shown in Figure D.

Figure D

You can add a second virtual hard disk to a virtual system

You then click the Browse button and then use the Select Virtual Hard disk to navigate to the Complete PC Backup and Restore VHD image file, as shown in Figure E. Then, click Open. When you return to the Settings page, just click OK. As soon as you do, the image is mounted as the secondary hard disk in your particular virtual operation system.

Figure E

You then navigate to the folder containing the Complete PC Backup and Restore VHD image file

Accessing the files on the Complete PC Backup and Restore image
Once the image is mounted as the secondary hard disk in your particular virtual operation system, you can click the Start button in the Virtual PC Console to boot it up. Once the operating system is up and running, you can simply launch My Computer, double click the drive letter, drill down to your Documents folder, and access any file that you need to restore, as shown in Figure F.

Figure F

Once the Complete PC Backup and Restore VHD image file is configured as a virtual hard drive

To copy the file out of the virtual machine, you'll need to be using either the Folder Sharing feature of the Virtual Machine Additions or a virtual network connection. Again, I'm going to assume that you're familiar with both of these topics as further detail is beyond the scope of this blog post.



WORTHWHILE?

0

0 votes
Blog

Talkback 4 comments

No success
I am getting up to fig E and when I press OK I am getting an error message saying that 'The file is not a valid virtual hard disk. Please make sure you only select virtual hard disks that were created with Virtual PC.'

I have had to resort to this as I cannot restore my complete PC Restore image using WinRE as it is saying that ''The Windows Recovery Environment is loaded from a hard disk, but windows needs to format that disk to restore your computer. Reboot from a CD or DVD and try to restore again.'

I have tried to copy all the files on and external hard drive and using the recovery disk to boot up, but WinRE is not recognising any of the files. Since the files are virtually the same in each disk, I had to save the info per disk in folders numbered 1-10.

I thought that by using your method I could at least get to the info in each VHD file and so be able to extract them that way.

Can you suggest what elese I can do?
Posted by Ray Portelli on Tuesday, February 19 2008 04:04 AM

No success either
I cannot get Vista to resore a full PC restore image either - I get a message "the file or directory is not a reparse point" when I select the option. Very helpful - I should have known that of course. Grrr. So when I tried the virtual machine approach all went just fine - but when I boot up the machine it keeps telling me I have unsafely removed or unplugged the drive - and the whole thing just falls over. Why did it not do that to you Greg? Clearly Vista backup is a good idea and addition - as long as you do not actually use it. Seriously a sharware program to open and access VHD files would be a great idea for somone to do yes?
Posted by Ian McLeod on Friday, March 14 2008 03:59 PM

Now success!
Ah ha
Now success with Virtual PC and the .vhd file. For some reason (a guess) I copied it from D drive to C drive - the same one the Virtual PC is installed on. Now its rock solid - all the stuff I backed up to is now visible in a WIN2000 file manager! I checked all the folders - its all there! I have now graduated to being able to copy folders from the virtual PC and the real one! This is weird stuff. Still have not solved the problem of Vista backup - but there is an Acer suite of stuff on the machine which includes a backup and restore of their own thing which maybe (probably) will work. I will have to look into that again. But hey virtual PC is fun and does open those Vista complete backup files - as long as they are on the same drive it seems - clearly a bug or limitation of the system is it does not like to have the two virtual drives sourced from two different real ones. but I can live with that. I can see when the wider world get wind of all this that shareware and other prgrams will be written to allow all this to be done by Joe Bloggs - becasue these vhd files are just great for backup. Oh that's where we started isn't it!
Posted by Ian McLeod on Friday, March 14 2008 11:17 PM

Very Successful, it really Saved me
It really worked, am very happy and thank you very much

Roland
Posted by Roland Tagoe on Thursday, March 20 2008 12:10 AM

Guest user

Guest user

Level: 
Joined: —
Already a member? Log in »



 

Loading...

  • HPC Applications

    Ever wondered if High Performing Computing systems really matter in our day-to-day world? HPC is not just reserved for the some obscure high-end scientific studies.

    David Scott from Intel Corporation gives you a quick tour to the process of developing HPC applications and the interesting world of HPC Applications in today's industries, including the lucrative oil industry.
    Play video


  • Maximize IT Spend: Business Acceleration

    How do you ensure your IT solutions are well integrated and streamlined across your enterprise? Rajendhiran Sanggaran from Oracle explains the processes and important considerations required to enable IT to fuel your business to the next level of growth.
    Play video

Singapore Exchange proposes BCM rules

Blog thumbnail

Singapore Exchange (SGX) has issued proposed business rules on business continuity for public comment. The rules are likely to take effect for member firms in third-quarter..... by Nathaniel Forbes

Read more »

Whitepapers / Case Studies

Downloads

Enterprise Servers & Storage News


Tech Jobs Now!

Tags

  1. availability
  2. data
  3. directory
  4. do
  5. documents
  6. double-take
  7. e-mail
  8. excel
  9. feature
  10. field
  11. formatting
  12. high
  13. list
  14. management
  15. microsoft
  16. page
  17. project
  18. security
  19. server
  20. service
  21. services
  22. should
  23. simply
  24. sql
  25. time
  26. tips
  27. use
  28. using
  29. windows
  30. word