WINS query tool

  • Thread starter Thread starter Marty List
  • Start date Start date
M

Marty List

Does anyone know of a tool to do simple name resolution queries against
WINS? I'm not talking about "winscl.exe" or "netsh.exe wins" because by
default these require admin rights on the WINS server. And I'm not talking
about nslookup.exe which is DNS only.

I want a tool that can run with user rights and do NetBIOS name lookups with
optional suffixes, like 1C, 20, 1A, etc. Command line preferred, but at
this point I'll settle for a GUI tool.

This seems like a simple task but I can't find anything.
 
Hey Marty.

First off, winscl and netsh don't actually require admin if you have a Windows
2000 server, you just need to be in the WINS User group. I often throw
authenticated users into that group so anyone can do the lookups that need to.

Anyway, tools that don't use the admin interface to do the work are nmblookup
and nblookup. One is an MS tool, the other is a Samba tool that you can find
ports to Win32 of. They work completely unauthenticated.

joe
 
Excellent post, as usual. I even had nblookup.exe in my tools folder but
forgot about it.

Thanks Joe!
 
Try this way:

For /F %%i in (IPList.txt) do (
ping -n 1 %%i
nbtstat -A %%i |findstr /c "<00> UNIQUE"
)

Wensi
 
Back
Top