<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tales from the Datacenter &#187; Forefront</title>
	<atom:link href="http://www.pburch.com/blog/category/forefront/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pburch.com/blog</link>
	<description>Tales from the Datacenter</description>
	<lastBuildDate>Thu, 09 Sep 2010 18:39:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Error 0x800704C8 in VMM</title>
		<link>http://www.pburch.com/blog/2009/03/23/error-0x800704c8-in-vmm/</link>
		<comments>http://www.pburch.com/blog/2009/03/23/error-0x800704c8-in-vmm/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 17:59:41 +0000</pubDate>
		<dc:creator>Patrick</dc:creator>
				<category><![CDATA[Forefront]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[0x800704C8]]></category>
		<category><![CDATA[antivirus]]></category>
		<category><![CDATA[hyper-v security]]></category>
		<category><![CDATA[kb961804]]></category>
		<category><![CDATA[user-mapped section open]]></category>
		<category><![CDATA[virtual machine]]></category>
		<category><![CDATA[virtual machine manager]]></category>
		<category><![CDATA[vmm]]></category>

		<guid isPermaLink="false">http://www.pburch.com/blog/?p=143</guid>
		<description><![CDATA[I was trying to deploy a new virtual machine today via Virtual Machine Manager, and kept getting this error (names changed to protect the innocent): Error (12700) VMM cannot complete the Hyper-V operation on the [virtualhost.domain.com] server because of the error: &#8216;[VIRTUALGUEST]&#8216; failed to add device &#8216;Microsoft Emulated Ethernet Port&#8217;. (Virtual machine ID 26DD8B56-0594-446A-8084-405218737EB0) The [...]]]></description>
			<content:encoded><![CDATA[<p>I was trying to deploy a new virtual machine today via Virtual Machine Manager, and kept getting this error (names changed to protect the innocent):</p>
<blockquote><p><strong>Error </strong>(12700)<br />
VMM cannot complete the Hyper-V operation on the [virtualhost.domain.com] server because of the error: &#8216;[VIRTUALGUEST]&#8216; failed to add device &#8216;Microsoft Emulated Ethernet Port&#8217;. (Virtual machine ID 26DD8B56-0594-446A-8084-405218737EB0)</p>
<p>The Virtual Machines configuration 26DD8B56-0594-446A-8084-405218737EB0 at &#8216;J:\VS\[VIRTUALGUEST]&#8216; is no longer accessible: The requested operation cannot be performed on a file with a user-mapped section open. (0x800704C8)<br />
(Unknown error (0&#215;8000))</p>
<p><strong>Recommended Action</strong><br />
Resolve the issue in Hyper-V and then try the operation again.</p></blockquote>
<p>Well, that&#8217;s really good advice &#8211; clear the error and try again.  So, a quick Google-ing turned up a Microsoft KB article: <a href="http://support.microsoft.com/kb/961804" target="_blank">Creating or starting a Hyper-V virtual machine on Windows Server 2008 or  Microsoft Hyper-V Server 2008 may fail with error: 0x800704C8</a>.  Oddly enough, this was exactly my issue:</p>
<blockquote><p><strong>CAUSE</strong></p>
<p>This issue can be caused by antivirus software that is installed in the parent  partition and the real-time scanning component is configured to monitor the  Hyper-V virtual machine files.</p>
<p><strong>RESOLUTION</strong></p>
<p>To resolve this issue, configure the real-time scanning component within the  antivirus software to exclude the following directories and files:</p>
<ul>
<li>Default virtual machine configuration directory  (C:\ProgramData\Microsoft\Windows\Hyper-V)</li>
<li>Custom virtual  machine configuration directories</li>
<li>Default virtual hard disk  directory (C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks)</li>
<li>Custom virtual hard disk directories</li>
<li>Snapshot directories</li>
<li>Vmms.exe</li>
<li>Vmwp.exe</li>
</ul>
<p><strong>Notes: </strong></p>
<ul>
<li><strong>If virtual machines are missing from the  Hyper-V Management console, you must configure the antivirus exclusions, and  then restart the Hyper-V Virtual Machine Management service.</strong></li>
<li><strong>If the error code was 0x800704C8, it is likely that the virtual machine  configuration file was corrupted and the virtual machine may need to be  re-created or restored from backup if restarting the Hyper-V Virtual Machine  Management service does not resolve the issue.</strong></li>
</ul>
</blockquote>
<p>Chalk one up for Microsoft KB articles.  Now, a little further down in the KB article, it suggests (per <a href="http://technet.microsoft.com/en-us/library/cc974516.aspx" target="_blank">Planning for Hyper-V Security</a>) installing the antivirus on the guest (which we do) and not on the host (which we do, too):</p>
<blockquote><p><strong>Do not run any applications in the parent partition. </strong>Run all  applications on virtual machines, which use child partitions. For example, if  antivirus is required, be sure to run it on the VMs rather than the parent  partition. Keeping the parent partition free of applications and running on a  Windows Server 2008 core installation means fewer host updates, since nothing  needs software updates except the Windows Server 2008 core installation, the  Hyper-V service components, and the small (~600KB) hypervisor.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.pburch.com/blog/2009/03/23/error-0x800704c8-in-vmm/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
