Identifying all non-standard or custom attributes in your Active Directory schema

Hi guys,

I hope you are all well and can assist.

Our company has, over the years, defined custom attributes in the Active Directory schema.

However, no documentation is available ad to what these are.

As we are looking at upgrading our domain controllers to 2012, i want to identify any custom attributes that have been defined.

Any help greatly appreciated.

Thank you.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mike KlineCommented:
Not an easy script to do this one, takes some work but it is doable.  The Microsoft AD team wrote a blog entry for this exact issue

exact some procedures in a TechNet magazine article

I suspect John used the DS blog entry to write his article



Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Mike KlineCommented:
Quick add-on I don't want to make it sound like John plagiarized...but the DS teams article was in January and the TechNet magazine in April.   We all use the DS team blog :)


Retrieve all Attributes

AdFind.exe -schema -f “objectClass=attributeSchema” cn lDAPDisplayName -nodn -csv >Attributes.txt

Retrieve all Classes

AdFind.exe -schema -f “objectclass=classSchema” cn lDAPDisplayName -nodn -csv >Classes.txt

Simon336697Author Commented:
Thanks so much
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Active Directory

From novice to tech pro — start learning today.