AD/Citrix and tsprofiles

Posted on 2011-10-24
Last Modified: 2012-05-12
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....

Question by:rakkad
    LVL 4

    Expert Comment

    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.

    Accepted Solution


    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?


    Author Closing Comment

    This solution worked for me

    Featured Post

    PRTG Network Monitor: Intuitive Network Monitoring

    Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

    Join & Write a Comment

    This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
    This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

    734 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

    22 Experts available now in Live!

    Get 1:1 Help Now