THE SQL Server Blog Spot on the Web

Welcome to SQLblog.com - The SQL Server blog spot on the web Sign in | |
in Search

John Paul Cook

Mounting a vhd in Windows 7 and Windows Server 2008 R2

Most of us are dependent on virtual machines for all kinds of reasons with demos and testing near the top of the list for many of us. Our dependency on virtual machines makes us need better tools for managing them. Windows 7 and Windows Server 2008 R2 can mount a vhd and make it accessible as if it is a mounted drive. The contents of the vhd can be modified without booting up a virtual machine. Under More Actions under Disk Management, is a new option called Attach VHD. It gives you the option to mount a vhd as either read only or modifiable. Curiously, detaching the vhd must be done from a different menu in a different location. The Detach VHD option is found in a menu obtained by right-clicking the square box for the disk in the graphical menu of disk partitions.

image

Disk Management Showing Attach VHD feature. Detach VHD is from a second screen capture that was superimposed on the first.

Being able to modify the contents of a vhd containing a virtual OS is of particular importance when migrating a virtual machine from Hyper-V to Virtual PC. Although this is a completely unsupported operation, it is something people need to do from time to time. My next post explains how to do this.

Published Saturday, August 29, 2009 2:35 PM by John Paul Cook

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

No Comments

Leave a Comment

(required) 
(required) 
Submit

About John Paul Cook

John Paul Cook is both a Registered Nurse and a Microsoft SQL Server MVP experienced in Microsoft SQL Server and Oracle database application design, development, and implementation. He has spoken at many conferences including Microsoft TechEd and the SQL PASS Summit. He has worked in oil and gas, financial, manufacturing, and healthcare industries. Experienced in systems integration and workflow analysis, John is passionate about combining his IT experience with his nursing background to solve difficult problems in healthcare. He sees opportunities in using business intelligence and Big Data to satisfy healthcare meaningful use requirements and improve patient outcomes. John graduated from Vanderbilt University with a Master of Science in Nursing Informatics and is an active member of the Sigma Theta Tau nursing honor society. Contributing author to SQL Server MVP Deep Dives and SQL Server MVP Deep Dives Volume 2.
Powered by Community Server (Commercial Edition), by Telligent Systems
  Privacy Statement