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.