Solved

Export list of disabled user accounts

Posted on 2006-10-20
4
592 Views
Last Modified: 2012-05-05
How can I export a list of disabled AD user accounts to a .csv file?  I don't see any filtering options in the ADUC to allow me to easily do this.  Anyone have a handy script or easy way of getting this list?

Thanks
0
Comment
Question by:MCPJoe
  • 2
4 Comments
 
LVL 14

Expert Comment

by:inbarasan
ID: 17773887
Dear MCPJoe,
http://manageengine.adventnet.com/products/ad-manager/active_directory_user_reports.html

You can check this tool. This is freeware for single domain

Cheers!
Inba
0
 
LVL 26

Accepted Solution

by:
Pber earned 250 total points
ID: 17773896
You can do it directly in AD users and Computers.

Load ADUC
Select Saved Queries
Right Click, New, Query
Give it a name of Disabled users or something
Ensure it's Query root is the at the root of your domain.
Click Define Query
Select the Disabled Accounts on the Users TAB and click OK.
The query should now fill with the disabled users.
To save to text file, right click the Query and select Export List
Select Save as Type as Text (Comma Delimited)

you can also do it with CSVDE, but that's a little tougher.
0
 
LVL 9

Author Comment

by:MCPJoe
ID: 17774257
WOW, that was easy.  Thanks for the tip, the ADUC query worked like a charm!!!
0
 
LVL 26

Expert Comment

by:Pber
ID: 17774273
Saved queries rock.
Glad I could help.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A quick step-by-step overview of installing and configuring Carbonite Server Backup.
Learn about cloud computing and its benefits for small business owners.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question