Citrix application - save settings for users


How do you configure an application in Citrix 6.5 to open and save the settings that the user picks for display and fonts etc?

The app is AS400 (mainframe) and when a user opens the published app he is able to change the settings on the window (font size, background color, etc) , and after that.. if another user logs in he sees the same settings that the previous user configured. The settings are being saved to a .ws file that is located in a folder on C: of the Citrix server.

Im thinking maybe put that file in his roaming profile folder manually and use variables to open it... or a batch file.. policy... there are probably tons of solutions..

The scenario sounds pretty common, there has to be an easy solution.

Please let me know!! :)
Who is Participating?
joharderConnect With a Mentor Commented:
It sounds like the app isn't meant for multi-user environments, but it may be possible to work around that.

See if you can find where that .ws file is writing the settings in the registry.  It's probably going to HK Local Machine, but there's a possibility it's going elsewhere.

Also, does the app force the .ws file to be written under c:?  It sounds like it may be hard coded, but are there any options for locating the file elsewhere?

When there are no users on the server, try renaming the .ws file and logging in as a user.  Does the .ws file recreate itself automatically, or does the application fail.?

Do all users require this application or only a subset of users?  If it's just a few users, then you may wish to consider either using VM Hosted Apps (pseudo XenDesktop for this one app) or setting the published app to a maximum of one user per server.  That way, the one user can set the .ws file as desired and it won't impact other users.

Justin YeungSenior Systems EngineerCommented:
how do you open the .ws file? is it a txt file?

what I will do , I will modify the app target to a script that will prompt for the width and height (a vb script) and then after commit the settings, then will launch the app.
elchermansAuthor Commented:
the settings on the application are chosen from menus and users modify them to their convenience, its not just a static setting that I want to set.

applications come with customizable views.. it has to be common in Citrix to configure it so each user can save their own settings...
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Justin YeungSenior Systems EngineerCommented:
from what you posted, it seems like it is a "shared" settings, since someone changed it, it will change for all users. is that true?
elchermansAuthor Commented:
yes, the settings are saved to a file "" that is located on the C drive of the citrix server. Maybe this file can be copied into their roaming profile but im not sure what the best practice is here. Maybe with Citrix profile management...
elchermansAuthor Commented:
I've requested that this question be closed as follows:

Accepted answer: 0 points for elchermans's comment #a39986844

for the following reason:

elchermansAuthor Commented:
I've requested that this question be deleted for the following reason:

I wish to delete the question. I didnt see the button to delete earlier, thats why I just marked my answer as the one, because noone answered the question or got even near the solution..  please close the question
elchermansAuthor Commented:
Hi jo,

I appreciate the help. We were told by management that users shouldnt modify the view.. so we will leave the file set to "read only".

The closest I got to a solution was to dump the .ws file into their citrix profile using group policy and then call the file using "%username%" in the path of the published application and that worked. Im not sure if its proper business solution though.. I was wondeing if Citrix had something setup for this scenario, like a policy or some setting somewhere.. it sounds like a pretty common functionality when publishing applications..  but I could be wrong.

Ill mark it as a partial soluton. Thanks!
Although the answer for this has already been awarded points, I will point something out.  If this is the IBM provided application (which does use the .ws extension), I believe you can specify which .ws file is loaded on the command line of the application.

If that is true, you will want to store the .ws file in their home directory under the same name.

If your home directory letter was h: you could the .ws file in h:\windows, and then you would change your command line for the app to c:\<path>\app.exe h:\windows\  (or whatever the correct path is).

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.

All Courses

From novice to tech pro — start learning today.