This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已经过机器动态翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
이 콘텐츠는 동적으로 기계 번역되었습니다. 책임 부인
Este texto foi traduzido automaticamente. (Aviso legal)
Questo contenuto è stato tradotto dinamicamente con traduzione automatica.(Esclusione di responsabilità))
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.책임 부인
Este artigo foi traduzido automaticamente.(Aviso legal)
这篇文章已经过机器翻译.放弃
Questo articolo è stato tradotto automaticamente.(Esclusione di responsabilità))
Translation failed!
Enable UWP app load acceleration
Deploying Microsoft UWP apps in a Citrix® environment can increase Windows logon time. By default, Windows saves UWP app registration data locally on each machine. In non-persistent environments, that data can be lost after a restart.
With the Enable AppX package load acceleration policy enabled, Profile Management creates a virtual disk container for each machine to store the UWP app registration data. This feature accelerates the loading of UWP apps and prevents data loss on machine restarts.
Starting with version 2603, Profile Management provides automatic detection and recovery for AppRepository database corruption when the AppX package load acceleration feature is enabled. For more information, see Automatic StateRepository recovery.
Enable the policy using a GPO
Detailed steps are as follows:
- Open the Group Policy Management Editor.
- Access Policies > Administrative Templates: Policy definitions (ADMX files) > Citrix Components > Profile Management > Advanced settings.
- Double-click the Enable AppX package load acceleration policy.
- In the policy window that appears, select Enabled.
- Enter a UNC path for storing the UWP registration data. Make sure that the path is accessible to domain computers.
- Click OK.
The configuration precedence is as follows:
- If this setting isn’t configured using a GPO, Studio, or Workspace Experience Management (WEM), the value from the .ini file is used.
- If this setting isn’t configured anywhere, this feature is disabled.
For your changes to take effect, run the gpupdate /force command from the command prompt as documented at https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/gpupdate.
Verify app load acceleration
After enabling the policy, follow these steps to verify app load acceleration is working:
-
Check functionality:
- Open Disk Management (
diskmgmt.msc) to verify whether the container storing the UWP app registration data is attached. - Confirm that
C:\ProgramData\Microsoft\Windows\AppRepositoryis redirected to the attached disk by creating a temporary folder and checking whether it appears on the attached disk.
- Open Disk Management (
-
Verify performance acceleration:
Use the Logon Analysis tool in the WEM Admin Tool Hub or ControlUp’s logon duration script to measure the time taken during the Appx Package Load phase.
Automatic StateRepository recovery
Automatic StateRepository recovery is automatically enabled when the AppX package load acceleration feature is active and an AppRepository container store path is configured.
When AppX package load acceleration redirects the AppRepository database to a container, the AppRepository database can occasionally become corrupted due to OS upgrades, unexpected shutdowns, or storage issues.
Previously, resolving this issue required manual intervention. Profile Management now automatically:
- Detects AppRepository database corruption in real time by monitoring Windows Event Log entries (Event IDs 100, 270, and 272).
- Recovers using a progressive three-stage strategy without requiring user or administrator action.
- Continuously monitors for corruption throughout the service lifecycle.
View log messages
Recovery progress is recorded in Profile Management logs. Look for the following messages:
Starting background monitoring for AppRepository database integrity...AppRepository database corruption detected. Recovery stage: NRecovery Stage N completed.All automatic recovery attempts exhausted. Corruption persists. Manual intervention required.
Verify corruption events
You can verify corruption events in Event Viewer:
- Open Event Viewer.
- Go to Applications and Services Logs > Microsoft > Windows > StateRepository > Operational.
- Look for Event ID 100 (Error), Event ID 270 (Critical), and Event ID 272 (Critical).
What to do when auto-recovery fails
If all automatic recovery attempts are exhausted, do the following:
- Check Profile Management logs for recovery attempt history.
- Verify that the AppRepository container path is accessible.
- Review Windows Event Log for the frequency of Event IDs 100, 270, and 272.
- Check system event logs for underlying storage or disk errors.
- Stop the Profile Management service, delete the corrupted container file, and restart the service. A new container is created automatically.
- If corruption occurs repeatedly, investigate potential hardware or storage issues.
Share
Share
This Preview product documentation is Citrix Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Citrix Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Citrix product purchase decisions.
If you do not agree, select I DO NOT AGREE to exit.