Problem:
Upon logging into your non persistent VDI Pool the Profile Unity software either does not run and show splash screen and or logs off and disconnects the VDI session before even loading the windows desktop.
This could be due to where the ProfileUnity\userinit.exe entry exists in the winlogon key
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon"
Resolution:
When building a master image\ gold image (Citrix or VMware Horizon View), it is recommended the ProfileUnity Client Software is the last to be installed in the parent before sealing up the image.
Example: running \\<domain name>\\netlogon\ProfileUnity\LwL.ProfileUnity.Client.Startup.exe from an elevated CMD in the parent image will install the Profile Client Tools locally.
Same principle applies to upgrading ProfileUnity and/or VMware or Citrix agents. First, it is necessary to uninstall ProfileUnity and the VMware/Citrix agent. Make sure after the uninstall process completes, the userinit registry setting has only windows userinit left as shown below.
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon | Userinit
The value should show only C:\Windows\system32\userinit.exe
If the value is different, it needs to be fixed before reinstalling VMware/Citrix agent. The agent will change that registry value.
Lastly, ProfileUnity needs to be installed. It will also change the userinit value, and that will be its final form. A this point the image is ready to be published.
In addition, it is recommended on your parent image (and FlexApp Packaging Console if using Flexapps) to install base C++ runtimes which can be found here:
For instant clone pools it is recommended to Disable the "LwL.ProfileUnity.Client.Startup.exe" in the Computer Level GPO if your seeing issues are the userinit value in "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon"
Product: ProfileUnity-FlexApp
Product Version: 6.8.x