Solved

Accessing the contents of a VHD on another computer

Posted on 2013-01-26
4
403 Views
Last Modified: 2016-11-23
Have a VHD that was running Windows 2008, but cannot login because of a probable virus attack.  Trying to find a way to recover some of the data and do not want to start the VM on the server for fear of the virus.  Was hoping to dump the contents to a physical drive like a USB drive, but doesn't appear that is possible?

Have another Hyper-V server that I can try to copy the VHD to and try to work with it that way.  Should I attempt an export or can I just copy the VHD file?   Both are Dell PE R710 server, are there considerations besides similar hardware?  

Thanks
0
Comment
Question by:Webcc
4 Comments
 
LVL 78

Accepted Solution

by:
David Johnson, CD, MVP earned 250 total points
Comment Utility
just copy the vhd you can then mount the vhd either using diskpart or diskmgmt.msc
and copy off the files you want to save
0
 

Author Comment

by:Webcc
Comment Utility
Now that was easy, just tried that on another server.  Can I just copy the VHD file and then mount it that way on another server w/o any concerns about hardware, etc?
0
 
LVL 95

Assisted Solution

by:Lee W, MVP
Lee W, MVP earned 125 total points
Comment Utility
There's nothing special about a VHD that should be of any concern to hardware.  Just mount it as you did.  HOWEVER, make sure you disable autorun *IF*  you think it was infected with a virus - otherwise, mounting it can end up infecting the host.
0
 
LVL 5

Assisted Solution

by:balmasri
balmasri earned 125 total points
Comment Utility
either you can  copy the VHD file to the other Hyper-V Server and create a new VM but you will loose network settings. OR you may copy  VHD + XML file of the VM then import it to preserve the settings of the VM.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Join & Write a Comment

Every once-in-a-while, when you try to add a XenServer host to the System Center Virtual Machine Manager console, it will generate a certificate error, and the XenServer host will not be added to Virtual Machine Manager: If you are experiencing t…
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now