Citrix application - save settings for users

Posted on 2014-04-08
Last Modified: 2014-04-18

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!! :)
Question by:elchermans
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 14

Expert Comment

by:Justin Yeung
ID: 39986761
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.

Author Comment

ID: 39986776
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...
LVL 14

Expert Comment

by:Justin Yeung
ID: 39986826
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?
Threat Trends for MSPs to Watch

See the findings.
Despite its humble beginnings, phishing has come a long way since those first crudely constructed emails. Today, phishing sites can appear and disappear in the length of a coffee break, and it takes more than a little know-how to keep your clients secure.


Author Comment

ID: 39986844
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...

Author Comment

ID: 40005910
I've requested that this question be closed as follows:

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

for the following reason:


Author Comment

ID: 40007736
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
LVL 15

Accepted Solution

joharder earned 500 total points
ID: 40007605
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.


Author Comment

ID: 40007734
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!
LVL 25

Expert Comment

ID: 40009052
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).


Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
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…

724 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