show workgroup members

  • Thread starter Thread starter Pete
  • Start date Start date
P

Pete

Is there a command line command to show all users in all computers
currently connected to a workgroup?

I know that

net users

will give a list of the users on the current computer, but there is no
"computer" paramater for this command. I've seen references to
something called showmbrs.exe in an old NT resource kit, but I can't
find any place to download it (or to confirm that it will work on XP if
I could find it).
 
Because a workgroup is a decentralized structure, my best guess is no, there
isn't simple way to get all users in a workgroup. The closest thing to do
would be to remote in to each computer in the workgroup and run net users on
each computer. Not the answer you're looking for I'm sure, maybe I'm wrong.
 
Showmbrs is a domain tool, it won't give you the information that you
want on a workgroup. By their very nature workgroups have no central
administration point so getting that kind of information is not always
as easy as it might be on a domain. Someone might have already created
an application to do what you want but I don't know of any off hand.

You could fairly easily get the information by using SysInternals'
PSExec and use it to query all the machines in your workgroup with the
NET USER command. You can use the results of the NET VIEW command and
have PSExec use the list to query the machines in your workgroup.

You can also use the AddUsers utility and have it get the information on
the machines in the workgroup, here again you could use the results of
the NET VIEW command as the query list of machines. You can use either
of these utilities to craft a small batch file that will get the names
of the accounts on the machines.

John
 

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

Back
Top