Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I cant attach the vhd to server 2008 disk management as it says the disc is invalid But it does run in HyperV, but as I need it offline I cant extract it when the hyperV is running.

Any ideas?

share|improve this question
2  
What kind of VHD, did the VM have snapshots, what version of Hyper-V, what is the exact text of the error message? –  Chris S Jan 14 '13 at 15:35
    
chris can you add your reply as an answer so i can take and give rep accordely –  ben950 Jan 15 '13 at 10:01

2 Answers 2

up vote 1 down vote accepted

7Zip can read VHD files and extract the contents (though NTFS Extended Attributes and such will be ignored). It can also read disk images with NTFS partitions, as well as WIM files.

share|improve this answer

7Zip does have the ability to access the VHD and extract content, but if you want to access the VHD natively you can use Disk Management in Windows 7/2008.

Open Disk Management whichever way is easiest, then select Action > Attach VHD. You can then mount your vhd as read-only or write-able. Assign a drive letter and access as if it was a normal drive. The same can be done with diskpart

select vdisk file=filename.vhd, attach vdisk, Assign letter=F

share|improve this answer
    
as mentioned in question it wont attach in open management but thanks –  ben950 Jan 15 '13 at 9:25
    
Whoops sorry, I didn't notice that part. I should remind myself not to skim over questions! –  Ben Bowman Jan 15 '13 at 22:41

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.