Network Services

Monday, April 21, 2014

The –R Switch



The –R Switch
The -R switch is the exception that proves the rule because it has nothing to do with the –r switch. Let’s say that you have a bad name in the NetBIOS name cache but the right name is in the
LMHOSTS file. The LMHOSTS file contains NetBIOS names of stations and their associated IP addresses. Also, the cache is consulted before the LMHOSTS file is. The problem here is that the bad address will be in the cache (until it expires). To purge the NetBIOS name table cache and reload the LMHOSTS file into memory, simply use the nbtstat command with the –R switch, like so:
nbtstat –R

0 comments:

Post a Comment