Solved

Query AD user objects to report the samaccountname that was initially used to create user objects

Posted on 2013-11-14
4
374 Views
Last Modified: 2013-12-20
I would like to know if there is a query (preferably csvde command line) to report the samaccountname that was initially used to create user objects. Thank you
0
Comment
Question by:h2zero
[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 57

Accepted Solution

by:
Mike Kline earned 500 total points
ID: 39649025
Unfortunately  there is no attribute for whocreated  if you have old security logs and have auditing turned on you could look through those.

THanks

Mike
0
 
LVL 16

Expert Comment

by:gurutc
ID: 39649085
You can find out if you're lucky.  If you do backups of your DC and include the Security Log you can restore that log from backup for the day the user object was created.  If your logs don't roll over too quickly you may be able to find the userid object creation event.

This is the only way you'd be able to find this info out at this point

And it wouldn't be a report, it'd be one at a time.

Good Luck,
- gurutc
0
 

Author Comment

by:h2zero
ID: 39649100
What if I have a report of specific user object's samaccountname is there an ADSI query or edit that can be run against those samaccountnames to determine which samaccountname was initially used to create? Thank you
0
 
LVL 16

Expert Comment

by:gurutc
ID: 39649164
There isn't an ADSI query that will do what you need.  There's no attribute in AD for 'userid object creator.'  The only place that ever records the creation of a userid object is the Security Log, which rolls over too quickly to help most of the time.

Sorry to tell you that.

- gurutc
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

In-place Upgrading Dirsync to Azure AD Connect
Had a business requirement to store the mobile number in an environmental variable. This is just a quick article on how this was done.
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

759 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