{"id":6202,"date":"2016-09-05T12:50:47","date_gmt":"2016-09-05T04:50:47","guid":{"rendered":"http:\/\/rmohan.com\/?p=6202"},"modified":"2016-09-05T12:50:47","modified_gmt":"2016-09-05T04:50:47","slug":"use-local-resources-on-hyper-v-virtual-machine-with-vmconnect","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=6202","title":{"rendered":"Use local resources on Hyper-V virtual machine with VMConnect"},"content":{"rendered":"<p>&nbsp;<\/p>\n<div id=\"page\">\n<div id=\"body\">\n<div id=\"threeColumns\">\n<div class=\"main\">\n<div id=\"oaContent\" class=\"row\">\n<div id=\"api-doc-contents\">\n<p>When you use Virtual Machine Connection (VMConnect), generation 2 virtual machines that run a Windows operating system can access a computer&#8217;s local resources, like a removable USB flash drive. To make this happen, turn on enhanced session mode on the Hyper-V host, use VMConnect to connect to the virtual machine, and before you connect, choose the local resource that you want to use. When you turn on enhanced session mode, you can also resize the VMConnect window.<\/p>\n<p>Enhanced session mode isn&#8217;t available for generation 1 virtual machines or for virtual machines that run non-Windows operating systems. For virtual machines that run Ubuntu, see<\/p>\n<h2 id=\"a-namebkmkoveraturn-on-enhanced-session-mode-on-hyper-v-host\"><a name=\"BKMK_OVER\"><\/a>Turn on enhanced session mode on Hyper-V host<\/h2>\n<p>If your Hyper-V host runs Windows 10, Windows 8, or Windows 8.1, you might not have to go through the following steps to turn on enhanced session mode. It&#8217;s turn on by default. But if your host runs Windows Server 2016, Windows Server 2012, or Windows Server 2012 R2, you must turn on enhanced session mode to use it. It is turned off by default for those operating systems.<\/p>\n<p>To turn on enhanced session mode,<\/p>\n<ol>\n<li>Connect to the computer that hosts the virtual machine.<\/li>\n<li>In Hyper-V Manager, select the host&#8217;s computer name<\/li>\n<\/ol>\n<p><a href=\"http:\/\/rmohan.com\/wp-content\/uploads\/2016\/09\/hyperv-actionshypervsettings.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6203\" src=\"http:\/\/rmohan.com\/wp-content\/uploads\/2016\/09\/hyperv-actionshypervsettings.png\" alt=\"hyperv-actionshypervsettings\" width=\"230\" height=\"145\" srcset=\"https:\/\/mohan.sg\/wp-content\/uploads\/2016\/09\/hyperv-actionshypervsettings.png 230w, https:\/\/mohan.sg\/wp-content\/uploads\/2016\/09\/hyperv-actionshypervsettings-150x95.png 150w\" sizes=\"(max-width: 230px) 100vw, 230px\" \/><\/a>3. Select <strong>Hyper-V settings<\/strong>.<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/rmohan.com\/wp-content\/uploads\/2016\/09\/hyper-v-hypervmanager-hostnameselected.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6204\" src=\"http:\/\/rmohan.com\/wp-content\/uploads\/2016\/09\/hyper-v-hypervmanager-hostnameselected.png\" alt=\"hyper-v-hypervmanager-hostnameselected\" width=\"204\" height=\"128\" srcset=\"https:\/\/mohan.sg\/wp-content\/uploads\/2016\/09\/hyper-v-hypervmanager-hostnameselected.png 204w, https:\/\/mohan.sg\/wp-content\/uploads\/2016\/09\/hyper-v-hypervmanager-hostnameselected-150x94.png 150w\" sizes=\"(max-width: 204px) 100vw, 204px\" \/><\/a><\/p>\n<p>Under <strong>Server<\/strong>, select <strong>Enhanced session mode policy<\/strong><\/p>\n<div id=\"page\">\n<div id=\"body\">\n<div id=\"threeColumns\">\n<div class=\"main\">\n<div id=\"oaContent\" class=\"row\">\n<div id=\"api-doc-contents\">\n<ol>\n<li><a href=\"http:\/\/rmohan.com\/wp-content\/uploads\/2016\/09\/hyper-v-settings-serverenhancedsessionmodepolicy.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6206\" src=\"http:\/\/rmohan.com\/wp-content\/uploads\/2016\/09\/hyper-v-settings-serverenhancedsessionmodepolicy.png\" alt=\"hyper-v-settings-serverenhancedsessionmodepolicy\" width=\"497\" height=\"310\" srcset=\"https:\/\/mohan.sg\/wp-content\/uploads\/2016\/09\/hyper-v-settings-serverenhancedsessionmodepolicy.png 497w, https:\/\/mohan.sg\/wp-content\/uploads\/2016\/09\/hyper-v-settings-serverenhancedsessionmodepolicy-300x187.png 300w, https:\/\/mohan.sg\/wp-content\/uploads\/2016\/09\/hyper-v-settings-serverenhancedsessionmodepolicy-150x94.png 150w, https:\/\/mohan.sg\/wp-content\/uploads\/2016\/09\/hyper-v-settings-serverenhancedsessionmodepolicy-400x249.png 400w\" sizes=\"(max-width: 497px) 100vw, 497px\" \/><\/a><\/li>\n<li><a href=\"http:\/\/rmohan.com\/wp-content\/uploads\/2016\/09\/hyper-v-settings-enhancedsessionmodepolicycheckbox.png\">Select the Allow enhanced session mode check box<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6205\" src=\"http:\/\/rmohan.com\/wp-content\/uploads\/2016\/09\/hyper-v-settings-enhancedsessionmodepolicycheckbox.png\" alt=\"hyper-v-settings-enhancedsessionmodepolicycheckbox\" width=\"442\" height=\"225\" srcset=\"https:\/\/mohan.sg\/wp-content\/uploads\/2016\/09\/hyper-v-settings-enhancedsessionmodepolicycheckbox.png 442w, https:\/\/mohan.sg\/wp-content\/uploads\/2016\/09\/hyper-v-settings-enhancedsessionmodepolicycheckbox-300x153.png 300w, https:\/\/mohan.sg\/wp-content\/uploads\/2016\/09\/hyper-v-settings-enhancedsessionmodepolicycheckbox-150x76.png 150w, https:\/\/mohan.sg\/wp-content\/uploads\/2016\/09\/hyper-v-settings-enhancedsessionmodepolicycheckbox-400x204.png 400w\" sizes=\"(max-width: 442px) 100vw, 442px\" \/><\/a><\/li>\n<li>Under User, select Enhanced session mode.<\/li>\n<li>&nbsp;<\/li>\n<\/ol>\n<p>Select the Allow enhanced session mode check box.<\/p>\n<p>8.Click Ok.<\/p>\n<p>Choose the local resource that you want to use<\/p>\n<p>You can choose a local resource like a printer, the clipboard or a local drive that&#8217;s on the computer that you&#8217;re using to connect to the VM.<\/p>\n<p>To select a local resource like a drive,<\/p>\n<p>1.Open VMConnect.<\/p>\n<p>2.Select the virtual machine that you want to connect to.<\/p>\n<p>3.Click Show options.<\/p>\n<ol>\n<li><a href=\"http:\/\/rmohan.com\/wp-content\/uploads\/2016\/09\/hyperv-vmconnect-displayconfig.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6208\" src=\"http:\/\/rmohan.com\/wp-content\/uploads\/2016\/09\/hyperv-vmconnect-displayconfig.png\" alt=\"hyperv-vmconnect-displayconfig\" width=\"419\" height=\"229\" srcset=\"https:\/\/mohan.sg\/wp-content\/uploads\/2016\/09\/hyperv-vmconnect-displayconfig.png 419w, https:\/\/mohan.sg\/wp-content\/uploads\/2016\/09\/hyperv-vmconnect-displayconfig-300x164.png 300w, https:\/\/mohan.sg\/wp-content\/uploads\/2016\/09\/hyperv-vmconnect-displayconfig-150x82.png 150w, https:\/\/mohan.sg\/wp-content\/uploads\/2016\/09\/hyperv-vmconnect-displayconfig-400x219.png 400w\" sizes=\"(max-width: 419px) 100vw, 419px\" \/><\/a> <a href=\"http:\/\/rmohan.com\/wp-content\/uploads\/2016\/09\/hyperv-vmconnect-displayconfig-localresources.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6209\" src=\"http:\/\/rmohan.com\/wp-content\/uploads\/2016\/09\/hyperv-vmconnect-displayconfig-localresources.png\" alt=\"hyperv-vmconnect-displayconfig-localresources\" width=\"417\" height=\"326\" srcset=\"https:\/\/mohan.sg\/wp-content\/uploads\/2016\/09\/hyperv-vmconnect-displayconfig-localresources.png 417w, https:\/\/mohan.sg\/wp-content\/uploads\/2016\/09\/hyperv-vmconnect-displayconfig-localresources-300x235.png 300w, https:\/\/mohan.sg\/wp-content\/uploads\/2016\/09\/hyperv-vmconnect-displayconfig-localresources-150x117.png 150w, https:\/\/mohan.sg\/wp-content\/uploads\/2016\/09\/hyperv-vmconnect-displayconfig-localresources-400x313.png 400w\" sizes=\"(max-width: 417px) 100vw, 417px\" \/><\/a> <a href=\"http:\/\/rmohan.com\/wp-content\/uploads\/2016\/09\/hyperv-vmconnect-savesettings.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6210\" src=\"http:\/\/rmohan.com\/wp-content\/uploads\/2016\/09\/hyperv-vmconnect-savesettings.png\" alt=\"hyperv-vmconnect-savesettings\" width=\"418\" height=\"326\" srcset=\"https:\/\/mohan.sg\/wp-content\/uploads\/2016\/09\/hyperv-vmconnect-savesettings.png 418w, https:\/\/mohan.sg\/wp-content\/uploads\/2016\/09\/hyperv-vmconnect-savesettings-300x234.png 300w, https:\/\/mohan.sg\/wp-content\/uploads\/2016\/09\/hyperv-vmconnect-savesettings-150x117.png 150w, https:\/\/mohan.sg\/wp-content\/uploads\/2016\/09\/hyperv-vmconnect-savesettings-400x312.png 400w\" sizes=\"(max-width: 418px) 100vw, 418px\" \/><\/a> <a href=\"http:\/\/rmohan.com\/wp-content\/uploads\/2016\/09\/hyperv-vmconnect-settings-localresourcesdrives.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6211\" src=\"http:\/\/rmohan.com\/wp-content\/uploads\/2016\/09\/hyperv-vmconnect-settings-localresourcesdrives.png\" alt=\"hyperv-vmconnect-settings-localresourcesdrives\" width=\"417\" height=\"316\" srcset=\"https:\/\/mohan.sg\/wp-content\/uploads\/2016\/09\/hyperv-vmconnect-settings-localresourcesdrives.png 417w, https:\/\/mohan.sg\/wp-content\/uploads\/2016\/09\/hyperv-vmconnect-settings-localresourcesdrives-300x227.png 300w, https:\/\/mohan.sg\/wp-content\/uploads\/2016\/09\/hyperv-vmconnect-settings-localresourcesdrives-150x114.png 150w, https:\/\/mohan.sg\/wp-content\/uploads\/2016\/09\/hyperv-vmconnect-settings-localresourcesdrives-400x303.png 400w\" sizes=\"(max-width: 417px) 100vw, 417px\" \/><\/a><\/li>\n<\/ol>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp;<\/p>\n<p>When you use Virtual Machine Connection (VMConnect), generation 2 virtual machines that run a Windows operating system can access a computer&#8217;s local resources, like a removable USB flash drive. To make this happen, turn on enhanced session mode on the Hyper-V host, use VMConnect to connect to the virtual machine, and before you connect, [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[48],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/6202"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6202"}],"version-history":[{"count":1,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/6202\/revisions"}],"predecessor-version":[{"id":6212,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/6202\/revisions\/6212"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6202"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6202"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6202"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}