Xen App - User Data Cache

Posted on 2013-10-08
Medium Priority
Last Modified: 2013-10-24
Hi All,
     I am building a server (appCentre V6) and have a sage application installed and presented for internal users to access. The application launches but each time i need to add the link to the database manually. I would like this information to be cached moving forward. i have tried the following link


but this doesn't seem to work. Am i missing a simple step here?

Question by:ncomper
  • 2
  • 2
LVL 23

Expert Comment

by:Ayman Bakr
ID: 39555555
The article talks about streamed apps, while your description sounds like you are having hosted apps.

To have the link permanent you need to know where the application stores this information and thus from where it retrieves it. This could be in one of the following:

1. Config file stored in the local part of the user's profile
2. Config file stored in the roaming part of the user's profile
3. Config file stored in the application path or any part of the server's drive
4. Registry entry in the currently logged on user hive HKCU
5. Registry entry in the local machine hive HKLM

Obviously number 1 means that the link will be lost every time the user logs off and then log back in. The user could also be missing the link in number 2 and 4 if the profile could not load properly and a temp profile was used instead.

To solve number 1 you need to move the Config file to the roaming section of the profile and the app should have the capability of changing the setting to point to that location. To see what I mean please read the following article:


Author Comment

ID: 39590573
Hi All,
       Sorry for the delay i can confirm that this is is located in point (4) HKCU. the key locaiton for the admin account is populating with the correct reg fields (from the RDP session) but this does not seem to be called up with the Citrix session (or remembered).

Could you help out with a few possible tests to check the reg is writing correct for the remote Citrix users?

Many thanks
LVL 23

Accepted Solution

Ayman Bakr earned 2000 total points
ID: 39590659
As a quick resolution, instead of publishing the sage app, you can publish a batch file or VB Script that will do the following:

1. Add the reg key value in the HKCU hive
2. Then call the app executable to launch

The fact that the reg key is not saving in the HKCU part which is related to the user profile, means that there is something wrong with loading the profile - or - last write issue is prevailing in your situation.

Ensure the following:
1. Users have separate profiles for their terminal services sessions and their normal desktop sessions.
2. Avoid activities causing last write issue and eventually might lead to temporary profiles

Best to use profile management solution other than windows profile management. Citrix profile management is free and avoids such issues.

Author Closing Comment

ID: 39597016
Created the VB script to change the registry setting for the HKCU then call the application.exe

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
Suggested Courses

600 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question