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

Create a basic LMHOST files on a Win XP Pro on a Domain

I have one XP Pro 64 system that when it loads its hanging at Applying Settings.
After about 2 min it goes on and is fine.

In the past to resolve this, I would edit the LMHost file adding in the address of the DNS server.
After booting once with the LMHOST setup, it didnt require it again. But did stop the hang issues.

Please, anyone who knows how to setup a very basic LMHOST file that just points DNS to my DNS server 192.168.100.5

Where do I place the file once modified (I have found the LMHOST.sam file and understand the .sam must be removed to make it work.

Does the file need to be copied from Windows\System32\drivers\etc to another folder like just the System32 folder

I see all kinds of how to write them, but need this to be very easy, just to help the system to resolve as boot so stops hanging.

Thank you
0
ACCTechnologies
Asked:
ACCTechnologies
1 Solution
 
Shift-3Commented:
The file just needs to be named LMHOSTS and placed in %systemroot%\system32\drivers\etc.
 
 There wouldn't be any point to putting your DNS server in it though; Windows addresses DNS servers by IP as they're specified in TCP/IP properties.  It doesn't have to resolve their NetBIOS names.
 
 You could try adding a domain controller to the file as a troubleshooting measure.  To do that you'd enter a line like this:
102.54.94.97     yourdc         #PRE #DOM:yourdomain
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

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