PC Review


Reply
Thread Tools Rate Thread

Application writes to a temp files on c:\, need folder redirection util or something

 
 
=?Utf-8?B?QnJpYW5TbWl0aA==?=
Guest
Posts: n/a
 
      6th Dec 2003
I need to install an aplication that when run places temp files in a sub folder on C:\, the application is to be used by terminal server clients. You can see the problem, users overwriteing each others temp files.

If I could only create a vurtual directory on the c:\ drive for each user that resolved to a unc. I wish I could find a utility to do this..
or
If I could reinstall my server so there is no C:\ drive, I've tryed but to no avail the system volume seems to always be C:\.
If there was no c:\ drive I could map the c:\ drive for each user to a share or use subst

I know the system does some redirection, the windows folder, the temp folders parts of the registry and such. I can't find much information about this or how I may be able to utilize that funtionality to my advantage. I would love to lurn more about the virutaly remaps of the registry and folders that make terminal server work in the first place but I can not find anything on the topic! Is this some kind of secret?

There must be a way.. if not I will make one.
Any infromation or resources on the topic would be wonderfull as my digging has turned up vary little usefull information.
-Brian Smith

 
Reply With Quote
 
 
 
 
Vera Noest [MVP]
Guest
Posts: n/a
 
      6th Dec 2003
If your application uses a hardcode path like C:\app_folder. then
there is not much you can do. It simply means that the application is
not TS compatible. What it *should* do is use the environment
variable %temp%, which is specific for each user session.

The only way that I can think of that *might* work is to carefully
adjust the NTFS permissions on the hardcoded folder C:\app_folder.

Give all users the right to add files to the folder, but don't give
them the right to modify or delete existing files. You can do this in
Advanced Security settings on the folder (Right: Add files and
folders; Apply to: this folder only).
Give administrators and CREATOR OWNER full control over the folder
and all files and subfolders.
When user1 creates c:\app_folder\file1, he becomes the CREATOR OWNER
and has the right to modify and delete the file. User2 will be able
to create C:\app_folder\file2, but not overwrite or modify file1.

--
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
http://hem.fyristorg.com/vera/IT
--- please respond in newsgroup ---

"=?Utf-8?B?QnJpYW5TbWl0aA==?="
<(E-Mail Removed)> wrote in
news:55539F06-9939-4DD3-8BE1-(E-Mail Removed):

> I need to install an aplication that when run places temp files
> in a sub folder on C:\, the application is to be used by
> terminal server clients. You can see the problem, users
> overwriteing each others temp files.
>
> If I could only create a vurtual directory on the c:\ drive for
> each user that resolved to a unc. I wish I could find a utility
> to do this.. or
> If I could reinstall my server so there is no C:\ drive, I've
> tryed but to no avail the system volume seems to always be C:\.
> If there was no c:\ drive I could map the c:\ drive for each
> user to a share or use subst
>
> I know the system does some redirection, the windows folder, the
> temp folders parts of the registry and such. I can't find much
> information about this or how I may be able to utilize that
> funtionality to my advantage. I would love to lurn more about
> the virutaly remaps of the registry and folders that make
> terminal server work in the first place but I can not find
> anything on the topic! Is this some kind of secret?
>
> There must be a way.. if not I will make one.
> Any infromation or resources on the topic would be wonderfull as
> my digging has turned up vary little usefull information. -Brian
> Smith

 
Reply With Quote
 
Tony Falsone
Guest
Posts: n/a
 
      7th Dec 2003
Brian.

A few ways to make an application compatable:

1. Modify the regisrty or INI file setting that points to
c:\App_folder so that it points to the users home directory.

2.Look into "Application compatabilty scripts" Dir in WINNT. While
writing a ACS is not nearly as easy it would also fix the App.

3. if it is a registry key you could write a GPO to midify the key.

4. check out regset by tricerat.com (this sets reg keys when users log
on)

Sorry I can't be more specific but writing an ACS is more hands on...

Hope this helps

Tony

www.ccaheaven.com

"BrianSmith" <(E-Mail Removed)> wrote in message news:<55539F06-9939-4DD3-8BE1-(E-Mail Removed)>...
> I need to install an aplication that when run places temp files in a sub folder on C:\, the application is to be used by terminal server clients. You can see the problem, users overwriteing each others temp files.
>
> If I could only create a vurtual directory on the c:\ drive for each user that resolved to a unc. I wish I could find a utility to do this..
> or
> If I could reinstall my server so there is no C:\ drive, I've tryed but to no avail the system volume seems to always be C:\.
> If there was no c:\ drive I could map the c:\ drive for each user to a share or use subst
>
> I know the system does some redirection, the windows folder, the

temp folders parts of the registry and such. I can't find much
information about this or how I may be able to utilize that
funtionality to my advantage. I would love to lurn more about the
virutaly remaps of the registry and folders that make terminal server
work in the first place but I can not find anything on the topic! Is
this some kind of secret?
>
> There must be a way.. if not I will make one.
> Any infromation or resources on the topic would be wonderfull as my digging has turned up vary little usefull information.
> -Brian Smith

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Seek util to copy folder structure but no files Lem Freeware 14 25th Jan 2012 06:48 AM
OL2003 - Temp files redirection? JeffG Microsoft Outlook 5 3rd Feb 2005 04:05 PM
Outlook writes hugh temp files Ted Lundy Microsoft Outlook 0 24th Feb 2004 01:21 PM
Need sample code to automate deletion of temp internet folder files upon logging of my web application Avinash Deolalikar Windows XP Internet Explorer 1 18th Feb 2004 02:57 PM
Folder Redirection and GP application Erik Atkins Microsoft Windows 2000 Group Policy 1 8th Jan 2004 02:49 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:16 PM.