From LedHed's Wiki
Revision as of 21:48, 16 March 2016 by Ledhed (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

THIS IS AWESOME!!!!

DISCLAIMER

The following article involves using ADSI Edit. This can be dangerous to your AD, so be careful. Sanity check the steps below, I tend to paraphrase so use your best judgment.
I AM NOT RESPONSIBLE FOR ANY DAMAGE YOU MAY CAUSE BY FOLLOWING THIS ARTICLE!

Add Additional Attributes to Computer Search

ADSIEDIT
Connect to Forrest level Domain Controller, Configuration naming context
CN=Configuration,DC=<YourDomain>,DC=<YourTLD>\CN=DisplaySpecifiers\CN=409\
CN=computer-Display <- Properties
Edit the attributeDisplayNames attribute.
Add the attribute you want to see in the following format:

<ldapdisplayname>,<column header>

Example:

serialNumber,Serial Number


Add Additional Attributes to ADUC columns

ADSIEDIT
Connect to Forrest level Domain Controller, Configuration naming context
CN=Configuration,DC=<YourDomain>,DC=<YourTLD>\CN=DisplaySpecifiers\CN=409\
CN=default-Display <- Properties
Edit the extraColumns attribute.
Add the attribute you want to see in the following format:

<ldapdisplayname>,<column header>,<default visibility>,<width>,<unused>

Example:

comment,Comment,0,150,0

Note: The above modification will make the 'comment' attribute available to default containers only. If you want the comment attribute as a column option for OU's then you would have to add 'comment' to CN=organizationalUnit-Display\extraColumns attribute. SEE NOTES SECTION BELOW, modifying CN=organizationalUnit-Display may result in losing the default column options.


Notes

  • CN=409 is for US English, for other languages use the corresponding number.
  • extraColumns refers to the extra columns you can add to a display.
  • extraColumns is not cumulative. If an object's extraColumns is empty then it refers to the extraColumns in CN=default-Display. If you add even one item to an objects extraColumns attribute, then you need to add all the items you want displayed, otherwise you only get the one you just added. For example if you add serialNumber to CN=organizationalUnit-Display, and want all the default extraColumns (Name, Description, etc...), then you need to copy all the items in CN=default-Display\extraColumns to CN=organizationalUnit-Display\extraColumns + add serialNumber.



Reference

http://www.showmehowtodoit.com/how-to-add-additional-columns-in-active-directory-users-and-computers-console/

http://www.pberblog.com/blog/add-extra-columns-to-active-directory-users-and-computers-display/