Environment Variable (within Citrix)

Posted on 2013-02-05
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 25

Expert Comment

ID: 38858450

Does any of this help:

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

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>

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.


Accepted Solution

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

Expert Comment

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Citrix XenDesktop 7.6 Citrix Policies Audio
Several part series to implement Internet Explorer 11 Enterprise Mode
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.

747 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

11 Experts available now in Live!

Get 1:1 Help Now