<?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: Horizon 7.8 - Post-synchronization script. Have error. in Horizon Desktops and Apps</title>
    <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Horizon-7-8-Post-synchronization-script-Have-error/m-p/2859388#M94544</link>
    <description>&lt;P&gt;SurajRoy&lt;/P&gt;&lt;P&gt;I couldn't get the Powershell script to work, but the BAT file works fine. It is enough just to register the Bat file with one line (for example, I have such a line C:\security\start-scr\start.bat). The issue is resolved.&lt;/P&gt;</description>
    <pubDate>Mon, 26 Jul 2021 21:06:49 GMT</pubDate>
    <dc:creator>IKirill</dc:creator>
    <dc:date>2021-07-26T21:06:49Z</dc:date>
    <item>
      <title>Horizon 7.8 - Post-synchronization script. Have error.</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Horizon-7-8-Post-synchronization-script-Have-error/m-p/2859075#M94531</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I have Horizon 7.8.&lt;BR /&gt;I am try to use&amp;nbsp;Post-synchronization script with linked clones vms.&lt;BR /&gt;On golden image (master image) i create POWERSHELL script.&lt;BR /&gt;I my case the full path is - C:\scripts\start.ps1&lt;BR /&gt;OK!&lt;BR /&gt;&lt;BR /&gt;Now i enter the path in&amp;nbsp;Post-synchronization script name:C:\scripts\start.ps1&lt;BR /&gt;next run recompose and have error:&lt;BR /&gt;View Composer agent initialization state error (19): Failed to execute postsync script (waited 0 seconds)&lt;BR /&gt;&lt;BR /&gt;I am try to enter path like this&lt;BR /&gt;C:\windows\system32\WindowsPowerShell\v1.0\powershell.exe&amp;nbsp;C:\scripts\start.ps1&lt;BR /&gt;same error!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I check&amp;nbsp;&lt;SPAN&gt;vmware-viewcomposer-ga-new.log&lt;BR /&gt;No errors and no lines like "Failed to run PostSyncScript".&lt;BR /&gt;No word "PostSyncScript"&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;questions:&lt;BR /&gt;does powershell scipts support in Post-synchronization ?&lt;BR /&gt;how fix this error ?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jul 2021 21:46:36 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Horizon-7-8-Post-synchronization-script-Have-error/m-p/2859075#M94531</guid>
      <dc:creator>IKirill</dc:creator>
      <dc:date>2021-07-23T21:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: Horizon 7.8 - Post-synchronization script. Have error.</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Horizon-7-8-Post-synchronization-script-Have-error/m-p/2859320#M94541</link>
      <description>&lt;P&gt;Does the PowerShell script work if we manually execute on the master image or on VDI machine?&lt;BR /&gt;&lt;BR /&gt;Did you tried Windows Logon Task / Task scheduler?&lt;/P&gt;&lt;P&gt;Refer to&amp;nbsp;&lt;A href="https://www.tenforums.com/tutorials/173596-how-create-task-run-app-script-logon-windows-10-a.html" target="_blank"&gt;https://www.tenforums.com/tutorials/173596-how-create-task-run-app-script-logon-windows-10-a.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 14:16:38 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Horizon-7-8-Post-synchronization-script-Have-error/m-p/2859320#M94541</guid>
      <dc:creator>SurajRoy</dc:creator>
      <dc:date>2021-07-26T14:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: Horizon 7.8 - Post-synchronization script. Have error.</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Horizon-7-8-Post-synchronization-script-Have-error/m-p/2859388#M94544</link>
      <description>&lt;P&gt;SurajRoy&lt;/P&gt;&lt;P&gt;I couldn't get the Powershell script to work, but the BAT file works fine. It is enough just to register the Bat file with one line (for example, I have such a line C:\security\start-scr\start.bat). The issue is resolved.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 21:06:49 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Horizon-7-8-Post-synchronization-script-Have-error/m-p/2859388#M94544</guid>
      <dc:creator>IKirill</dc:creator>
      <dc:date>2021-07-26T21:06:49Z</dc:date>
    </item>
  </channel>
</rss>

