{"id":9134,"date":"2008-07-21T14:28:00","date_gmt":"1999-11-29T20:00:00","guid":{"rendered":"https:\/\/aidanfinn.com\/?p=9134"},"modified":"2008-07-21T14:28:00","modified_gmt":"1999-11-29T20:00:00","slug":"beware-anti-virus-and-hyper-v","status":"publish","type":"post","link":"https:\/\/aidanfinn.com\/?p=9134","title":{"rendered":"Beware Anti-Virus and Hyper-V"},"content":{"rendered":"<p>I released the July updates onto our network this past weekend.\u00a0 I&#8217;d also deployed our new AV the previous week.\u00a0 Let&#8217;s just say that AV mixed with Hyper-V and followed by a reboot made for a nice mess.<\/p>\n<p>I logged into the Hyper-V lab this morning to find half of my VM&#8217;s were missing.\u00a0 They&#8217;re sitting find (but idle) on the storage.\u00a0 It&#8217;s just Hyper-V has &quot;forgotten&quot; that they ever existed.<\/p>\n<p>I trawled through the Windows Event logs (Application and Service logs &#8211; Microsoft &#8211; Windows &#8211; Hyper-V-Config &#8211; Admin) and found a series of these:<\/p>\n<p><em>Source: Hyper-V-Config<\/em><\/p>\n<p><em>Event ID: 4096<\/em><\/p>\n<p><em>Level: Error<\/em><\/p>\n<p><em>The Virtual Machines configuration &lt;big long GUID&gt; at &lt;path to VM&gt; is no longer accessible: The requested operation cannot be performed on a file with a user-mapped section open. (0x800704C8)<\/em><\/p>\n<p>Ok.\u00a0 A bit of googling found an entry on the TechNet forums that says you need to disable scanning for the VHD&#8217;s and the XML files of your VM&#8217;s.\u00a0 Ouch!<\/p>\n<p>OK, so I did that and rebooted by lab server.\u00a0 Still no dice.\u00a0 Actually, Hyper-V doesn&#8217;t even bother attempting to load these VM&#8217;s now.\u00a0 OK, I&#8217;ll do what I would in any other virtualisation product; I&#8217;ll open them.\u00a0 Ick &#8230; no open command.\u00a0 Import?\u00a0 Nope; because MS in their wisdom (!) decided that the import\/export format should be different to that of a normal VM.\u00a0 <\/p>\n<p>So I&#8217;ve got a plethora of VM&#8217;s that are sitting on my disk in a saved state that I cannot load up.\u00a0 My only way forward is to re-add the virtual hard disks as new VM&#8217;s.\u00a0 This is a pain:<\/p>\n<ul>\n<li>I lose my saved states.<\/li>\n<li>I have to reconfigure every single VM that is missing.<\/li>\n<li>Each VM has to do the PNP dance with a &quot;new&quot; NIC and I have to reconfigure IPv4 addressing.<\/li>\n<li>It&#8217;s just lots of work I shouldn&#8217;t have to do.<\/li>\n<\/ul>\n<p>I&#8217;ve logged a bug report with MS.\u00a0 I&#8217;m open to any <em>constructive<\/em> suggestions.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I released the July updates onto our network this past weekend.\u00a0 I&#8217;d also deployed our new AV the previous week.\u00a0 Let&#8217;s just say that AV mixed with Hyper-V and followed by a reboot made for a nice mess. I logged into the Hyper-V lab this morning to find half of my VM&#8217;s were missing.\u00a0 They&#8217;re &hellip; <a href=\"https:\/\/aidanfinn.com\/?p=9134\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Beware Anti-Virus and Hyper-V&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[20],"tags":[],"class_list":["post-9134","post","type-post","status-publish","format-standard","hentry","category-hyper-v"],"aioseo_notices":[],"jetpack_featured_media_url":"","amp_enabled":true,"_links":{"self":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/9134","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9134"}],"version-history":[{"count":0,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/9134\/revisions"}],"wp:attachment":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9134"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9134"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9134"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}