How to Check and Flush NetBIOS Name Resolution Cache in Windows 11 Using nbtstat

When connecting to local network shares, legacy file servers, or shared office printers on Windows local area networks (LANs), Windows often relies on NetBIOS over TCP/IP (NetBT) alongside modern DNS to resolve hostnames. If a network workstation changes its local IP address or is replaced, Windows 11 may retain outdated NetBIOS name-to-IP mappings in its internal memory cache, causing “Network Path Not Found” or permission errors. The command-line utility nbtstat enables administrators to inspect active NetBIOS tables, check registered names, and purge cached records instantaneously.

What Is NetBIOS Name Resolution and the Remote Name Cache?

NetBIOS over TCP/IP provides computer naming and session services across private subnets. When Windows 11 resolves a legacy device name, it queries several sources in sequence: local NetBIOS cache, WINS servers, broadcast requests, and the LMHOSTS lookup file.

The NetBIOS remote name table functions as a short-term memory cache containing:

  • NetBIOS Hostnames: 16-character names identifying network computers, workgroups, and domain controllers.
  • Resource Suffixes: The hex-encoded 16th byte defining service roles (such as <00> for Workstation service, <20> for File Server service, or <1B> for Domain Master Browser).
  • Resolved IP Addresses: The IPv4 addresses currently associated with those network names.
  • Time to Live (TTL): The remaining countdown before a cached record expires naturally.

Launching an Elevated Command Prompt in Windows 11

Because querying low-level network adapter tables and modifying system routing caches requires administrative privileges, nbtstat must be run from an elevated shell.

  1. Press the Windows Key + S to open the Windows 11 search bar.
  2. Type cmd or Command Prompt.
  3. Right-click the Command Prompt result in the search list and choose Run as administrator (or click Run as administrator in the right-hand preview panel).
  4. Click Yes when the User Account Control (UAC) prompt appears on your desktop.

Method 1: Check the Current NetBIOS Remote Name Cache

Before purging any data, inspect what hostnames and IP addresses Windows has stored in its active memory cache.

  1. In your elevated Command Prompt window, type the following command and press Enter:
    nbtstat -c
  2. Windows displays the NetBIOS Remote Cache Name Table, showing:
    • Name: The hostname of the remote machine.
    • Type: Whether the entry is a UNIQUE address or a GROUP broadcast.
    • Host Address: The corresponding IPv4 address.
    • Life [sec]: The number of seconds remaining before the cache entry is purged automatically.
  3. If the table returns “No names in cache”, your system currently has no active remote NetBIOS resolutions stored.

Method 2: Flush and Reload the NetBIOS Cache

If a remote server’s IP address has changed and your workstation continues attempting to communicate with the obsolete IP, flushing the cache forces Windows to discard stale entries and re-read preloaded entries from the LMHOSTS file.

  1. In the elevated Command Prompt, execute:
    nbtstat -R
  2. Note: The -R switch must be entered in uppercase. Entering lowercase -r displays lookup statistics rather than clearing the cache.
  3. The console outputs confirmation:
    Successful purge and preload of the NBT Remote Cache Name Table.
  4. Run nbtstat -c again to confirm that previous stale hostnames have been removed from the table.

Method 3: Release and Re-Register Local NetBIOS Names

If other computers on your office network cannot find your Windows 11 PC by its computer name, your own machine’s registration with WINS or the local subnet may have lapsed or conflicted.

  1. Execute the release and refresh command:
    nbtstat -RR
  2. Note: Both letters must be uppercase.
  3. Windows broadcasts name release messages to WINS servers and refreshes its local name registrations across all active network adapters.
  4. The terminal displays:
    The NetBIOS names registered by this computer have been refreshed.

Method 4: View Local NetBIOS Adapter Status and Name Tables

To inspect your machine’s own registered NetBIOS names and MAC hardware addresses per adapter:

  1. Run the local name table command:
    nbtstat -n
  2. This lists your local computer name, workgroup name, and status codes (such as Registered or Conflict).
  3. To query the NetBIOS status of another computer across the network using its IP address:
    nbtstat -A 192.168.1.50
  4. This queries the remote machine at 192.168.1.50 and lists its NetBIOS name table and MAC address without requiring third-party scanning tools.

Complementary Step: Flush DNS Cache in Windows 11

Because modern Windows network discovery attempts DNS lookups before falling back to NetBIOS, resolving persistent connectivity failures often benefits from pairing NetBIOS flushes with a standard DNS cache purge.

Run the following command immediately after nbtstat -R:

ipconfig /flushdns

Combining both commands completely clears Windows name resolution pathways, ensuring clean network handshakes to all shared resources.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.