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>

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.


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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

#Citrix #XenApp #Citrix Scout #Citrix Insight Services #Microsoft VMMAP #Microsoft ADEXPLORE #Microsoft RAMMAP #Microsoft TCPVIEW #Microsoft AUTORUNS #Microsoft PROCESS EXPLORER #Microsoft PROCESS MONITOR
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.

808 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