[THIN] Re: Can't change HOMEDRIVE variable

  • From: "Chris Lynch" <lynch00@xxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Thu, 6 Feb 2003 13:06:45 -0800

There are a few registry entries you would need to modify.  BTW, do you =
have
DELETE LOCALLY CACHED PROFILES set?

I would check HKLM\Software\Microsoft\Windows =
NT\CurrentVersion\ProfileList.
There is a value called ProfilesDirectory.  This would need to be =
changed.
I cannot remember what the other reg value you would need to change, but =
I
will get that for you.

Chris

-----Original Message-----
From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On =
Behalf
Of Menicucci, Dan
Sent: Thursday, February 06, 2003 12:54 PM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Can't change HOMEDRIVE variable


Hello,

I am having some problems and I am hoping that someone here may be able =
to
help.  On my servers I have a C and D drive.  I want to install all of =
my
applications on to C and have my profiles on D.  I edited the
ProfilesDirectory registry key so that it would point to d:\documents =
and
settings.  I copied the Default User and All Users profiles there and =
setup
all of the necessary ACL's.  The new profiles work fine.  If I login, =
new
users get created on the D drive. =20

I made this change right after I built the server.  Now I am beginning =
to
install applications and I am having a problem.  On one particular
application, it has a ini file that is located in c:\winnt.  Installing =
the
application in Install mode gives me the behavior I need, but not as
expected.  When I run the application it fails, because it can't find =
the
ini file.  If I run FileMon from sysinternals I see what the problem is.
The application is trying to make a change to the file and the OS is
redirecting to c:\documents and settings\username\windows\file.ini
NOT D:\documents and settings\username\windows\file.ini.  Since I have
changed the profile location, the call is failing.

I think that the problem is that the HOMEDRIVE variable is still set to =
C:.
Unfortunately I am not having any luck changing it to D:.  I tried =
modifying
usrlogn.cmd without any luck.  I also add HOMEDRIVE as a system variable =
and
that did not work.  Can anyone help?  Am I correct that the reason the =
OS is
telling the app to look in c:\documents and set...  is because of the
HOMEDRIVE variable?

TIA,
Dan

********************************************
This Week's Sponsor: triCerat Inc.
Let triCerat simplify the administration=20
of your Terminal Servers.
http://www.triCerat.com
********************************************

For Archives, to Unsubscribe, Subscribe or=20
set Digest or Vacation mode use the below link:
http://thethin.net/citrixlist.cfm


********************************************
This Week's Sponsor: triCerat Inc.
Let triCerat simplify the administration 
of your Terminal Servers.
http://www.triCerat.com
********************************************

For Archives, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link:
http://thethin.net/citrixlist.cfm

Other related posts: