mailing list archives
Re: Export list of usernames WinNT and Win2K servers
From: SVB <chatkal () gmail com>
Date: Mon, 13 Dec 2004 16:50:16 -0500
That would indeed provide an output... of everyone who have ever
logged on locally to the server. It will not however display any
userids created for applications and services, nor will it show the
users who do have an id on the server, but never haven't logged on to
it yet (or used the network logon rather than console).
NET USER command should provide the full list methinks.
On Sat, 11 Dec 2004 19:38:37 +0000, q q <systemcracker () gmail com> wrote:
In Linux/Unix you can less the passwd file and get a list of all the
their usernames etc and have it be a regular text file. I would like to
know if there is some way to get something similar for Windows servers
on win2k and XP, you can do this:
pull up a command prompt (start>run>cmd)
dir /b "c:\documents and settings" > c:\myfile.txt
this will output all usernames to c:\myfile.txt
it should work on NT and 2kserver.
Geekiness, computing tutorials, setting up Apache, PHP and mySQL on windows
find it all at http://www.puremango.co.uk !