<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Post-Sync scripts stopped working after upgrading to Horizon 7.12 in Horizon Desktops and Apps</title>
    <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Post-Sync-scripts-stopped-working-after-upgrading-to-Horizon-7/m-p/2289630#M87463</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK.&amp;nbsp; I'll answer my own question...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After working with VMware Support and the VMware Dev Team, they have concluded that the 7.11 &amp;amp; 7.12 agents do not like having the C:\windows\Temp\ folder purged/cleaned up prior to taking a snapshot.&amp;nbsp; More specifically, the &lt;STRONG&gt;c:\windows\temp\&lt;SPAN style="text-decoration: underline;"&gt;vmware&lt;/SPAN&gt;\&lt;/STRONG&gt; folder needs to be there, as the Agent will not recreate it if deleted.&amp;nbsp; This has been resolved in the Horizon 8 agent, when the VMware subfolder will be recreated if missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our issue was that we ran a few cleanup scripts as part of prepping a Master Image, prior to shutting it down and creating a snapshot. &lt;/P&gt;&lt;P&gt;Who would have known that we would break things by purging C:\windows\temp\ !!&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John in Tampa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Sep 2020 21:21:22 GMT</pubDate>
    <dc:creator>JohnTwilley</dc:creator>
    <dc:date>2020-09-03T21:21:22Z</dc:date>
    <item>
      <title>Post-Sync scripts stopped working after upgrading to Horizon 7.12</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Post-Sync-scripts-stopped-working-after-upgrading-to-Horizon-7/m-p/2289629#M87462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Post-Sync scripts stopped working after upgrading to Horizon 7.12&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After upgrading to Horizon 7.12, our Post-synchronization scripts stopped working, and pools would ERROR out when provisioning instant clones.&lt;/P&gt;&lt;P&gt;Turns out, its a bug in Horizon 7.12.&amp;nbsp; I saw a few of you with the same issue in the following thread, but I'm starting a new post for better visibility since it was off-topic.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Ref: &lt;A _jive_internal="true" href="https://communities.vmware.com/message/2980685#2980685"&gt;C:\Windows\Temp\vmware-viewcomposer-ga-new.log ... |VMware Communities&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The bug is that the Horizon agent copies the script to &lt;STRONG&gt;c:\windows\temp\vmware&lt;/STRONG&gt;\ folder...but fails to copy it successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class="lia-inline-image-display-wrapper" image-alt="Post-Sync.jpg"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/22623i2314EC423A7E7BF1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Post-Sync.jpg" alt="Post-Sync.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;----------------------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;The DEBUG log shows the &lt;SPAN style="color: #e23d39;"&gt;FAILED Creating Post-Customization, Hash File: 0x80070003&amp;nbsp; error&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Post-Sync-copy-error.jpg"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/22622iAB2EB6B979C4837A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Post-Sync-copy-error.jpg" alt="Post-Sync-copy-error.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If you manually pre-copy the actual script file into the &lt;STRONG&gt;c:\windows\temp\vmware&lt;/STRONG&gt;\ folder before creating your snapshot, it will work as intended.&lt;/P&gt;&lt;P&gt;I've opened a Support Case with VMware and will post the solution once I get it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2020 17:27:20 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Post-Sync-scripts-stopped-working-after-upgrading-to-Horizon-7/m-p/2289629#M87462</guid>
      <dc:creator>JohnTwilley</dc:creator>
      <dc:date>2020-08-28T17:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: Post-Sync scripts stopped working after upgrading to Horizon 7.12</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Post-Sync-scripts-stopped-working-after-upgrading-to-Horizon-7/m-p/2289630#M87463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK.&amp;nbsp; I'll answer my own question...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After working with VMware Support and the VMware Dev Team, they have concluded that the 7.11 &amp;amp; 7.12 agents do not like having the C:\windows\Temp\ folder purged/cleaned up prior to taking a snapshot.&amp;nbsp; More specifically, the &lt;STRONG&gt;c:\windows\temp\&lt;SPAN style="text-decoration: underline;"&gt;vmware&lt;/SPAN&gt;\&lt;/STRONG&gt; folder needs to be there, as the Agent will not recreate it if deleted.&amp;nbsp; This has been resolved in the Horizon 8 agent, when the VMware subfolder will be recreated if missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our issue was that we ran a few cleanup scripts as part of prepping a Master Image, prior to shutting it down and creating a snapshot. &lt;/P&gt;&lt;P&gt;Who would have known that we would break things by purging C:\windows\temp\ !!&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John in Tampa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2020 21:21:22 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Post-Sync-scripts-stopped-working-after-upgrading-to-Horizon-7/m-p/2289630#M87463</guid>
      <dc:creator>JohnTwilley</dc:creator>
      <dc:date>2020-09-03T21:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: Post-Sync scripts stopped working after upgrading to Horizon 7.12</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Post-Sync-scripts-stopped-working-after-upgrading-to-Horizon-7/m-p/2812305#M92331</link>
      <description>&lt;P&gt;Will also add in addition to creating the C:\Windows\Temp\VMware folder that we had to extend the timeout as well on 7.13 from the default 20 seconds. For some reason the new post sync process takes longer on 7.13 (might also apply to 7.11/7.12) with the exact same script.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.vmware.com/en/VMware-Horizon/2006/virtual-desktops/GUID-5EBD194C-EDC5-47F7-AD3C-D8A9559253A8.html" target="_blank" rel="noopener"&gt;Increase the Timeout Limit for ClonePrep Customization Scripts (vmware.com)&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 16:43:08 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Post-Sync-scripts-stopped-working-after-upgrading-to-Horizon-7/m-p/2812305#M92331</guid>
      <dc:creator>RyanChristopher</dc:creator>
      <dc:date>2020-11-24T16:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: Post-Sync scripts stopped working after upgrading to Horizon 7.12</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Post-Sync-scripts-stopped-working-after-upgrading-to-Horizon-7/m-p/2830237#M93158</link>
      <description>&lt;P&gt;I had this same issue after upgrading from 7.10 to 7.13, however the fix posted here didn't work for me. Putting the files in C:\Windows\Temp or C:\Windows\Temp\Vmware still failed when trying to publish the pool. Extending the clone-prep timeout value did not work either.&lt;/P&gt;&lt;P&gt;After engaging VMware support, it was discovered that placing the postsync files in a directory off of the root (for example C:\Scripts) fixed the issue for me.&lt;/P&gt;&lt;P&gt;Just an FYI for everyone.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2021 16:14:08 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Post-Sync-scripts-stopped-working-after-upgrading-to-Horizon-7/m-p/2830237#M93158</guid>
      <dc:creator>GTO455</dc:creator>
      <dc:date>2021-02-16T16:14:08Z</dc:date>
    </item>
  </channel>
</rss>

