WINS query tool

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.
 
J

Joe Richards [MVP]

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
 
M

Marty List

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

Thanks Joe!
 
W

Wensi Peng

Try this way:

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

Wensi
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top