<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Double clicking on a VHD to mount it</title>
	<atom:link href="http://blog.kazmarek.com/2007/04/19/double-clicking-on-a-vhd-to-mount-it/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.kazmarek.com/2007/04/19/double-clicking-on-a-vhd-to-mount-it/</link>
	<description></description>
	<pubDate>Sun, 20 May 2012 11:32:02 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: AlexJ</title>
		<link>http://blog.kazmarek.com/2007/04/19/double-clicking-on-a-vhd-to-mount-it/#comment-9549</link>
		<dc:creator>AlexJ</dc:creator>
		<pubDate>Sun, 15 Feb 2009 16:29:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.kazmarek.com/?p=24#comment-9549</guid>
		<description>Hi,

with Hyper-V Server there are an additional swith is required to dismount: /c ommit or /d iscard
So the working reg file for using with Hyper-V Server is:

Windows Registry Editor Version 5.00 

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Virtual.Machine.HD]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Virtual.Machine.HD\shell]
@="Mount"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Virtual.Machine.HD\shell\Dismount - Discard]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Virtual.Machine.HD\shell\Dismount - Discard\command]
@="\"C:\\Program Files\\Microsoft Virtual Server\\Vhdmount\\vhdmount.exe\" /d /u \"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Virtual.Machine.HD\shell\Dismount - Commit]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Virtual.Machine.HD\shell\Dismount - Commit\command]
@="\"C:\\Program Files\\Microsoft Virtual Server\\Vhdmount\\vhdmount.exe\" /c /u \"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Virtual.Machine.HD\shell\Mount]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Virtual.Machine.HD\shell\Mount\command]
@="\"C:\\Program Files\\Microsoft Virtual Server\\Vhdmount\\vhdmount.exe\" /p \"%1\""

[HKEY_CLASSES_ROOT\.vhd]
@="Virtual.Machine.HD"



Happy mounting...
Alex</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>with Hyper-V Server there are an additional swith is required to dismount: /c ommit or /d iscard<br />
So the working reg file for using with Hyper-V Server is:</p>
<p>Windows Registry Editor Version 5.00 </p>
<p>[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Virtual.Machine.HD]<br />
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Virtual.Machine.HD\shell]<br />
@=&#8221;Mount&#8221;</p>
<p>[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Virtual.Machine.HD\shell\Dismount - Discard]<br />
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Virtual.Machine.HD\shell\Dismount - Discard\command]<br />
@=&#8221;\&#8221;C:\\Program Files\\Microsoft Virtual Server\\Vhdmount\\vhdmount.exe\&#8221; /d /u \&#8221;%1\&#8221;"</p>
<p>[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Virtual.Machine.HD\shell\Dismount - Commit]<br />
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Virtual.Machine.HD\shell\Dismount - Commit\command]<br />
@=&#8221;\&#8221;C:\\Program Files\\Microsoft Virtual Server\\Vhdmount\\vhdmount.exe\&#8221; /c /u \&#8221;%1\&#8221;"</p>
<p>[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Virtual.Machine.HD\shell\Mount]<br />
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Virtual.Machine.HD\shell\Mount\command]<br />
@=&#8221;\&#8221;C:\\Program Files\\Microsoft Virtual Server\\Vhdmount\\vhdmount.exe\&#8221; /p \&#8221;%1\&#8221;"</p>
<p>[HKEY_CLASSES_ROOT\.vhd]<br />
@=&#8221;Virtual.Machine.HD&#8221;</p>
<p>Happy mounting&#8230;<br />
Alex</p>
]]></content:encoded>
	</item>
</channel>
</rss>

