Product Version: 6.x
Expires on: 365 days from publish date
Updated: April 21, 2015
Active setup is not running on first time user opens an application or XenApp server. Thus not completely setting up User's local profile.
The local user's profile is under 1MB in size.
"If wfshell is not loaded, the default.profile is not created correctly. This behavior occurs because when the explorer shell is not loaded with the Run registry entry, the RunOnce registry entry and the startup applications are not loaded. If you start a published application which depends on wfshell, it might fail to load because of dependencies executed in the runonce command."
(Source: Citrix KB)
No Active Setup running. ProfileUnity client is installed and configured on XenApp server.
Example of incomplete list of folders in "AppData\Local\Microsoft" after user's login:
The issue is a design problem by Microsoft. Hence, no solution can be provided by Citrix or Microsoft. However, you can refer to the workarounds.
Create the user profile by first launching a full desktop session.
Start the Runonce.exe file together with the /AlternateShellStartup switch.
In the server Group Policy Management Console, navigate to Local Computer Policy > User Configuration > Windows Settings.
Click Scripts (Logon/Logoff), and then double-click Logon.
In the Script name box, type runonce.exe.
In the Script parameters box, type /AlternateShellStartup.
Click OK two times.
After workaround implementation, example of complete list of folders in "AppData\Local\Microsoft" after user login: