RE: Export list of usernames WinNT and Win2K servers

From: Germano, Tomas (
Date: 12/13/04

  • Next message: Kirk Brady: "RE: Windows XP local Privileges"
    To: 'q q' <>,
    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 []
    Enviado el: Sabado, 11 de Diciembre de 2004 04:39 p.m.
    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
    > 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 !
    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

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

    Relevant Pages

    • Re: command query
      ... > I have a question regarding a unix command that maybe someone can help ... gives the usernames of everyone logged in. ... - Do the first part of the first suggestion to get the ...
    • Re: How to Tody Up Piped files
      ... > Anyone know how to tidy up piped files? ... FIND filters out the line "The command completed" ... suspect that usernames cannot contain a dot. ...
    • Re: Mapping a Drive - Vista (laptop) to WinXP (Desktop)
      ... are both usernames set up on both machines with the necessary privileges? ... select Network. ... Not enough server storage is available to process this command. ...
    • Removing users from groups on startup
      ... How do I automatically remove users from certain groups when I logon? ... I've tried "NET LOCALGROUP", but the usernames contain spaces, which seem to break the command. ...