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?

    Thanks!
     
    Sumner Paine, Sep 30, 2004
    #1
    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 http://www.jsiinc.com


    Jerold Schulman
    Windows: General MVP
    JSI, Inc.
    http://www.jsiinc.com
     
    Jerold Schulman, Sep 30, 2004
    #2
    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.