[THIN] Re: Using roaming profile point for temp files

  • From: Rick Mack <ulrich.mack@xxxxxxxxx>
  • To: thin@xxxxxxxxxxxxx
  • Date: Wed, 17 Aug 2005 19:10:14 +1000

Hi Evan,

The %temp% variable points to a unique directory for every user on a
terminal server, regardless.

You've got 3 workable options without redirecting the temp location to
a network drive.

1. On a standard server (win2k or later) with default settings a
user's %temp% maps to %userprofile%\local settings\temp\%sessionid%.
eg c:\documents and settings\testuser\local settings\temp\8 if user's
session id is 8.

2. If the user %temp% variable is changed to something like C:\temp
the user's %temp% will map to c:\temp\%sessionid%. eg c:\temp\8 if
user's session id is 8.

If you run up terminal server connection configuration (start > run >
tscc.msc) and set Server Settings > "Use temporary folders per
session" to NO then %temp% maps to %userprofile%\local settings\temp.

In each case the temp directory is still unique for each user logged
on to the server.

regards,

Rick

Ulrich Mack
Volante Systems

On 8/17/05, Evan Mann <emann@xxxxxxxxxxxxxxxxxxxxx> wrote:
> 
> 
> Someone tell me if this is a "no no". 
> 
> One of my applications requires a unique temp path for every user who uses
> it.  The INI file that resides in the \windows directory for the profile
> cannot take variables like %username% so I have to statically asign the temp
> path for each user.  To not have to create and maintain a file structure for
> all the users on Citrix, my thought is to point the INI to the root of the
> users roaming profile point out on the network (ex:
> p:\servers\profiles\jdoe\).
> 
> 
> The program is extremely good about cleaning up after itself. I can't say
> I've ever seen it leave temp files in the specified tempory directory.  Am I
> going to run into some kind of profile load/unload problem if I do it this
> way?
> 
> 
> Or, do I just keep it safe and point it to the temp path under their profile
> on the local server (c:\documents and settings\jdoe\local settings\temp)
>
********************************************************
This Weeks Sponsor: triCerat Inc.
You need Day Zero Protection!
Get Proactive with triCerat's Simplify Suite.
Solve printing, security and profile problems before they occur.
http://www.tricerat.com/?thethintl2
**********************************************************
Useful Thin Client Computing Links are available at:
http://thin.net/links.cfm
ThinWiki community - Excellent SBC Search Capabilities!
http://www.thinwiki.com
***********************************************************
For Archives, to Unsubscribe, Subscribe or
set Digest or Vacation mode use the below link:
http://thin.net/citrixlist.cfm

Other related posts: