<?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: Profile doesn't archive during recompose in Dynamic Environment Manager</title>
    <link>https://communities.vmware.com/t5/Dynamic-Environment-Manager/Profile-doesn-t-archive-during-recompose/m-p/2808341#M6415</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.vmware.com/t5/user/viewprofilepage/user-id/1837467"&gt;@jschwartz82&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I'm not very familiar with Horizon: during such a recompose operation, I assume Horizon triggers a logoff?&lt;/P&gt;&lt;P&gt;Unfortunately, FlexEngine log messages aren't flushed to disk immediately, so the last line that made it to disk isn't necessarily an indication of what it was doing at the time it stopped running...&amp;nbsp;Do you happen to know whether FlexEngine hangs or crashes when this happens for that particular user?&lt;/P&gt;&lt;P&gt;Would it be possible to replace your current logoff script with a batch file that does something like the following?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;setlocal
set LogoffLog=%UEMProfileArchives%\LogoffLog.log
echo %DATE% %TIME% LOGOFF SCRIPT START &amp;gt;&amp;gt; "%LogoffLog%"
"C:\Program Files\Immidio\Flex Profiles\FlexEngine.exe" -s
echo %DATE% %TIME% LOGOFF SCRIPT END &amp;gt;&amp;gt; "%LogoffLog%"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If Windows is somehow terminating the logoff script before it can run to completion, that "LOGOFF SCRIPT END" message would not be logged. Not sure yet what our next troubleshooting step will be once we know this, but let's start there...&lt;/P&gt;&lt;P&gt;BTW:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;2020-11-10 19:20:35.640 [DEBUG] User: &amp;lt;user&amp;gt;, Computer: &amp;lt;computer&amp;gt;, OS: x64-&lt;STRONG&gt;win10 (Version 1909&lt;/STRONG&gt;, BuildNumber 18363.1082, SuiteMask 100, ProductType 1/4, Lang 0409, IE 11.1082.18362.0, VMware VDM 7.7.0, &lt;STRONG&gt;UEM 9.7&lt;/STRONG&gt;.0.881, ProcInfo 1/1/4/4, UTC-06:00S), PTS: 36336/28388/1C&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Official support for Windows 10 Version 1909 was introduced in DEM 9.10. I'm not aware of any issues with UEM 9.7, and can't imagine the logoff issue has anything to do with this version mismatch, but something to keep in mind.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Nov 2020 14:22:11 GMT</pubDate>
    <dc:creator>DEMdev</dc:creator>
    <dc:date>2020-11-11T14:22:11Z</dc:date>
    <item>
      <title>Profile doesn't archive during recompose</title>
      <link>https://communities.vmware.com/t5/Dynamic-Environment-Manager/Profile-doesn-t-archive-during-recompose/m-p/2808302#M6414</link>
      <description>&lt;P&gt;We have a specific user, without fail, whose profile fails to sync during recompose operations on his pool.&lt;/P&gt;&lt;P&gt;Looking at FlexEngine log, the process starts and then cuts off and nothing gets saved to his archive.&amp;nbsp; I thought maybe he had an application hanging at logoff and preventing FlexEngine from processing, so I enabled the Auto-End Tasks gpo to close hung tasks during logoff but that doesn't seem to have made a difference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;2020-11-10 19:20:35.603 [INFO ] Performing path-based export&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;2020-11-10 19:20:35.640 [DEBUG] User: &amp;lt;user&amp;gt;, Computer: &amp;lt;computer&amp;gt;, OS: x64-win10 (Version 1909, BuildNumber 18363.1082, SuiteMask 100, ProductType 1/4, Lang 0409, IE 11.1082.18362.0, VMware VDM 7.7.0, UEM 9.7.0.881, ProcInfo 1/1/4/4, UTC-06:00S), PTS: 36336/28388/1C&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;2020-11-10 19:20:35.643 [DEBUG] Policy "Always wait for the network at computer startup and logon" is enabled&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;2020-11-10 19:20:35.643 [DEBUG] Policy "Run logon scripts synchronously" is not configured&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;2020-11-10 19:20:35.684 [DEBUG] Redirected folders: Desktop, Favorites, Personal&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;2020-11-10 19:20:35.685 [DEBUG] Policy "Point and Print Restrictions" is configured for the computer (1/2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;2020-11-10 19:20:35.685 [DEBUG] User policy last applied at 2020-11-10 17:53:26.392 (took 3.215 s)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;2020-11-10 19:20:35.687 [DEBUG] Boot time: 2020-10-24 07:18:35.178, Logon time: 2020-10-25 11:53:25.108&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;2020-11-10 19:20:35.687 [DEBUG] Recursively processing config files from path '\\server\config\general'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;2020-11-10 19:20:35.687 [DEBUG] Using profile archive path '\\server\profile\user\Archives'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;2020-11-10 19:20:35.687 [DEBUG] Profile archives will be compressed&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;2020-11-10 19:20:35.687 [DEBUG] Creating 2 backups (single backup per day) in path '\\server\profile\user\Backups'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;2020-11-10 19:20:35.687 [DEBUG] Logging to event log for path-based import/export, asynchronous UEM, UEM refresh, DirectFlex refresh&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;2020-11-10 19:20:35.687 [DEBUG] Logging to file '\\cim-vdi-connect\profile\user\Logs\FlexEngine.log'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;2020-11-10 19:20:35.687 [DEBUG] Log file will be overwritten when larger than 1024 kilobytes&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;2020-11-10 19:20:35.687 [DEBUG] If Flex config files path is not available at logon, log off automatically&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;2020-11-10 19:20:35.687 [DEBUG] If profile archive path is not available at logon, skip import but apply user environment settings&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FlexEngine log cuts off there, and the next entry is for the subsequent logon processing.&amp;nbsp; If the user manually logs off of his machine, then the sync happens correctly and his profile gets archived.&amp;nbsp; Other users do not have this problem, it seems localized to this user.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not sure where else to troubleshoot this or how to ensure FlexEngine processes during recompose so that the users profile will always archive correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any troubleshooting advice is greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2020 12:08:28 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Dynamic-Environment-Manager/Profile-doesn-t-archive-during-recompose/m-p/2808302#M6414</guid>
      <dc:creator>jschwartz82</dc:creator>
      <dc:date>2020-11-11T12:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: Profile doesn't archive during recompose</title>
      <link>https://communities.vmware.com/t5/Dynamic-Environment-Manager/Profile-doesn-t-archive-during-recompose/m-p/2808341#M6415</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.vmware.com/t5/user/viewprofilepage/user-id/1837467"&gt;@jschwartz82&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I'm not very familiar with Horizon: during such a recompose operation, I assume Horizon triggers a logoff?&lt;/P&gt;&lt;P&gt;Unfortunately, FlexEngine log messages aren't flushed to disk immediately, so the last line that made it to disk isn't necessarily an indication of what it was doing at the time it stopped running...&amp;nbsp;Do you happen to know whether FlexEngine hangs or crashes when this happens for that particular user?&lt;/P&gt;&lt;P&gt;Would it be possible to replace your current logoff script with a batch file that does something like the following?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;setlocal
set LogoffLog=%UEMProfileArchives%\LogoffLog.log
echo %DATE% %TIME% LOGOFF SCRIPT START &amp;gt;&amp;gt; "%LogoffLog%"
"C:\Program Files\Immidio\Flex Profiles\FlexEngine.exe" -s
echo %DATE% %TIME% LOGOFF SCRIPT END &amp;gt;&amp;gt; "%LogoffLog%"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If Windows is somehow terminating the logoff script before it can run to completion, that "LOGOFF SCRIPT END" message would not be logged. Not sure yet what our next troubleshooting step will be once we know this, but let's start there...&lt;/P&gt;&lt;P&gt;BTW:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;2020-11-10 19:20:35.640 [DEBUG] User: &amp;lt;user&amp;gt;, Computer: &amp;lt;computer&amp;gt;, OS: x64-&lt;STRONG&gt;win10 (Version 1909&lt;/STRONG&gt;, BuildNumber 18363.1082, SuiteMask 100, ProductType 1/4, Lang 0409, IE 11.1082.18362.0, VMware VDM 7.7.0, &lt;STRONG&gt;UEM 9.7&lt;/STRONG&gt;.0.881, ProcInfo 1/1/4/4, UTC-06:00S), PTS: 36336/28388/1C&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Official support for Windows 10 Version 1909 was introduced in DEM 9.10. I'm not aware of any issues with UEM 9.7, and can't imagine the logoff issue has anything to do with this version mismatch, but something to keep in mind.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2020 14:22:11 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Dynamic-Environment-Manager/Profile-doesn-t-archive-during-recompose/m-p/2808341#M6415</guid>
      <dc:creator>DEMdev</dc:creator>
      <dc:date>2020-11-11T14:22:11Z</dc:date>
    </item>
  </channel>
</rss>

