Did You know that you can add a VHD disk to your windows 2008 R2 Server and /or boot from it ?
You can easy edit the VHD and reuse it in hyper-v.
So go to disk manager and right click on disk management
You can create a new VHD.
If you use dynamic make sure you have the disk space that u needed.
I use a fixed disk with windows 7 on it. that I use in hyper-v as golden Image for my desktops.
fill in the VHD location.
You can make it read only if you need software install that is on a VHD, I have a VHD with all the ISO files on it that I can mount on every server if I need to install extra software or tools.
But now I use the Windows 7 VHD
now that I mounted the disk I can use it.
I need a WallPaper on the windows 7
now I can do a offline or detach vhd , If I don;t I get this error in hyper-v
even if the disk is offline
You can also delete the VHD 😉

or You can boot from the VHD it is just like in windows 7 mount it and use bcdedit to change the boot string.
below are samples.
bcdedit /set {GUID} device file=[c:]vhdwin7.vhd
bcdedit /set {GUID} osdevice file=[c:]vhdwin7.vhd
Here are some articles and video about booting from VHD.
http://blogs.msdn.com/cesardelatorre/archive/2009/01/11/windows-7-natively-booting-from-a-vhd-virtual-pc-image-file.aspx
Inside Windows 2008 R2 Virtualization Improvements and Native VHD Support (Mark Russinovich)
http://www.microsoft.com/emea/teched2008/itpro/tv/default.aspx
Like this:
Like Loading...
Author: Robert Smit [MVP]
Robert Smit is Senior Technical Evangelist and is a current Microsoft MVP in Clustering as of 2009.
Robert has over 20 years experience in IT with experience in the educational, health-care and finance industries.
Robert’s past IT experience in the trenches of IT gives him the knowledge and insight that allows him to communicate effectively with IT professionals
who are trying to address real concerns around business continuity, disaster recovery and regulatory compliance issues. Robert holds the following certifications:
MCT - Microsoft Certified Trainer, MCTS - Windows Server Virtualization, MCSE, MCSA and MCPS. He is an active participant in the Microsoft newsgroup community and is currently focused on Hyper-V, Failover Clustering, SQL Server, Azure and all things related to Cloud Computing and Infrastructure Optimalization.
Follow Robert on Twitter @ClusterMVP
Or follow his blog https://robertsmit.wordpress.com
Linkedin Profile Http://nl.linkedin.com/in/robertsmit
Robert is also capable of transferring his knowledge to others which is a rare feature in the field of IT. He makes a point of not only solving issues but also of giving on the job training of his colleagues.
A customer says " Robert has been a big influence on our technical staff and I have to come to know him as a brilliant specialist concerning Microsoft Products. He was Capable with his in-depth knowledge of Microsoft products to troubleshoot problems and develop our infrastructure to a higher level. I would certainly hire him again in the future. "
Details of the Recommendation: "I have been coordinating with Robert implementing a very complex system. Although he was primarily a Microsoft infrastructure specialist; he was able to understand and debug .Net based complext Windows applications and websites. His input to improve performance of applications proved very helpful for the success of our project
View all posts by Robert Smit [MVP]