{"id":285,"date":"2020-12-27T13:29:40","date_gmt":"2020-12-27T11:29:40","guid":{"rendered":"https:\/\/vmoller.dk\/?p=285"},"modified":"2020-12-27T13:29:42","modified_gmt":"2020-12-27T11:29:42","slug":"unable-to-update-vmware-tools-on-esxi-7-0","status":"publish","type":"post","link":"https:\/\/vmoller.dk\/index.php\/2020\/12\/27\/unable-to-update-vmware-tools-on-esxi-7-0\/","title":{"rendered":"Unable to update VMware Tools on ESXi 7.0 U1 (17325551)"},"content":{"rendered":"\n<p>After I have upgraded my home lab from ESXi 7.0 to 7.0 update 1c (17325551) I ran into an issue updating VMware Tools on my VMs.<\/p>\n\n\n\n<p>I tried both update options (&#8220;automatically&#8221; and &#8220;manually&#8221;), but both failed with a VIX error.<\/p>\n\n\n\n<p>Automatilly update output = &#8220;vix error code = 21004&#8221;<br>Manually update = &#8220;vix error code = 21009&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/vmoller.dk\/wp-content\/uploads\/2020\/12\/VMtools-error-1024x98.jpg\" alt=\"\" class=\"wp-image-287\" width=\"785\" height=\"74\" srcset=\"https:\/\/vmoller.dk\/wp-content\/uploads\/2020\/12\/VMtools-error-1024x98.jpg 1024w, https:\/\/vmoller.dk\/wp-content\/uploads\/2020\/12\/VMtools-error-300x29.jpg 300w, https:\/\/vmoller.dk\/wp-content\/uploads\/2020\/12\/VMtools-error.jpg 1581w\" sizes=\"auto, (max-width: 785px) 100vw, 785px\" \/><\/figure>\n\n\n\n<!--more-->\n\n\n\n<p>Looking into to vmware.log file I saw this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>FILE:open error on \/vmfs\/volumes\/5e941b5a-350761ee-750d-408d5caa1950\/packages\/vmtoolsRepo\/vmtools\/windows.iso: Operation not permitted\n\nToolsISO: Failed to open Tools ISO \/vmfs\/volumes\/5e941b5a-350761ee-750d-408d5caa1950\/packages\/vmtoolsRepo\/vmtools\/windows.iso (FileIOResult=2).\n\nCannot open ISO image with upgrader binaries.<\/code><\/pre>\n\n\n\n<p>I tried to SSH into my ESXi host to check if the path to the windows.iso file was valid &#8211; it was! I even tried to copy to file to make sure it was readable. It was!<\/p>\n\n\n\n<p>Then I decided to try to mount the windows.iso file manually (from the &#8220;edit settings&#8221; dialog on the VM)<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"328\" src=\"https:\/\/vmoller.dk\/wp-content\/uploads\/2020\/12\/manuallymount-1024x328.jpg\" alt=\"\" class=\"wp-image-289\" srcset=\"https:\/\/vmoller.dk\/wp-content\/uploads\/2020\/12\/manuallymount-1024x328.jpg 1024w, https:\/\/vmoller.dk\/wp-content\/uploads\/2020\/12\/manuallymount-300x96.jpg 300w, https:\/\/vmoller.dk\/wp-content\/uploads\/2020\/12\/manuallymount-768x246.jpg 768w, https:\/\/vmoller.dk\/wp-content\/uploads\/2020\/12\/manuallymount.jpg 1485w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>This works! you can now update VMware Tools from inside the Windows guest OS.<\/p>\n\n\n\n<p>Actually, if you mount the ISO manually on the VM you can also upgrade the Tools packages from VMware interface.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"48\" src=\"https:\/\/vmoller.dk\/wp-content\/uploads\/2020\/12\/updateTools-1024x48.jpg\" alt=\"\" class=\"wp-image-290\" srcset=\"https:\/\/vmoller.dk\/wp-content\/uploads\/2020\/12\/updateTools-1024x48.jpg 1024w, https:\/\/vmoller.dk\/wp-content\/uploads\/2020\/12\/updateTools-300x14.jpg 300w, https:\/\/vmoller.dk\/wp-content\/uploads\/2020\/12\/updateTools-768x36.jpg 768w, https:\/\/vmoller.dk\/wp-content\/uploads\/2020\/12\/updateTools.jpg 1132w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>I have not been able to find the root cause for this issue, so just consider this as a workaround &#8211; feel free to comment below \ud83d\ude42 <\/p>\n","protected":false},"excerpt":{"rendered":"<p>After I have upgraded my home lab from ESXi 7.0 to 7.0 update 1c (17325551) I ran into an issue updating VMware Tools on my VMs. I tried both update options (&#8220;automatically&#8221; and &#8220;manually&#8221;), but both failed with a VIX error. Automatilly update output = &#8220;vix error code = 21004&#8221;Manually update = &#8220;vix error code [&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,"footnotes":""},"categories":[20,6,7],"tags":[23,16,34,4],"class_list":["post-285","post","type-post","status-publish","format-standard","hentry","category-esxi","category-vmware","category-vsphere","tag-esxi","tag-updating","tag-vmtools","tag-vsphere"],"_links":{"self":[{"href":"https:\/\/vmoller.dk\/index.php\/wp-json\/wp\/v2\/posts\/285","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vmoller.dk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vmoller.dk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vmoller.dk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vmoller.dk\/index.php\/wp-json\/wp\/v2\/comments?post=285"}],"version-history":[{"count":6,"href":"https:\/\/vmoller.dk\/index.php\/wp-json\/wp\/v2\/posts\/285\/revisions"}],"predecessor-version":[{"id":294,"href":"https:\/\/vmoller.dk\/index.php\/wp-json\/wp\/v2\/posts\/285\/revisions\/294"}],"wp:attachment":[{"href":"https:\/\/vmoller.dk\/index.php\/wp-json\/wp\/v2\/media?parent=285"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vmoller.dk\/index.php\/wp-json\/wp\/v2\/categories?post=285"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vmoller.dk\/index.php\/wp-json\/wp\/v2\/tags?post=285"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}