Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Environment Variable (within Citrix)

Posted on 2013-02-05
Medium Priority
Last Modified: 2013-02-18
Greetings, I have an application that runs from having an environment variable set in the user variables. 1 of 3 standard users can run the application, the other 2 standard users are not recieving the user variable to there profile. There is no difference between the users, if all make the 2 failing users local admin's the user variable does not copy of either.  

Have user the MC2_USERPATH = c:\users\%username% or c:\users\%userprofile% the 2 failing users cannot recieved the user variable.
Question by:gregelectronics
  • 3
  • 2

Author Comment

ID: 38856680
As a tempoary fix I was able to assign them to Local Admin group, the application we are using is extremely old and has little support. I still want to find a total resolution as this will be a production server in our Citrix Farm.

Below is the set path that needs to be available in order for the application to run.
LVL 26

Expert Comment

by:Tony J
ID: 38858450

Does any of this help: http://forums.citrix.com/message.jspa?messageID=615503

Versions of what you're using (Citrix / OS) would really help us to assist you.
LVL 25

Expert Comment

ID: 38862372
I would try using a wrapper batch file.  
@echo off
set MC_ICA=1
set MC_USERPATH=%userprofile%
<path to exe>\myexe.exe

Open in new window

If you are using a published app, then you would publish cmd.exe /c <path to batch file>

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.


Accepted Solution

gregelectronics earned 0 total points
ID: 38886684
Found my own resolution
LVL 26

Expert Comment

by:Tony J
ID: 38888042
You know it'd be helpful for others searching in future to know _what_ your soluion was!

Author Closing Comment

ID: 38900973
Found my own resolution

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

Citrix XenDesktop 7.6 Citrix Policies Audio
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

564 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