Can't create new VMs with MS Forefront Antivirus enabled<p align=left><font face=Arial size=2></font> </p> <p>I'm running Hyper-V RC0 on Server 2008 X64 and an HP DL380G5 using drivers from the Proliant Support Pack 8.0.  If Forefront is enabled, trying to create a virtual machine gets stuck at the configuring network adaptor screen:</p> <p align=left> </p> <p><em>&quot;The server encountered an error while configuring memory on test3.  Wizard failed in rolling back the created virtual machine. Please delete it manually afterwards.</em></p> <p align=left><em></em> </p> <p align=left><em>Failed to add device 'Microsoft Synthetic Ethernet Port'.</em></p> <p align=left><em></em> </p> <p align=left><em>'test3' failed to add device 'Microsoft Synthetic Ethernet Port'.</em></p> <p align=left>&lt;GUID removed&gt;</p> <p align=left> </p> <p align=left><em>The Virtual Machines configuration </em>&lt;GUID removed&gt; <em>at 'E:\VServers\test3\test3' is no longer accessible: The requested operation cannot be performed on a file with a user-mapped section open. (0x800704C8)</em></p> <p align=left><em></em> </p> <p align=left> </p> <p>When Forefront is enabled, no go.  When I stop the Forefront services, everything is fine.  It seems that this issue may be related to a fairly recent Forefront engine update, as I think this worked previously with Forefront enabled, though I'm not sure.</p> <p align=left> </p> <p align=left>Has anyone else had this issue?</p>© 2009 Microsoft Corporation. All rights reserved.Fri, 29 Aug 2008 05:54:43 Z4fe1fdba-5606-427e-8ad4-1041a87f5207http://social.technet.microsoft.com/Forums/en-US/winserverhyperv/thread/4fe1fdba-5606-427e-8ad4-1041a87f5207#4fe1fdba-5606-427e-8ad4-1041a87f5207http://social.technet.microsoft.com/Forums/en-US/winserverhyperv/thread/4fe1fdba-5606-427e-8ad4-1041a87f5207#4fe1fdba-5606-427e-8ad4-1041a87f5207TJ Cornishhttp://social.technet.microsoft.com/Profile/en-US/?user=TJ%20CornishCan't create new VMs with MS Forefront Antivirus enabled<p align=left><font face=Arial size=2></font> </p> <p>I'm running Hyper-V RC0 on Server 2008 X64 and an HP DL380G5 using drivers from the Proliant Support Pack 8.0.  If Forefront is enabled, trying to create a virtual machine gets stuck at the configuring network adaptor screen:</p> <p align=left> </p> <p><em>&quot;The server encountered an error while configuring memory on test3.  Wizard failed in rolling back the created virtual machine. Please delete it manually afterwards.</em></p> <p align=left><em></em> </p> <p align=left><em>Failed to add device 'Microsoft Synthetic Ethernet Port'.</em></p> <p align=left><em></em> </p> <p align=left><em>'test3' failed to add device 'Microsoft Synthetic Ethernet Port'.</em></p> <p align=left>&lt;GUID removed&gt;</p> <p align=left> </p> <p align=left><em>The Virtual Machines configuration </em>&lt;GUID removed&gt; <em>at 'E:\VServers\test3\test3' is no longer accessible: The requested operation cannot be performed on a file with a user-mapped section open. (0x800704C8)</em></p> <p align=left><em></em> </p> <p align=left> </p> <p>When Forefront is enabled, no go.  When I stop the Forefront services, everything is fine.  It seems that this issue may be related to a fairly recent Forefront engine update, as I think this worked previously with Forefront enabled, though I'm not sure.</p> <p align=left> </p> <p align=left>Has anyone else had this issue?</p>Tue, 08 Apr 2008 19:02:51 Z2008-04-09T10:04:36Zhttp://social.technet.microsoft.com/Forums/en-US/winserverhyperv/thread/4fe1fdba-5606-427e-8ad4-1041a87f5207#24c3df7f-a8a5-473f-aba1-9c3c65439d00http://social.technet.microsoft.com/Forums/en-US/winserverhyperv/thread/4fe1fdba-5606-427e-8ad4-1041a87f5207#24c3df7f-a8a5-473f-aba1-9c3c65439d00BrianEhhttp://social.technet.microsoft.com/Profile/en-US/?user=BrianEhCan't create new VMs with MS Forefront Antivirus enabled<p>Interestingly enough, there is another thread about a similar Trend Micro issue.</p> <p align=left> </p> <p align=left>Have you mentioned this behavior to the Forefront folks?</p> <p align=left> </p> <p align=left><font face=Arial size=2></font> </p>Tue, 08 Apr 2008 20:34:31 Z2008-04-08T20:34:31Zhttp://social.technet.microsoft.com/Forums/en-US/winserverhyperv/thread/4fe1fdba-5606-427e-8ad4-1041a87f5207#bb8d660d-c534-4bfb-b739-71b858a1cbabhttp://social.technet.microsoft.com/Forums/en-US/winserverhyperv/thread/4fe1fdba-5606-427e-8ad4-1041a87f5207#bb8d660d-c534-4bfb-b739-71b858a1cbabTJ Cornishhttp://social.technet.microsoft.com/Profile/en-US/?user=TJ%20CornishCan't create new VMs with MS Forefront Antivirus enabled<p align=left><font face=Arial size=2></font> </p> <p>I'm going to open a Pro Support case.  I thought I would post here in case I missed something that everyone else knew about.</p> <p align=left> </p> <p align=left>I'm not having good luck with MS Forefront and x64 Server 2008.  I have had another open issue for more than a month where DFS-R doesn't work.  Apparently MS doesn't &quot;doogfood&quot; Forefront.</p>Tue, 08 Apr 2008 20:42:22 Z2008-04-08T20:42:22Zhttp://social.technet.microsoft.com/Forums/en-US/winserverhyperv/thread/4fe1fdba-5606-427e-8ad4-1041a87f5207#0af1959a-487e-4e83-be6f-f22297d75b87http://social.technet.microsoft.com/Forums/en-US/winserverhyperv/thread/4fe1fdba-5606-427e-8ad4-1041a87f5207#0af1959a-487e-4e83-be6f-f22297d75b87Craig Wiand - MSFThttp://social.technet.microsoft.com/Profile/en-US/?user=Craig%20Wiand%20-%20MSFTCan't create new VMs with MS Forefront Antivirus enabled<p align=left><font face=Verdana>Hello TJ,</font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face=Verdana> </font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face=Verdana>Unfortunately, we have seen this issue before internally.<span style="">  </span>The problem is related a low-level synchronization issue in Windows whereby Forefront Client Security has a memory mapped section opened while Hyper-V is trying to call SetEndOfFile on the temporary configuration xml file.<span style="">  </span>The best way to correct the issue is actively being discussed between the Forefront, Windows, and Hyper-V teams.</font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face=Verdana> </font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face=Verdana>In the meantime, it will likely not correct the issue entirely, but you may get a measure of relief by doing the following:</font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face=Verdana> </font></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.5in"><span style="color:maroon"><font face=Verdana>-        Create the following key “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MpFilter\Parameters” </font></span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.5in"><span style="color:maroon"><font face=Verdana>-        Add a DWORD value “ScanOnCleanup” and set it to 0</font></span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.5in"><span style="color:maroon"><font face=Verdana>-        Restart FCSAM service</font></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face=Verdana> </font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face=Verdana> </font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face=Verdana>This registry key should also help the DFSR issue.<span style="">  </span>I will send you an email status update on that offline. <span style=""> </span>Also, I was unable to locate a support case you opened on this hyper-v issue, but if you have one please reply to that email with the case number and I’ll make sure it gets linked in properly.</font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face=Verdana> </font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face=Verdana> </font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face=Verdana>Brian – since the issue has its roots in Windows and not necessarily FCS, it is possible that Trend performing similar memory mapping behavior.<span style="">  </span>Do you have a pointer to this thread?</font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face=Verdana> </font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face=Verdana> </font></p><font face=Verdana> <p class=MsoNormal style="margin:0in 0in 0pt"><font face=Verdana>PS.<span style="">  </span>Microsoft does indeed have a dogfood implementation of Forefront Client Security<span style="">  </span></font><span style="font-family:Wingdings"><span style="">J</span></span></p></font> <p class=MsoNormal style="margin:0in 0in 0pt" align=left> </p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face=Verdana>Best regards,</font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face=Verdana>Craig</font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face=Verdana></font> </p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face=Verdana> </font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:Wingdings"><span style=""></span></span> </p>Tue, 08 Apr 2008 21:33:04 Z2008-04-09T10:04:36Zhttp://social.technet.microsoft.com/Forums/en-US/winserverhyperv/thread/4fe1fdba-5606-427e-8ad4-1041a87f5207#5d02f9e4-40c8-4234-9f7b-eb2125aeb4dchttp://social.technet.microsoft.com/Forums/en-US/winserverhyperv/thread/4fe1fdba-5606-427e-8ad4-1041a87f5207#5d02f9e4-40c8-4234-9f7b-eb2125aeb4dcBrianEhhttp://social.technet.microsoft.com/Profile/en-US/?user=BrianEhCan't create new VMs with MS Forefront Antivirus enabled<p>Here is the OfficeScan thread:</p> <p align=left><a title="http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=3128489&amp;SiteID=17" href="http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=3128489&amp;SiteID=17">http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=3128489&amp;SiteID=17</a></p> <p align=left> </p> <p align=left><font face=Arial size=2></font> </p>Tue, 08 Apr 2008 23:11:27 Z2008-04-08T23:11:27Zhttp://social.technet.microsoft.com/Forums/en-US/winserverhyperv/thread/4fe1fdba-5606-427e-8ad4-1041a87f5207#87fa52cf-c068-48f4-917e-528bb5ec3478http://social.technet.microsoft.com/Forums/en-US/winserverhyperv/thread/4fe1fdba-5606-427e-8ad4-1041a87f5207#87fa52cf-c068-48f4-917e-528bb5ec3478TJ Cornishhttp://social.technet.microsoft.com/Profile/en-US/?user=TJ%20CornishCan't create new VMs with MS Forefront Antivirus enabled<p align=left><font face=Arial size=2>I had not yet placed a MS support call for the Hyper-V issue as it was late in my day when I posted here.  Thanks for your responses, I will try the registry key change you mentioned.</font></p> <p align=left> </p> <p align=left>TJ</p>Wed, 09 Apr 2008 14:00:36 Z2008-04-09T14:00:36Zhttp://social.technet.microsoft.com/Forums/en-US/winserverhyperv/thread/4fe1fdba-5606-427e-8ad4-1041a87f5207#cb2329dd-86c6-4b2e-ae87-8ea1e2432fa9http://social.technet.microsoft.com/Forums/en-US/winserverhyperv/thread/4fe1fdba-5606-427e-8ad4-1041a87f5207#cb2329dd-86c6-4b2e-ae87-8ea1e2432fa9TJ Cornishhttp://social.technet.microsoft.com/Profile/en-US/?user=TJ%20CornishCan't create new VMs with MS Forefront Antivirus enabled<p align=left><font face=Arial size=2></font> </p>I tried the registry change and it did not solve my problem.  One note - I had to create the Parameters key - that wasn't there already.  Should it have been there?Wed, 09 Apr 2008 14:33:32 Z2008-04-09T14:33:32Zhttp://social.technet.microsoft.com/Forums/en-US/winserverhyperv/thread/4fe1fdba-5606-427e-8ad4-1041a87f5207#be058e95-d9d9-4166-954b-2ca115271364http://social.technet.microsoft.com/Forums/en-US/winserverhyperv/thread/4fe1fdba-5606-427e-8ad4-1041a87f5207#be058e95-d9d9-4166-954b-2ca115271364AlexiNostavichhttp://social.technet.microsoft.com/Profile/en-US/?user=AlexiNostavichCan't create new VMs with MS Forefront Antivirus enabled Craig Wiand, I tried your fix and it didn't seem to work.<br><br><a href="http://forums.technet.microsoft.com/en-US/winserverhyperv/thread/d872c7a9-8755-4919-ba60-4bd42ebe0cc8">http://forums.technet.microsoft.com/en-US/winserverhyperv/thread/d872c7a9-8755-4919-ba60-4bd42ebe0cc8</a><br><br>My problem was being caused because of the config file being saved to incorrectly.  When HyperV saved the file, it didn't clear it first, so after the config file shrunk it left garbage XML at the end.  It wouldn't parse right, and so HyperV crapped the bed.<hr size="1" align="left" width="25%">Alexi NostavichMon, 23 Jun 2008 08:30:28 Z2008-06-23T08:30:28Zhttp://social.technet.microsoft.com/Forums/en-US/winserverhyperv/thread/4fe1fdba-5606-427e-8ad4-1041a87f5207#5e505376-ecf4-45d5-814d-a3ab26ff9e2ehttp://social.technet.microsoft.com/Forums/en-US/winserverhyperv/thread/4fe1fdba-5606-427e-8ad4-1041a87f5207#5e505376-ecf4-45d5-814d-a3ab26ff9e2eCraig Wiand - MSFThttp://social.technet.microsoft.com/Profile/en-US/?user=Craig%20Wiand%20-%20MSFTCan't create new VMs with MS Forefront Antivirus enabled Just to close the loop on this.  A workaround is no longer necessary, the issue should be corrected by applying the update described at<br><a href="http://support.microsoft.com/kb/952265">http://support.microsoft.com/kb/952265</a>  or latest cumulative Forefront Client Security antimalware update.<br><br><br>Thanks,<br>Craig<br><hr size="1" align="left" width="25%">Forefront Client Security SupportThu, 28 Aug 2008 01:37:15 Z2008-08-28T01:37:15Z