4

I've created a VHD file of my C: drive, for backup purposes, using Disk2vhd 1.0.

When I try opening the file using 7-Zip 4.65 (to view the contents) I get the error: "Can not open the file XXX as an archive".

Does anyone know why this is? I have to assume that either the VHD creation failed and it's a corrupted file, or Disk2vhd creates a variation of the VHD format that 7-Zip doesn't support.

Josh K
  • 12,990
Tom Robinson
  • 2,460

4 Answers4

4

I'm using Windows 2008 Server R2, and it supports mounting VHDs as drives from Computer Management\Storage\Disk Management. Win7 probably does the same.

Here's a fun script to mount it from the Windows Explorer menu: http://www.howtogeek.com/51174/mount-and-unmount-a-vhd-file-in-windows-explorer-via-a-right-click/

Carl

Malartre
  • 141
1

You can open VHD files with 7-zip 9.20 x64, under Windows 7. It seems this functionality has been present since 9.04, so it wouldn't have worked with the version you mention.

As mentioned above, Windows 7/Server 2008 R2 supports mounting VHD files as drives through the Disk Management snap-in. This can be accessed by selecting Attach VHD on the aforementioned MSC.

Jeeva
  • 1,462
0

As noted here, the program GizmoDrive (freeware) can be used to mount vhd files as a virtual drive.

-3

I think the only way to get the contents from your .vhd file is to actually boot it up with a Virtual PC or from a hyper-v server.

I don't believe it is in any sort of backup archive format (but I'm willing to be corrected).

Chris_K
  • 8,851