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 172.16.48.101. Here is what the entry would look like:

172.16.48.101    Server1 #PRE

#Server1

 

 

#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

Agile Methodology in Project Management

0 154 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

Creating Users and Managing Passwords in Microsoft Office 365

0 643 3

In this Office 365 training video, instructor Spike Xavier demonstrates how to create users and manage passwords in Office 365.   For instructor-led Office 365 training classes, see our course schedulle: Spike Xavier SharePoint Instructor – Interface Technical Training Phoenix, AZ 20347: Enabling and Managing Office 365    

Detailed Forensic Investigation of Malware Infections – April 21, 2015

4 608 5

How does an investigator hunt down and identify unknown malware? In this recording of our IT Security training webinar on April 21, 2015, Security expert Mike Danseglio (CISSP / CEH) performed several malware investigations on infected computers and identify symptoms, find root cause, and follow the leads to determine what’s happening. He demonstrated his preferred … Continue reading Detailed Forensic Investigation of Malware Infections – April 21, 2015

Write a Comment

Share your thoughts...

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