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

by:Tony Johncock
ID: 38858450

Does any of this help:

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>

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Accepted Solution

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

Expert Comment

by:Tony Johncock
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Citrix XenDesktop 7.6 Citrix Policies Disable Peripherals
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
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.

726 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