Solved

Terminal Services Profiles & Application data files.

Posted on 2009-07-15
5
384 Views
Last Modified: 2013-11-21
Currently in the process of setting up an Auto Dealers Package on 2008 Server
for both network users that use File sharing to access the application as well
as Terminal Server Users.

File Sharing users run the application via a mapped drive letter to the applications directory.
(S: ==> \\Server\Share).

Catch is each user's application settings such as screen layout & printer settings are stored in a User.DAT file in the root directory of the users C: drive on their local PC.
This is not a problem for Users running Via File & Print sharing.

What happens when a user runs the application via Termnal Services is that they end up all using the one User.DAT file in the root directory of the server & hence cannot save their own application settings.

Is there a way to redirect this file to the Windows directory within their Terminal Services Profile.

I've seen something similar to this previously on a site where wach user had a system.ini file stored in their TS Profile for similar reasons.
0
Comment
Question by:PhilPorritt
  • 3
  • 2
5 Comments
 
LVL 14

Expert Comment

by:robincm
ID: 24869371
Depends on the application and how hardcoded c:\user.dat is.

You could try setting the working directory to the user's personal/home drive (this is under the published app configuration, on the Location page - same as where you specify the executable to run). This works for some apps.
0
 

Author Comment

by:PhilPorritt
ID: 24875620
Believe the application is pretty much hard coded to write this file to C:\.

Iv'e suported it since the DOS days & their migration to windows still has a lot of hang overs from way back.
0
 
LVL 14

Expert Comment

by:robincm
ID: 24876535
Well if it's hard coded to C:\ then you're basically stuffed.
Poor coding always comes back to bite somebody eventually :-(
0
 
LVL 14

Accepted Solution

by:
robincm earned 500 total points
ID: 24876570
You could always rebuild your terminal server and choose M: as the system drive letter, then you could use subst to map C: to the users' home drive in a logon script. Nasty though.
0
 

Author Closing Comment

by:PhilPorritt
ID: 31604116
Excellent lateral sollution that would be valuable in many situations.
0

Featured Post

Integrate social media with email signatures

Is your company active on social media? Do you also use email signatures? Including social media icons in your email signature is a great way to get fans for free. Let all your email users know you’re on social media quickly and easily, in a single click.

Join & Write a Comment

To effectively work with Diskpart on a Server Core, it is necessary to write some small batch script's, because you can't execute diskpart in a remote powershell session. To get startet, place the Diskpart batch script's into a share on your loca…
Remote Apps is a feature in server 2008 which allows users to run applications off Remote Desktop Servers without having to log into them to run the applications.  The user can either have a desktop shortcut installed or go through the web portal to…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

744 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now