Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I know WINS is ancient. No need to remind me. For what it's worth, this effort is going toward a project to retire it from the environment altogether.

But before I can do that - I need to be able to scriptomatically or programmatically gather statistics from it.

See the screenshot below:

enter image description here

See "Total querries," (lol at the misspelling) "Record found", etc.?

How do I get at those values? They're not in Perfmon, they're not in any WMI class I've found. I can't find any related COM objects. There are counters like "queries/sec," but I don't care about queries/sec. I want total queries. Just like in the screenshot above.

I'll P/Invoke Win32 if I have to... just... where do I get these metrics?

share|improve this question
From my research, there's a JET database that WINS uses...there's a good place to start looking. – Nathan C Jun 19 '13 at 17:03
Per it looks like there's info in the registry and under C:\Windows\system32\Wins that might be useful. I didn't post an answer because I don't have WINS ;) – Nathan C Jun 19 '13 at 17:06
Are you trying to find clients that may still be using wins? if so we just looked at the firewall logs. – tony roth Jun 19 '13 at 19:45
up vote 6 down vote accepted

Found what I was looking for with netsh wins server show statistics. I'll have to parse some output text, but at least I can script it.

WINS stats

share|improve this answer
-1 for not explaining things. – tony roth Jun 19 '13 at 20:00
@tonyroth What's there to explain? netsh wins server show statistics returns the statistics. – Wesley Jun 19 '13 at 20:15
It is beyond obvious what his solution was, and I can't actually think of a better way to explain it. – Falcon Momot Jun 19 '13 at 20:16
lol no screen shot for me! – tony roth Jun 19 '13 at 20:18
That would do it! – MDMarra Jun 19 '13 at 20:21

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.