Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Net User List  (Read 2069 times)

0 Members and 1 Guest are viewing this topic.

Carter

  • Guest
Net User List
« on: December 30, 2005, 02:25:02 PM »
Hey,

Anyone know how to write a batch file or the command you need on MS-DOS in order to get a complete list of all the users on the network in the form of a list containing User Name, Full Name and Comment.

You can get a list of all the users by doing:
Net User /Domain

and you can get each users information by running:
Net User username /Domain

Now I was able to get all this stuff by writing a program that creates batch files to execute these commands and read the resulting files( The results of redirecting the output to text files).
However it takes way too long and is not a very efficient way to do it.

Anyone know any special Net User commands or options or any special type of Pipping to acheive this result?

The current environment I'm using is NT if it makes any difference.

Thanks

ghostdog74



    Specialist

    Thanked: 27
    Re: Net User List
    « Reply #1 on: December 31, 2005, 05:11:40 AM »
    I think the NT resource kit "addusers" (or "adduser" ?) can do this. It's here http://www.dynawell.com/support/ResKit/download/wntaddusers.asp. Have a go.. ;D