{"id":6292,"date":"2022-11-04T10:01:41","date_gmt":"2022-11-04T10:01:41","guid":{"rendered":"https:\/\/pariswells.com\/blog\/?p=6292"},"modified":"2022-11-04T10:01:41","modified_gmt":"2022-11-04T10:01:41","slug":"os-provisioning-for-vm-vmname-did-not-finish-in-the-allotted-time-however-the-vm-guest-agent-was-detected-running-this-suggests-the-guest-os-has-not-been-properly-prepared-to-be-used-as-a-vm","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/research\/os-provisioning-for-vm-vmname-did-not-finish-in-the-allotted-time-however-the-vm-guest-agent-was-detected-running-this-suggests-the-guest-os-has-not-been-properly-prepared-to-be-used-as-a-vm","title":{"rendered":"&#8216;OS Provisioning for VM &#8216;vmName&#8217; did not finish in the allotted time. However, the VM guest agent was detected running. This suggests the guest OS has not been properly prepared to be used as a VM image"},"content":{"rendered":"<p>&#8216;OS Provisioning for VM &#8216;vmName&#8217; did not finish in the allotted time. However, the VM guest agent was detected running. This suggests the guest OS has not been properly prepared to be used as a VM image\u00a0<\/p><p>&nbsp;<\/p><p><strong>Solution<\/strong><\/p><p>You will need to Sysprep your image before capturing\u00a0<\/p><p><em>sysprep<\/em>.<em>exe<\/em>\u00a0\/<em>oobe<\/em>\u00a0\/<em>generalize<\/em>\u00a0\/mode:<em>vm<\/em>\u00a0\/<em>shutdown<\/em><\/p><p>&nbsp;<\/p><ul><li>Don&#8217;t capture a VM that already exists in your host pools. The image will conflict with the existing VM&#8217;s configuration, and the new VM won&#8217;t work.<\/li><li>Make sure to remove the VM from the domain before running sysprep.<\/li><li>Delete the base VM once you&#8217;ve captured the image from it.<\/li><li>After you&#8217;ve captured your image, don&#8217;t use the same VM you captured again. Instead, create a new base VM from the last snapshot you created. You&#8217;ll need to periodically update and patch this new VM on a regular basis.<\/li><li>Don&#8217;t create a new base VM from an existing custom image.<\/li><\/ul>","protected":false},"excerpt":{"rendered":"<p>&#8216;OS Provisioning for VM &#8216;vmName&#8217; did not finish in the allotted time. However, the VM guest agent was detected running. This suggests the guest OS has not [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-6292","post","type-post","status-publish","format-standard","hentry","category-research"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/6292","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/comments?post=6292"}],"version-history":[{"count":3,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/6292\/revisions"}],"predecessor-version":[{"id":6308,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/6292\/revisions\/6308"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=6292"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=6292"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=6292"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}