Hi Mike As mentioned yesterday need to edit lmhosts file, and ensure that you are using it for lookups. The following is the complete procedure, you may be able to omit the first paragraph depending on how your TS is configured for name resolution. To force a client to use a specific domain controller we need only do the following: Start the registry editor Move to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetBT\Parameters From the Edit menu select New - DWORD value Enter a name of NodeType and press ENTER Double click on the new value and set to 4 (this sets the network to an M-mode/mixed which means it will perform a broadcast before querying name servers for resolution). By default a system is 1 if no WINS servers are configured (B-node/broadcase) or 8 if at least one WINS server is configured (H-node/queries name resolution first then broadcasts) Double click on the EnableLMHOSTS value and set to 1. If it does not exist select New - DWORD value from the Edit menu and enter a name of EnableLMHOSTS Close the registry editor Reboot the machine The machine is now configured to broadcase for a domain controller on a local subnet and then query a name server. If no domain controllers are found on the WINS server, or WINS is not used it will then search the LMHOSTS file. The next stage is to edit this file. Check for the LMHOSTS file C:\>dir %systemroot%\system32\drivers\etc\lmhosts If the file does not exist copy the sample host file C:\>copy %systemroot%\system32\drivers\etc\lmhosts.sam %systemroot%\system32\drivers\etc\lmhosts 1 file(s) copied. Edit the file using edit.exe, don't use notepad.exe C:\>edit %systemroot%\system32\drivers\etc\lmhosts Goto the end of the comments and add a new line of the format <ip address> <name of DC> #PRE #DOM:<domain name> #<comment> e.g. 200.200.200.50 titanic #PRE #DOM:savilltech #savilltech domain controller Save the changes to the file and exit edit.exe Force the machine to reload the LMHOSTS file (or just reboot) C:\>NBTSTAT -R Note: The -R must be in capitals, the command is case sensitive Check the cache C:\>NBTSTAT -c At this point the configuration is complete and a reboot is advisable. If this fails to work get in touch with your comms team and ask them to add ip helpers to the router local to your TS. Thanks Andrew -----Original Message----- From: Lee, David (CITY TREASURY) [mailto:David.Lee@xxxxxxxxxxxxxxx] Sent: 15 April 2003 16:45 To: 'thin@xxxxxxxxxxxxx' Subject: [THIN] Re: NT 4 domain controller issue SET command to configure the %logonserver% variable? -----Original Message----- From: Michael Boggan [mailto:MBoggan@xxxxxxxxxxx] Sent: 15 April 2003 16:26 To: 'THIN' Subject: [THIN] NT 4 domain controller issue I have a domain that spans 2 segments connected over the wan. On one side is the PDC and a BDC along with a WINS server. On the other side, there is a BDC and a WINS server. On that side there are several WinNT TSE / Citrix XP servers. On most of those servers, when a user logs in it uses the BDC on that side to authenticate and run the login script from, but when users log into one of the servers, it is using the PDC on the other segment. This is causing problems with slow logins and missing drive mappings from the login script. Is there any way to tell that server which DC to use? What controls that? _________________________________ Michael Boggan Network Engineer/Citrix Admin Virtual Desktop Inc. Dallas, Texas Ph: (972) 960-6400 Fax: (972) 960-6445 email: mboggan@xxxxxxxxxxx http://www.virtualdesktopinc.com <http://www.virtualdesktopinc.com> _________________________________ ******************************************************** This Week's Sponsor - ThinPrint Simply the best print solution for Microsoft Terminal Services and Citrix Metaframe. http://www.thinprint.com/ ********************************************************** For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link: http://thethin.net/citrixlist.cfm ******************************************************** This Week's Sponsor - ThinPrint Simply the best print solution for Microsoft Terminal Services and Citrix Metaframe. http://www.thinprint.com/ ********************************************************** For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link: http://thethin.net/citrixlist.cfm ********************************************************************** This message (including any attachments) is confidential and may be legally privileged. If you are not the intended recipient, you should not disclose, copy or use any part of it - please delete all copies immediately and notify the Hays Group Email Helpdesk at email.helpdesk@xxxxxxxx Any information, statements or opinions contained in this message (including any attachments) are given by the author. They are not given on behalf of Hays unless subsequently confirmed by an individual other than the author who is duly authorised to represent Hays. A member of the Hays plc group of companies. Hays plc is registered in England and Wales number 2150950. Registered Office Hays House Millmead Guildford Surrey GU2 4HJ. ********************************************************************** ******************************************************** This Week's Sponsor - ThinPrint Simply the best print solution for Microsoft Terminal Services and Citrix Metaframe. http://www.thinprint.com/ ********************************************************** For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link: http://thethin.net/citrixlist.cfm