{"id":5754,"date":"2013-11-05T14:54:09","date_gmt":"2013-11-05T13:54:09","guid":{"rendered":"https:\/\/ingmarverheij.com\/?p=5754"},"modified":"2014-04-15T14:49:51","modified_gmt":"2014-04-15T12:49:51","slug":"citrix-import-netscaler-10-1-build-120-13-on-hyper-v-server-2012r2-8-1","status":"publish","type":"post","link":"https:\/\/ingmarverheij.com\/en\/citrix-import-netscaler-10-1-build-120-13-on-hyper-v-server-2012r2-8-1\/","title":{"rendered":"Citrix: Import NetScaler (10.1 Build 120.13) on Hyper-V Server 2012R2 \/ 8.1"},"content":{"rendered":"<p><a href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2013\/11\/Hyper-V-did-not-find-virtual-machines-to-import-from-location.png\"><img loading=\"lazy\" decoding=\"async\" style=\"margin: 0px 0px 0px 5px; border: 0px currentColor; padding-top: 0px; padding-right: 0px; padding-left: 0px; float: right; display: inline; background-image: none;\" title=\"Hyper-V did not find virtual machines to import from location\" alt=\"Hyper-V did not find virtual machines to import from location\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2013\/11\/Hyper-V-did-not-find-virtual-machines-to-import-from-location_thumb.png\" width=\"154\" height=\"79\" align=\"right\" border=\"0\" \/><\/a>I tried importing a <a href=\"https:\/\/www.citrix.com\/downloads\/netscaler-adc\/virtual-appliances\/netscaler-vpx-release-101.html\" target=\"_blank\">Citrix NetScaler Virtual Appliance<\/a> on a Windows 8.1 machine and received the error \u201c<em>Hyper-V did not find virtual machines to import from location<\/em>\u201d. Importing the same appliance on Windows Server 2012 did work.<\/p>\n<p>The cause of this error is that the virtual machine is exported from a Windows Server <strong>2008R2 <\/strong>server (running Hyper-V 2) and Microsoft deprecated the <strong>WMI root\\virtualization namespace v1<\/strong> in Windows Server 2012 (Hyper-V 3) and <strong>removed<\/strong> it Windows Server 2012 <strong>R2 <\/strong>(see <a href=\"https:\/\/technet.microsoft.com\/en-us\/library\/dn303411.aspx\" target=\"_blank\">TechNet<\/a>).\u00a0 There\u2019s <strong>no<\/strong> support for the old WMI format.<\/p>\n<p><!--more--><\/p>\n<h1>Background<\/h1>\n<p>When a virtual machine is exported using Hyper-V 2008 R2 three folders are created:<\/p>\n<ul>\n<li>Snapshots<\/li>\n<li>Virtual Hard Disks<\/li>\n<li>Virtual Machines<\/li>\n<\/ul>\n<p><a href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2013\/11\/SJCDHYPERV01rootvirtualizationMsvm_ResourceAllocationSettingData.png\"><img loading=\"lazy\" decoding=\"async\" style=\"margin: 0px 0px 0px 5px; border: 0px currentColor; padding-top: 0px; padding-right: 0px; padding-left: 0px; float: right; display: inline; background-image: none;\" title=\"SJCDHYPERV01rootvirtualizationMsvm_ResourceAllocationSettingData\" alt=\"SJCDHYPERV01rootvirtualizationMsvm_ResourceAllocationSettingData\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2013\/11\/SJCDHYPERV01rootvirtualizationMsvm_ResourceAllocationSettingData_thumb.png\" width=\"154\" height=\"85\" align=\"right\" border=\"0\" \/><\/a>In the Virtual Machines folder a file with the name <strong>{GUID].exp<\/strong> exists that contains the specification of the virtual machine, including all hardware devices. The hardware is addressed using WMI using the deprecated WMI format (<strong>root\\virtualization<\/strong>).<\/p>\n<p>Starting Windows Server 2012 (Hyper-V 3) the configuration is not stored in a .exp file but in a .xml file, specifying the hardware using the WMI format <strong>root\\virtualization\\v2<\/strong>.\u00a0 For more details see <a href=\"https:\/\/blogs.technet.com\/b\/rmilne\/archive\/2013\/10\/22\/windows-hyper-v-2012-amp-8-1-hyper-v-did-not-find-virtual-machine-to-import.aspx\" target=\"_blank\">Microsoft TechNet<\/a>.<\/p>\n<p>&nbsp;<\/p>\n<h1>Workaround<\/h1>\n<p>The workaround that\u2019s available is to import the <a href=\"https:\/\/www.citrix.com\/downloads\/netscaler-adc\/virtual-appliances\/netscaler-vpx-release-101.html\" target=\"_blank\">Citrix NetScaler Virtual Appliance<\/a> in a Windows Server 2012 Hyper-V (<strong>no R2<\/strong>) machine and export it using the new WMI format (<strong>root\\virtualization\\v2<\/strong>),. This of course requires you to have a Hyper-V 2012 machine available. In case you don\u2019t have it available, I provided the XM, you can find it at the bottom of this article.<\/p>\n<h3>\u00a0<\/h3>\n<h4>\u00a0<\/h4>\n<h4>Option 1) Import and export<\/h4>\n<p><strong>Import <\/strong><\/p>\n<ul>\n<li>Open Hyper-V Manager<\/li>\n<li>Click on <strong>Import Virtual Machine<\/strong><\/li>\n<li>Specify the location of the (extracted) <a href=\"https:\/\/www.citrix.com\/downloads\/netscaler-adc\/virtual-appliances\/netscaler-vpx-release-101.html\" target=\"_blank\">Citrix NetScaler Virtual Appliance<\/a><\/li>\n<li>Select the virtual machine to import<\/li>\n<li>Choose the import type: <strong>Copy the virtual machine (create a new unique ID)<\/strong><\/li>\n<li>Choose the destination and storage folders<\/li>\n<\/ul>\n<p><strong><a href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2013\/11\/Import-1.png\"><img loading=\"lazy\" decoding=\"async\" style=\"border: 0px currentColor; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;\" title=\"Import 1\" alt=\"Import 1\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2013\/11\/Import-1_thumb.png\" width=\"154\" height=\"117\" border=\"0\" \/><\/a><a href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2013\/11\/Import-2.png\"><img loading=\"lazy\" decoding=\"async\" style=\"border: 0px currentColor; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;\" title=\"Import 2\" alt=\"Import 2\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2013\/11\/Import-2_thumb.png\" width=\"154\" height=\"117\" border=\"0\" \/><\/a><a href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2013\/11\/Import-3.png\"><img loading=\"lazy\" decoding=\"async\" style=\"border: 0px currentColor; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;\" title=\"Import 3\" alt=\"Import 3\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2013\/11\/Import-3_thumb.png\" width=\"154\" height=\"117\" border=\"0\" \/><\/a><a href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2013\/11\/Import-4.png\"><img loading=\"lazy\" decoding=\"async\" style=\"border: 0px currentColor; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;\" title=\"Import 4\" alt=\"Import 4\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2013\/11\/Import-4_thumb.png\" width=\"154\" height=\"117\" border=\"0\" \/><\/a><a href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2013\/11\/Import-5.png\"><img loading=\"lazy\" decoding=\"async\" style=\"border: 0px currentColor; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;\" title=\"Import 5\" alt=\"Import 5\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2013\/11\/Import-5_thumb.png\" width=\"154\" height=\"117\" border=\"0\" \/><\/a><a href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2013\/11\/Import-6.png\"><img loading=\"lazy\" decoding=\"async\" style=\"border: 0px currentColor; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;\" title=\"Import 6\" alt=\"Import 6\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2013\/11\/Import-6_thumb.png\" width=\"154\" height=\"117\" border=\"0\" \/><\/a><a href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2013\/11\/Import-7.png\"><img loading=\"lazy\" decoding=\"async\" style=\"border: 0px currentColor; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;\" title=\"Import 7\" alt=\"Import 7\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2013\/11\/Import-7_thumb.png\" width=\"154\" height=\"117\" border=\"0\" \/><\/a><a href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2013\/11\/Import-8.png\"><img loading=\"lazy\" decoding=\"async\" style=\"border: 0px currentColor; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;\" title=\"Import 8\" alt=\"Import 8\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2013\/11\/Import-8_thumb.png\" width=\"154\" height=\"117\" border=\"0\" \/><\/a><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Export<\/strong><\/p>\n<ul>\n<li>In Hyper-V Manager select the imported virtual appliance<\/li>\n<li>Click <strong>Export<\/strong><\/li>\n<li>Specify the export location<\/li>\n<\/ul>\n<p><a href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2013\/11\/Export.png\"><img loading=\"lazy\" decoding=\"async\" style=\"border: 0px currentColor; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;\" title=\"Export\" alt=\"Export\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2013\/11\/Export_thumb.png\" width=\"154\" height=\"54\" border=\"0\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>You can now import the exported virtual machine in <strong>Windows Server 2012 R2 <\/strong>(or Windows 8.1)<\/p>\n<p>&nbsp;<\/p>\n<h4>Option 2) Use my XML file<\/h4>\n<ul>\n<li>Extract the <a href=\"https:\/\/www.citrix.com\/downloads\/netscaler-adc\/virtual-appliances\/netscaler-vpx-release-101.html\" target=\"_blank\">Citrix NetScaler Virtual Appliance<\/a><\/li>\n<li>Remove the existing .exp file<\/li>\n<li>Place the <strong>55A0A2A9-2571-4F7F-88B3-763E3BC0169E.XML <\/strong>file (for link see below) in the <strong>Virtual Machines <\/strong>folder<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2013\/11\/Virtual-Machines.png\"><img loading=\"lazy\" decoding=\"async\" style=\"border: 0px currentColor; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;\" title=\"Virtual Machines\" alt=\"Virtual Machines\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2013\/11\/Virtual-Machines_thumb.png\" width=\"154\" height=\"92\" border=\"0\" \/><\/a><\/p>\n<p>You can now import the exported virtual machine in <strong>Windows Server 2012 R2 <\/strong>(or Windows 8.1)<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h1 id=\"download\">Download<\/h1>\n<p>You can use the virtual machine configuration file here: <a  data-e-disable-page-transition=\"true\" class=\"download-link\" title=\"Version 1.0\" href=\"https:\/\/ingmarverheij.com\/en\/download\/5853\/?tmstv=1775799767\" rel=\"nofollow\" id=\"download-link-5853\" data-redirect=\"false\" >\n\t55A0A2A9-2571-4F7F-88B3-763E3BC0169E.zip<\/a>\n<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h1 id=\"download\">Support<\/h1>\n<p>At the moment of writing Citrix NetScaler (10.1) does not support Windows Server 2012 (R2), hence why the import doesn&#8217;t work. The solution provided is only for testing purposes.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>.<\/p>","protected":false},"excerpt":{"rendered":"<p>I tried importing a Citrix NetScaler Virtual Appliance on a Windows 8.1 machine and received the error \u201cHyper-V did not find virtual machines to import from location\u201d. Importing the same appliance on Windows Server 2012 did work. The cause of this error is that the virtual machine is exported from a Windows Server 2008R2 server [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-container-style":"default","site-container-layout":"default","site-sidebar-layout":"default","disable-article-header":"default","disable-site-header":"default","disable-site-footer":"default","disable-content-area-spacing":"default","footnotes":""},"categories":[502],"tags":[608,609,667,607,503],"class_list":["post-5754","post","type-post","status-publish","format-standard","hentry","category-netscaler","tag-2012r2","tag-8-1","tag-citrix","tag-hyper-v","tag-netscaler-2"],"_links":{"self":[{"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/posts\/5754","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/comments?post=5754"}],"version-history":[{"count":7,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/posts\/5754\/revisions"}],"predecessor-version":[{"id":5863,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/posts\/5754\/revisions\/5863"}],"wp:attachment":[{"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/media?parent=5754"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/categories?post=5754"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/tags?post=5754"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}