• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 333
  • Last Modified:

AD/Citrix and tsprofiles

We have an application that uses Citrix, during launch it creates two files BCS.INI and HOST.INI which should create these in the home tsprofiles e.g.  \\cslwinprn01\tsprofiles$\tek-rjk.NBS which it does, if the 'Connect' option in AD profile is not set to use u: \\cslwindat01\homes\tek-rjk

However, we have a policy that users have the u: drive which acts as their personal drive to save their documents etc...

I checked the parameters (from DOS...) and found the following:-


Therefore it appears that because of this when uses access this application, the BCS.INI and HOST.INI is written to the U:\ drive, which I need it to write to \\cslwinprn01\tsprofiles\tek-rjk


1) How can I override the HOMEDRIVE, HOMEPATH, HOMESHARE, so it does not use the U: drive,  could a script for be used prior to logging onto the domain so these parameters are blanked out and not used as the default location???

Any suggestions will be much appreciated....

  • 2
1 Solution
Hi rakkad,

I think we need to start by finding out where your application gets the settings from that it writes into the file. Its very specific information.

Try updating your user account to use the H drive letter in AD instead of U and see if the BCS.INI and HOST.INI  still reflect U. If the files change to H then you know the application is getting the information directly from AD and if it still states U then there must be another location (Perhaps in the registry or application setting files) that we can update not to reflect the U drive.
rakkadAuthor Commented:

I changed to H: drive and the files were copied to this drive, so it appears whatever drive is used it is picking this up and is determined if the 'connect' is specified in AD

So, referring back to my original question, could we override those set parameters, by running a script or something to logging in?

rakkadAuthor Commented:
This solution worked for me

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now