Pour les professionnels de l’informatique > Forums - Accueil > Hyper-V > Can't create new VMs with MS Forefront Antivirus enabled
Poser une questionPoser une question
 

TraitéeCan't create new VMs with MS Forefront Antivirus enabled

  • mardi 8 avril 2008 19:02TJ Cornish Médailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     

     

    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:

     

    "The server encountered an error while configuring memory on test3.  Wizard failed in rolling back the created virtual machine. Please delete it manually afterwards.

     

    Failed to add device 'Microsoft Synthetic Ethernet Port'.

     

    'test3' failed to add device 'Microsoft Synthetic Ethernet Port'.

    <GUID removed>

     

    The Virtual Machines configuration <GUID removed> 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)

     

     

    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.

     

    Has anyone else had this issue?

Réponses

  • mardi 8 avril 2008 21:33Craig Wiand - MSFT Médailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     Traitée

    Hello TJ,

     

    Unfortunately, we have seen this issue before internally.  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.  The best way to correct the issue is actively being discussed between the Forefront, Windows, and Hyper-V teams.

     

    In the meantime, it will likely not correct the issue entirely, but you may get a measure of relief by doing the following:

     

    -        Create the following key “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MpFilter\Parameters”

    -        Add a DWORD value “ScanOnCleanup” and set it to 0

    -        Restart FCSAM service

     

     

    This registry key should also help the DFSR issue.  I will send you an email status update on that offline.  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.

     

     

    Brian – since the issue has its roots in Windows and not necessarily FCS, it is possible that Trend performing similar memory mapping behavior.  Do you have a pointer to this thread?

     

     

    PS.  Microsoft does indeed have a dogfood implementation of Forefront Client Security  J

     

    Best regards,

    Craig

     

     

     

  • lundi 23 juin 2008 08:30AlexiNostavich Médailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     Traitée
    Craig Wiand, I tried your fix and it didn't seem to work.

    http://forums.technet.microsoft.com/en-US/winserverhyperv/thread/d872c7a9-8755-4919-ba60-4bd42ebe0cc8

    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.
    Alexi Nostavich
  • jeudi 28 août 2008 01:37Craig Wiand - MSFT Médailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     Traitée
    Just to close the loop on this.  A workaround is no longer necessary, the issue should be corrected by applying the update described at
    http://support.microsoft.com/kb/952265  or latest cumulative Forefront Client Security antimalware update.


    Thanks,
    Craig

    Forefront Client Security Support

Toutes les réponses

  • mardi 8 avril 2008 20:34BrianEhMVP, ModérateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     

    Interestingly enough, there is another thread about a similar Trend Micro issue.

     

    Have you mentioned this behavior to the Forefront folks?

     

     

  • mardi 8 avril 2008 20:42TJ Cornish Médailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     

     

    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.

     

    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 "doogfood" Forefront.

  • mardi 8 avril 2008 21:33Craig Wiand - MSFT Médailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     Traitée

    Hello TJ,

     

    Unfortunately, we have seen this issue before internally.  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.  The best way to correct the issue is actively being discussed between the Forefront, Windows, and Hyper-V teams.

     

    In the meantime, it will likely not correct the issue entirely, but you may get a measure of relief by doing the following:

     

    -        Create the following key “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MpFilter\Parameters”

    -        Add a DWORD value “ScanOnCleanup” and set it to 0

    -        Restart FCSAM service

     

     

    This registry key should also help the DFSR issue.  I will send you an email status update on that offline.  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.

     

     

    Brian – since the issue has its roots in Windows and not necessarily FCS, it is possible that Trend performing similar memory mapping behavior.  Do you have a pointer to this thread?

     

     

    PS.  Microsoft does indeed have a dogfood implementation of Forefront Client Security  J

     

    Best regards,

    Craig

     

     

     

  • mardi 8 avril 2008 23:11BrianEhMVP, ModérateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     
  • mercredi 9 avril 2008 14:00TJ Cornish Médailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     

    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.

     

    TJ

  • mercredi 9 avril 2008 14:33TJ Cornish Médailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     

     

    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?
  • lundi 23 juin 2008 08:30AlexiNostavich Médailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     Traitée
    Craig Wiand, I tried your fix and it didn't seem to work.

    http://forums.technet.microsoft.com/en-US/winserverhyperv/thread/d872c7a9-8755-4919-ba60-4bd42ebe0cc8

    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.
    Alexi Nostavich
  • jeudi 28 août 2008 01:37Craig Wiand - MSFT Médailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     Traitée
    Just to close the loop on this.  A workaround is no longer necessary, the issue should be corrected by applying the update described at
    http://support.microsoft.com/kb/952265  or latest cumulative Forefront Client Security antimalware update.


    Thanks,
    Craig

    Forefront Client Security Support