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?
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.


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

Does Powershell have you tied up in knots?

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

Question has a verified solution.

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

OfficeMate Freezes on login or does not load after login credentials are input.
Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
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…

730 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