none
Clear/Disable NetBIOS cache (nbtstat -R) RRS feed

  • Question

  • Hi,

    I dont know if this is the right place to ask, If not, please refer me to the right place.

    In windows nbtstat command, we can use parameter -R to clear cache:

     -R   (Reload)         Purges and reloads the remote cache name table

    1. Is it possible to configure in Windows to avoid having this cache at all ? Maybe in regsitery or Control Center ?

    2. How via C++ API can i clear this cache ?

    Thanks

    Tuesday, March 7, 2017 11:18 AM

All replies

  • Hi,

    “Is it possible to configure in Windows to avoid having this cache at all ?”
    Why do you want to disable the cache?
    As far as I know, the cache is a default behavior and it is not available to disable it.

    Actually the cache will be refreshed automatically after about 10 minutes by default and this time could be configured to 1 minute at minimum.

    It could be set with the registry key: 

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetBT\Parameters\CacheTimeout

    Please share us more details of the issue, it would be very useful to understand the exact issue and we may have more suggestions for you.

    Best regards,
    Joy.


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.


    Wednesday, March 8, 2017 10:32 AM
    Moderator