Solved

Export list of disabled user accounts

Posted on 2006-10-20
4
594 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

by Batuhan Cetin Within the dynamic life of an IT administrator, we hold many information in our minds like user names, passwords, IDs, phone numbers, incomes, service tags, bills and the order from our wives to buy milk when coming back to home.…
Recently, I had the need to build a standalone system to run a point-of-sale system. I’m running this on a low-voltage Atom processor, so I wanted a light-weight operating system, but still needed Windows. I chose to use Microsoft Windows Server 200…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

617 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