How to get NetBIOS based network applications working in Win7 or Server 2008

Home > Blogs > Windows 7 > How to get NetBIOS based network applications working in Win7 or Server 2008

How to get NetBIOS based network applications working in Win7 or Server 2008

Like This Blog 0 Rick Trader
Added by October 17, 2012

Has your NetBIOS based network applications stopped working?

  • Have you recently upgraded your operating system to either Windows 7 or Windows Server 2008?
  • Are you using an LMHosts file to resolve the NetBIOS Name to an IP Address?

If so, there is a simple solution to your problem.

First, what is causing the problem; Windows 7 and Server 2008 no longer parse the LMHosts file during the name resolution process if you have configured one or more DNS entries in the TCP/IP settings. This does not matter whether they are configured manually or dynamically.

Second, the solution, if your applications do not support using WINS and requires the use of a LMHosts file or you do not have WINS in your environment the solution is a simple one. The first step is to modify the current entry in the LMHosts file. In the following example, the NetBIOS name of the server I am trying to resolve is Server1 with and IP Address of Here is what the entry would look like:    Server1 #PRE




#PRE #Server1 #PRE causes the system to preload the specified entries into the name cache. Names are now resolved from cache instead of parsing the file. Entries with the #PRE tag are loaded automatically into memory at initialization or manually by typing NBTSTAT –R at an administrative command prompt.

Note: The -R switch is case sensitive.

Note: If User Account Control (UAC) is enabled you must launch the application you are going to edit the LMHOSTS file with administrative privileges.

Keeping in mind that this file is resident on the local computer it must now be updated on all computers that require name resolution for the NetBIOS based application. Using Group Policy Object (GPO) new Preference feature to distribute the new file will simplify this process. I will blog in the future how to use a GPO to distribute or update files.

Until next, ride safe!

Rick Trader
Windows Server Instructor – Interface Technical Training
Phoenix, AZ

Videos You May Like

Creating Dynamic DNS in Network Environments

0 506 1

This content is from our CompTIA Network + Video Certification Training Course. Start training today! In this video, CompTIA Network + instructor Rick Trader teaches how to create Dynamic DNS zones in Network Environments. Video Transcription: Now that we’ve installed DNS, we’ve created our DNS zones, the next step is now, how do we produce those … Continue reading Creating Dynamic DNS in Network Environments

Configuring Windows Mobility Center and How to Turn it On and Off

1 1396 1

Video transcription Steve Fullmer: In our Windows training courses, we often share information about the Windows 8.1 Mobility Center. Mobility Center was introduced for mobile and laptop devices in Windows 7. It’s present and somewhat enhanced in Windows 8. Since we don’t have mobile devices in our classrooms, I decided to take a little bit … Continue reading Configuring Windows Mobility Center and How to Turn it On and Off

Agile Methodology in Project Management

0 187 0

In this video, you will gain an understanding of Agile and Scrum Master Certification terminologies and concepts to help you make better decisions in your Project Management capabilities. Whether you’re a developer looking to obtain an Agile or Scrum Master Certification, or you’re a Project Manager/Product Owner who is attempting to get your product or … Continue reading Agile Methodology in Project Management

Write a Comment

Share your thoughts...

Please fill out the comment form below to post a reply.