How to join a domain across subnets

How to join a domain across subnets

  1. Edit: C:\Windows\system32\drivers\etc\lmhosts (start with lmhosts.sam if lmhosts does not exist) by adding a line for the domain controller:

    IP Address  <domain server name> #DOM:<short domain name>

    Ex: 192.168.1.202  ws2003  #DOM:forayadams-ad
  2. Network Connections->Local Area Connection->Properties
  3. Internet Protocol (TCP/IP)->Properties
  4. Advanced->WINS
  5. Import LMHOSTS...
  6. Select C:\Windows\system32\drivers\etc\lmhosts

That may be enough. If it doesn't work then add the DNS server that knows about the domain controller (possibly the domain controller itself) to the list of DNS servers for the client. NOTE: If you use this KB article please update this last line when you determine if it is needed or not.

NOTE: In at least one instance I had to use the fully qualified domain name to find the DC. This might have been because I tried to join once before loading the lmhosts file. Ex: forayadams-ad.foray.com



© 2023 Foray, LLC - All Rights Reserved