XenApp - Redirecting each user's ProgramData folder

We have a database application that reads an .INI file in a subfolder:  C:\ProgramData\NameOfAppHere\settings.ini

The problem is that there are 3 users groups. Each group accesses a different database file. We need 3 different settings.ini files, one for each user group.

Is it possible for each group to have a different folder that is accessed when the database application looks for C:\ProgramData\NameOfAppHere\settings.ini ? That would solve the problem, since we could have 3 different settings.ini files in 3 different folders. If that cannot be done, is there another solution?

Users from different groups will be logged into the same Citrix XenApp server at the same time. Fortunately, each user has a desktop shortcut specific to his or her group's database so that each user can open the correct database. The problem arises when, after opening the database, the database application needs to read settings.ini. We do not have a way within the database application to tell it to look anywhere other than
C:\ProgramData\NameOfAppHere\settings.ini

Thank you.
LVL 4
Wells AndersonCEOAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ayman BakrSenior ConsultantCommented:
If there is no way to configure it to point for settings.ini in a different location, then the designers were not thoughtful of remote desktop session design.

The only way I could think of is to have at least 3 XenApp session hosts, each saving a different settings.ini file and publishing to the corresponding user group.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Wells AndersonCEOAuthor Commented:
If anyone has any other possible solutions, please comment. Based on my research and Mutawadi expert advice, I doubt we can work around the issue, but if by chance anyone does have a way to serve up different C:\ProgramData contents to different users on the same Citrix XenApp server, I would love to hear about it!
Thank you, Mutawadi, for the fast and high quality answer.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Citrix

From novice to tech pro — start learning today.