Marc-Andre, Users open Accuterm in Citrix and logon to Jbase telnet server. Jbase telnet daemon calls remote.cmd from user's home drive file upon logon. Home drive location is determined from AD and Domain logon scripts are not used in this case. If you have networked home drive in AD or no homedrive at all Jbase defaults to Windows directory (C:\WINNT) and looks for remote.cmd there. Remote.cmd is unique for each user because it contains ports user uses with Jbase. Right now all the users of this software are forced to have their homedrives set to d:\users\%username% so when they log into Jbase their remote.cmd is run from there. If they log into citrix their home probably defaults to their profile as D: drive does not exist on my citrix servers (I use remapped drives) Our consultants were able to write a script to run with Accuterm and call different cmd file. I will probable jump on it and ask them to call %username%.cmd script depending on which user is logging on. After that I'll rename all the users remote.cmd files from D:\users\%username% folders into %username%.cmd and drop them all into c:\WINNT folder. Then I can specify network home drive for all users in AD. This way when user logs in Jbase is going to error out (because now home drive is set to network share) and default to C:\WINNT and look dor %username%.cmd there. I tried to place my remote.cmd in c:\winnt and set my homedrive to network share in AD and it worked. If your clients use JBase what is these users home drive is set to in AD?. Thanks, Pavlo Ignatusha Systems Network Coordinator Pembroke General Hospital Tel. (613) 732-3675 ext.6150 Fax. (613) 732-9986 www.pemgenhos.org "All that matters is love and work" - Sigmund Freud. -----Original Message----- From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx]On Behalf Of Marc-Andre Lapierre Sent: Thursday, September 30, 2004 2:16 PM To: thin@xxxxxxxxxxxxx Subject: [THIN] Re: conditional setting for home drive Can you give more detail about the ugly thing of your app. One of our client use exactly the same setup as you, JBASE3.0 and accuterm 97, we publish accuterm via citrix and we have no problem at all. __________________________________________________________ Marc-Andr? Lapierre Consultant Systems & Infrastructures 514 977-6170 Email : malapierre@xxxxxxxxxxxxxxxx -----Original Message----- From: Pavlo Ignatusha [mailto:pignatusha@xxxxxxxxxxxxx] Sent: 23 septembre, 2004 15:54 To: Org Thin (E-mail) Subject: [THIN] conditional setting for home drive Hi group, I have an older telnet-based application (Jbase30 )running on the dedicated server. Users access it through terminal programm (Accuterm 97) published in Citrix. This app seem to require an home drive set to local drive d:\Users\username. We set user's home drive to local d:\users\username in AD and it works fine. Now when same user uses normal windows apps in my citrix (with remapped drives to x and y) there is no d drive and things become pretty ugly. I think about clearing home drive settings in AD and manipulate user home drive settings depending on server he/she logs on to. I can get as far as setting the condition in my logon script: If exist d:\JBASE30\bin\jsh.exe goto JBASE If exist %windir%\system\kernel32.dll goto WIN_OK If exist %windir%\system32\kernel32.dll goto WIN_OK :WIN_OK net use u: \\server_name\sharename\%username% SET HOMEDRIVE=U SET HOMESHARE=\\server_name\sharename\%username% echo The letter U: on your computer has been mapped to your user account goto EXIT :JBASE SET HOMEDRIVE=D SET HOMEPATH=\USERS\%USERNAME% goto EXIT :EXIT I verified my condition works. Currently Home Drive setting for the test user is set to local drive and is blank. Any server I log in to defaults my home variables to systemroot\documents and Settings\%username%. This means I can not overwrite what is set in AD. Can someone piont me in the right direction? Thanks a lot, Pavlo Ignatusha Systems Network Coordinator Pembroke General Hospital Tel. (613) 732-3675 ext.6150 Fax. (613) 732-9986 www.pemgenhos.org "All that matters is love and work" - Sigmund Freud. ******************************************************** This Weeks Sponsor RTO Software Do you know which applications are abusing your CPU and memory? Would you like to learn? -- Free for a limited time! Get the RTO Performance Analyzer to quickly learn the applications, users, and time of day possible problems exist. http://www.rtosoft.com/enter.asp?id=320 ********************************************************** Useful Thin Client Computing Links are available at: http://thin.net/links.cfm *********************************************************** For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link: http://thin.net/citrixlist.cfm ******************************************************** This Weeks Sponsor RTO Software Do you know which applications are abusing your CPU and memory? Would you like to learn? -- Free for a limited time! Get the RTO Performance Analyzer to quickly learn the applications, users, and time of day possible problems exist. http://www.rtosoft.com/enter.asp?id20 ********************************************************** Useful Thin Client Computing Links are available at: http://thin.net/links.cfm *********************************************************** For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link: http://thin.net/citrixlist.cfm