{"id":377,"date":"2020-09-18T09:55:30","date_gmt":"2020-09-18T07:55:30","guid":{"rendered":"http:\/\/www.gerjon.com\/?p=377"},"modified":"2020-09-18T10:06:40","modified_gmt":"2020-09-18T08:06:40","slug":"vmware-enable-copy-paste-from-clipboard-inside-vm","status":"publish","type":"post","link":"https:\/\/www.gerjon.com\/?p=377","title":{"rendered":"VMware enable Copy\/Paste from clipboard inside VM"},"content":{"rendered":"\n<p><strong><span style=\"text-decoration: underline;\">Problem<\/span><\/strong><\/p>\n\n\n\n<p>I was at a customer recently where we needed to get a config file from inside a VMware Virtual Machine. The problem was that the VM was isolated in a way that we could not get to it via SMB or RDP. We did have acces to the vCenter console. <\/p>\n\n\n\n<p><strong><span style=\"text-decoration: underline;\">Solution<\/span><\/strong><\/p>\n\n\n\n<p>So after searching online I found that it is possible to activate the copy\/paste feature so you can use copy\/paste through the VMware Remote Console. (<a href=\"https:\/\/kb.vmware.com\/s\/article\/57122\">https:\/\/kb.vmware.com\/s\/<\/a><a href=\"https:\/\/kb.vmware.com\/s\/article\/57122\" target=\"_blank\" rel=\"noreferrer noopener\">article<\/a><a href=\"https:\/\/kb.vmware.com\/s\/article\/57122\">\/57122<\/a>)<\/p>\n\n\n\n<p>You can enable this setting in the advanced options on the VM. To do this you need to add 2 lines to the advanced options of the VM<\/p>\n\n\n\n<p>You can enable this on the host for all the VM&#8217;s or for a specific VM.<\/p>\n\n\n\n<p><strong>Per Virtual Machine:<\/strong><\/p>\n\n\n\n<p>Step one: you need to shutdown the VM or the settings won&#8217;t be saved<\/p>\n\n\n\n<p>Step two: Edit the VM via settings and go to VM Options<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.gerjon.com\/wp-content\/uploads\/2020\/09\/CP-VMRC-1.jpg?resize=580%2C375\" alt=\"\" class=\"wp-image-380\" width=\"580\" height=\"375\" srcset=\"https:\/\/i0.wp.com\/www.gerjon.com\/wp-content\/uploads\/2020\/09\/CP-VMRC-1.jpg?w=672&amp;ssl=1 672w, https:\/\/i0.wp.com\/www.gerjon.com\/wp-content\/uploads\/2020\/09\/CP-VMRC-1.jpg?resize=300%2C194&amp;ssl=1 300w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><\/figure>\n\n\n\n<p>Step three: Scroll down to configuration parameters and click edit configuration<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"932\" height=\"605\" src=\"https:\/\/i0.wp.com\/www.gerjon.com\/wp-content\/uploads\/2020\/09\/CP-VMRC-2.jpg?resize=932%2C605\" alt=\"\" class=\"wp-image-381\" srcset=\"https:\/\/i0.wp.com\/www.gerjon.com\/wp-content\/uploads\/2020\/09\/CP-VMRC-2.jpg?resize=1024%2C665&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.gerjon.com\/wp-content\/uploads\/2020\/09\/CP-VMRC-2.jpg?resize=300%2C195&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.gerjon.com\/wp-content\/uploads\/2020\/09\/CP-VMRC-2.jpg?resize=768%2C498&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.gerjon.com\/wp-content\/uploads\/2020\/09\/CP-VMRC-2.jpg?w=1165&amp;ssl=1 1165w\" sizes=\"auto, (max-width: 932px) 100vw, 932px\" \/><\/figure>\n\n\n\n<p>Step four: Select add parameters<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"932\" height=\"539\" src=\"https:\/\/i0.wp.com\/www.gerjon.com\/wp-content\/uploads\/2020\/09\/CP-VMRC-3.jpg?resize=932%2C539\" alt=\"\" class=\"wp-image-382\" srcset=\"https:\/\/i0.wp.com\/www.gerjon.com\/wp-content\/uploads\/2020\/09\/CP-VMRC-3.jpg?w=1017&amp;ssl=1 1017w, https:\/\/i0.wp.com\/www.gerjon.com\/wp-content\/uploads\/2020\/09\/CP-VMRC-3.jpg?resize=300%2C173&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.gerjon.com\/wp-content\/uploads\/2020\/09\/CP-VMRC-3.jpg?resize=768%2C444&amp;ssl=1 768w\" sizes=\"auto, (max-width: 932px) 100vw, 932px\" \/><\/figure>\n\n\n\n<p>Step five: add these two parameters<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>Name:<\/td><td>Value:<\/td><\/tr><tr><td>isolation.tools.copy.disable&nbsp;<\/td><td>False<\/td><\/tr><tr><td>isolation.tools.paste.disable<\/td><td>False<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"932\" height=\"531\" src=\"https:\/\/i0.wp.com\/www.gerjon.com\/wp-content\/uploads\/2020\/09\/CP-VMRC-4.jpg?resize=932%2C531\" alt=\"\" class=\"wp-image-383\" srcset=\"https:\/\/i0.wp.com\/www.gerjon.com\/wp-content\/uploads\/2020\/09\/CP-VMRC-4.jpg?resize=1024%2C583&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.gerjon.com\/wp-content\/uploads\/2020\/09\/CP-VMRC-4.jpg?resize=300%2C171&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.gerjon.com\/wp-content\/uploads\/2020\/09\/CP-VMRC-4.jpg?resize=768%2C437&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.gerjon.com\/wp-content\/uploads\/2020\/09\/CP-VMRC-4.jpg?w=1027&amp;ssl=1 1027w\" sizes=\"auto, (max-width: 932px) 100vw, 932px\" \/><\/figure>\n\n\n\n<p>If you are running ESX 6.7 or higher you need to add this line:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>Name:<\/td><td>Value:<\/td><\/tr><tr><td>isolation.tools.SetGUIOptions.enable<\/td><td>True<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Per VMware host<\/strong><\/p>\n\n\n\n<p>It is also possible to change this setting for the host so it works for all machines on that host (even if you migrate the VM to that host).<\/p>\n\n\n\n<p>Connect to your ESX host via console or ssh and imput this command on the command line:<\/p>\n\n\n\n<p>vi \/etc\/vmware\/config<br><br>Press i to insert text and paste the following commands to the bottom of the document<\/p>\n\n\n\n<p>isolation.tools.copy.disable=&#8221;FALSE&#8221;<br>isolation.tools.paste.disable=&#8221;FALSE&#8221;<br>isolation.tools.SetGUIOptions.enable=&#8221;TRUE&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"663\" height=\"387\" src=\"https:\/\/i0.wp.com\/www.gerjon.com\/wp-content\/uploads\/2020\/09\/CP-5.jpg?resize=663%2C387&#038;ssl=1\" alt=\"\" class=\"wp-image-390\" srcset=\"https:\/\/i0.wp.com\/www.gerjon.com\/wp-content\/uploads\/2020\/09\/CP-5.jpg?w=663&amp;ssl=1 663w, https:\/\/i0.wp.com\/www.gerjon.com\/wp-content\/uploads\/2020\/09\/CP-5.jpg?resize=300%2C175&amp;ssl=1 300w\" sizes=\"auto, (max-width: 663px) 100vw, 663px\" \/><\/figure>\n\n\n\n<p>press esc then : w  and q to exit the VI editor.<\/p>\n\n\n\n<p><strong><span style=\"text-decoration: underline;\">Tips:<\/span><\/strong><\/p>\n\n\n\n<p>VMware disabled this function somewhere around the release of ESX 4.1 because of security issues so Beware this setting might have security implications in your environment! Please use with caution!!<\/p>\n\n\n\n<p>This solution is only for copy and pasting text not for files and\/or folders!<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Problem I was at a customer recently where we needed to get a config file from inside a VMware Virtual Machine. The problem was that the VM was isolated in a way that we could &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[14],"tags":[26],"class_list":["post-377","post","type-post","status-publish","format-standard","hentry","category-vmware","tag-vmware"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p59CpB-65","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.gerjon.com\/index.php?rest_route=\/wp\/v2\/posts\/377","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.gerjon.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gerjon.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gerjon.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gerjon.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=377"}],"version-history":[{"count":0,"href":"https:\/\/www.gerjon.com\/index.php?rest_route=\/wp\/v2\/posts\/377\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.gerjon.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=377"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gerjon.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=377"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gerjon.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=377"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}