RE: Export list of usernames WinNT and Win2K servers

From: Germano, Tomas (TGermano_at_metrovias.com.ar)
Date: 12/13/04

  • Next message: Kirk Brady: "RE: Windows XP local Privileges"
    To: 'q q' <systemcracker@gmail.com>, security-basics@securityfocus.com
    Date: Mon, 13 Dec 2004 15:43:33 -0300
    
    

    >dir /b "c:\documents and settings" > c:\myfile.txt

    this command only show the users that was loged to machine (localy).

    Tomas A. Germano

    -----Mensaje original-----
    De: q q [mailto:systemcracker@gmail.com]
    Enviado el: Sabado, 11 de Diciembre de 2004 04:39 p.m.
    Para: security-basics@securityfocus.com
    Asunto: Re: Export list of usernames WinNT and Win2K servers

    > In Linux/Unix you can less the passwd file and get a list of all the
    users
    > 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)

    and type

    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 !
    El contenido de este mail y cualquier archivo adjunto son confidenciales.
    Esta dirigido solo a los destinatarios. Cualquier divulgacion, distribucion
    o copia de esta comunicacion o cualquiera de sus contenidos esta prohibida.
    Si Ud. ha recibido este mail por error por favor reenvielo al remitente
    inmediatamente, borre el original y cualquier copia que resida en su
    computadora.
    

  • Next message: Kirk Brady: "RE: Windows XP local Privileges"