Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 354
  • Last Modified:

Active Directory Audit

Hi,

We are having a bit of an audit at work and the 3rd Party want me to provide them with some information.

This information is things like:

System Generated List of Users
System Generated List of Users and the Groups they are in
System Generated List of User Accounts Disabled.

What is the best way to get this sort of thing?

Is there a 3rd Party piece of software?

Thanks

Paul
0
essexboy80
Asked:
essexboy80
1 Solution
 
Mike KlineCommented:
There are a lot of good ways to do this, you could use adfind by Joe Richards for this http://www.joeware.net/freetools/tools/adfind/index.htm
In my examples I'm creating a csv file on your C drive for the results
System Generated List of Users
adfind -default -f "&(objectcategory=person)(objectclass=user)" samaccountname displayname -csv > c:\users.csv
 System Generated List of Users and the Groups they are in
adfind -default -f "&(objectcategory=person)(objectclass=user)" samaccountname displayname memberof -csv > c:\usersGroups.csv  
System Generated List of User Accounts Disabled.
adfind -default  -bit -f &(objectcategory=person)(objectclass=user)(userAccountControl:AND:=2) samaccountname displayname -csv > c:\disabledUsers.csv
Thanks
Mike
0
 
AmericomCommented:
For 3rd party product, we use ESR from scriptlogic. Here's a capture to give you some idea what you can do.  
http://www.experts-exchange.com/Software/Server_Software/File_Servers/Active_Directory/Q_24383040.html#a24310810
0
 
essexboy80Author Commented:
still trying to achieve this
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now