Citrix Professionals Network Discussion Forum - provided by Actu8 IT Pty Ltd (www.actu8.com)
News:
 
*
Welcome, Guest. Please login or register. September 06, 2010, 06:55:25 PM


Login with username, password and session length

Pages: [1]
  Print  
Author Topic: OSD file Environment Variable Issue  (Read 783 times)
rlindesay
Administrator
Newbie
*****
Offline Offline

Posts: 1


View Profile
« on: June 05, 2008, 02:30:11 PM »

I have been sequencing an application lately which was showing some strange behaviours.  The application is a terminal emulator called Esker TUN, and one of it's behaviours is that it writes temporary files to %temp%. 

The sequencer and the Citrix Presentation Server I was using both had %temp% environment variables pointing to c:\documents and settings\user\local settings\temp, as expected.  After sequencing, I ran the application up on the sequencer and noticed the files were created in the local settings\temp folder as expected.

However, when I put the package into Softgrid VAS, and streamed down to the Presentation Server, I was getting access denied errors for normal users.  It turned out that the application was attempting to write to c:\windows\temp.

I was a little confused to why it was trying to write to c:\windows\temp, while the %temp% variable which the application uses was pointing to the local settings folder.  Turns out that the OSD file was overriding the %temp% environment variable with:

<ENVIRONMENT VARIABLE="TEMP">%SYSTEMROOT%\TEMP>

I took this line out of the OSD file, and the app worked as expected.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM