Solved

Citrix  Script to Kill a specific process for a specific user across any server that may be hosting it.

Posted on 2013-01-23
4
1,067 Views
Last Modified: 2013-02-23
We have 5 Xenapp 6.5 servers. One of our users occasionally messes up his layout to one of our programs we have published.
When this happens we have to preform the following:
1) Find the server that is running the program , kill the process
2) Rename the current layout.file to layout.bad
3) Take a copy of a layout.template and rename to layout.file
4) Relaunch the published app

I am looking to publish a script for this user to perform the above function. As an additional note, the users do not have admin privileges.
0
Comment
Question by:GGHC
  • 2
4 Comments
 
LVL 24

Assisted Solution

by:Sekar Chinnakannu
Sekar Chinnakannu earned 250 total points
Comment Utility
0
 
LVL 8

Accepted Solution

by:
piyushranusri earned 250 total points
Comment Utility
instead of this practice, i will suggest you to have application in different folder
like appliction1 and application2

if 1 stopped working then you have to manually select the path to 2.

i agree that script make job easy but you are not sure that when the application gives the problem is what process id, which user logged in and what is the process taken by users.

and for these question to find the answer you have to login every time to citrix server.
so my suggestion that make 2-3 folder and move the application path when user face issue.


and did you check that if you copy the application folder does it works or hangs as before ?

please share the output
0
 

Author Comment

by:GGHC
Comment Utility
Thanks everyone for your input. Solution ended up being, having users do the closing of the program since that was the biggest challenge. After user closes the program, I published a simple script to shuffle around the files and reopen program.
0
 
LVL 8

Expert Comment

by:piyushranusri
Comment Utility
could you please share that how you did that ?
0

Featured Post

Free book by J.Peter Bruzzese, Microsoft MVP

Are you using Office 365? Trying to set up email signatures but you’re struggling with transport rules and connectors? Let renowned Microsoft MVP J.Peter Bruzzese show you how in this exclusive e-book on Office 365 email signatures. Better yet, it’s free!

Join & Write a Comment

Citrix XenDesktop 7.6 Citrix Policies Graphics
You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

763 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now