Tech Tip: Use NBTStat in Windows XP to load the contents of the LMHosts file
Takeaway: Follow these steps to load the contents of the LMHosts file with the NBTStat command.
If you're using an LMHosts file, you know that it maps NetBIOS names to IP addresses for hosts not located on the local subnet. You can also use an LMHosts file to back up WINS when it comes to resolving NetBIOS names for small networks.
After you create or edit the LMHosts file, you might think that you have to restart the computer in order to load the contents of the file into the NetBIOS name cache. However, there's an easier method that doesn't require restarting the computer. You can use the NBTStat command instead.
Follow these steps:
In this situation, the parameter is case-sensitive, so make sure you use an uppercase R.
This command forces Windows XP to purge the contents of the NetBIOS name cache and then reload the #PRE-tagged entries from the LMHosts file.
SponsoredWhite Papers, Webcasts, and Downloads
- Live Webcast: Save Time, Money and Manpower While Eliminating Redundancies from Your Data Backups PC Connection
- Sprint IPVoice Connect Fact Sheet Sprint
- Case Study: Clackamas County Oregon's Outdated Fibre Channel Infrastructure Runs Out of Capacity Dell EqualLogic
- Case Study: GHS Data Management - Improving Data Protection and Storage Reliability for Critical Databases Dell EqualLogic
- Advances in Data Warehouse Performance: I/O Elimination in DB2 IBM
Article Categories
- Security
- Security Solutions, IT Locksmith
- Networking and Communications
- E-mail Administration NetNote, Cisco Routers and Switches
- CIO and IT Management
- Project Management, CIO Issues, Strategies that Scale
- Desktops, Laptops & OS
- Windows 2000 Professional, Microsoft Word, Microsoft Excel, Microsoft Access, Windows XP,
- Data Management
- Oracle, SQL Server
- Servers
- Windows NT, Linux NetNote, Windows Server 2003
- Career Development
- Geek Trivia
- Software/Web Development
- Web Development Zone, Visual Basic, .NET





