List of enabled user accounts

Discussion in 'Windows Server' started by Sumner Paine, Sep 30, 2004.

  1. Sumner Paine

    Sumner Paine Guest

    I'm trying to export a list of all enabled user accounts from an active
    directory domain (Windows Server 2000). Anyone know how?

    Sumner Paine, Sep 30, 2004
    1. Advertisements

  2. If you have a Windows XP workstation or Windows Server 2003 domain member, open
    a CMD.EXE prompt and type:

    dsquery user domainroot -Limit 0 | dsget user -dn -disabled |find " no "

    See tips 6820, 7714, and 8260 in the 'Tips & Tricks' at

    Jerold Schulman
    Windows: General MVP
    JSI, Inc.
    Jerold Schulman, Sep 30, 2004
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.