[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now


Citrix application - save settings for users

Posted on 2014-04-08
Medium Priority
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 "settings.ws" 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 2000 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\ibm.ws  (or whatever the correct path is).


Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Is your company's data protection keeping pace with virtualization? Here are 7 dynamic ways to adapt to rapid breakthroughs in technology.
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

649 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