Can I open a Disk2vhd created VHD file with 7-zip?

6,969

Solution 1

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

Solution 2

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.

Share:
6,969

Related videos on Youtube

Tom Robinson
Author by

Tom Robinson

Updated on September 17, 2022

Comments

  • Tom Robinson
    Tom Robinson over 1 year

    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.

  • Tom Robinson
    Tom Robinson over 14 years
    I've opened .vhd files created by other applications using 7-Zip, it's quite handy and definitely possible. For example, the ones created by the Windows Vista Complete PC Backup.
  • Tom Robinson
    Tom Robinson over 14 years
    I'm running Windows 7 so I can do this through the Disk Management utility anyway, but I think I read that it's not a good idea if the VHD is an image of the system you're currently booted into.
  • Chris_K
    Chris_K over 14 years
    Interesting! And those backup VHD files are known to be the same format as virtual PC VHD? I was completely unaware :-)
  • Tom Robinson
    Tom Robinson over 14 years
    Yep, more information on the format here: en.wikipedia.org/wiki/VHD_(file_format)
  • Chris_K
    Chris_K about 14 years
    I said "willing to be corrected" not down-voted w/out comments :-p
  • Ramhound
    Ramhound over 11 years
    This doesn't answer the author's question in the slightest. The only helpful bit is the fact you mention you can attach the VHD image within Windows 7's Disk Management of course the author already knew this.
  • Oliver Salzburg
    Oliver Salzburg over 11 years
    @Ramhound: It seems like a perfectly reasonable answer to me. What am I missing?
  • Prerak Diwan
    Prerak Diwan over 11 years
    @OliverSalzburg It appeared to me, to be more of a comment than an answer. However now that I've read it in more detail I agree with you.
  • Ramhound
    Ramhound over 11 years
    @Jeeva - Make some sort of modification and I will remove my downvote.
  • Jeeva
    Jeeva over 11 years
    I only added my answer to answer the title question for future searches (as I got here on a slightly unrelated note). Happy to make it more obvious, though.