Windows NT NBTSTAT -R vs. LAN Manager ADDNAME (107060)
The information in this article applies to:
- Microsoft Windows NT Server 3.1
- Microsoft Windows NT Workstation 3.1
- Microsoft Windows NT Advanced Server 3.1
- Microsoft Windows NT Server 4.0
- Microsoft Windows NT Workstation 4.0
This article was previously published under Q107060 SUMMARY
The ADDNAME utility that ships with LAN Manager TCP/IP allows you to enter
LAN Manager NetBIOS names and their IP addresses into the TCP/IP name cache
without modifying the LMHOSTS file. The same functionality is available in
Windows NT by the NBTSTAT utility.
To add a new NetBIOS name IP address in Windows NT, do the following:
- Edit the file <winnt root>\SYSTEM32\DRIVERS\ETC\LMHOSTS.
- Add the new IP address and NetBIOS name.
- Put #PRE at the end of the line if you want the address to be cached
into memory. Otherwise, Windows NT will search the LMHOSTS file if the
name is not found in the cache which could take longer.
- Run NBTSTAT -R.
The -R parameter rereads the LMHOSTS file and adds #PRE lines into the name
cache.
REFERENCES
Windows NT "TCP/IP Reference"
Modification Type: | Major | Last Reviewed: | 8/8/2001 |
---|
Keywords: | kbnetwork KB107060 |
---|
|