From LedHed's Wiki
Jump to: navigation, search
(Created page with "THIS IS AWESOME!!!! == Reference == http://www.showmehowtodoit.com/how-to-add-additional-columns-in-active-directory-users-and-computers-console/ Category:Windows")
 
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
THIS IS AWESOME!!!!
 
THIS IS AWESOME!!!!
 +
 +
== DISCLAIMER ==
 +
<span style="color:red">
 +
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. <br>
 +
'' '''I AM NOT RESPONSIBLE FOR ANY DAMAGE YOU MAY CAUSE BY FOLLOWING THIS ARTICLE!''' ''
 +
</span>
 +
 +
== Add Additional Attributes to Computer Search ==
 +
ADSIEDIT <br>
 +
Connect to Forrest level Domain Controller, '''Configuration''' naming context <br>
 +
CN=Configuration,DC=<YourDomain>,DC=<YourTLD>\CN=DisplaySpecifiers\CN=409\ <br>
 +
CN=computer-Display <- Properties <br>
 +
Edit the '''attributeDisplayNames''' attribute. <br>
 +
Add the attribute you want to see in the following [http://msdn.microsoft.com/en-us/library/windows/desktop/ms677291(v=vs.85).aspx format]: <br>
 +
<ldapdisplayname>,<column header>
 +
Example:
 +
serialNumber,Serial Number
 +
 +
 +
== Add Additional Attributes to ADUC columns ==
 +
ADSIEDIT <br>
 +
Connect to Forrest level Domain Controller, '''Configuration''' naming context <br>
 +
CN=Configuration,DC=<YourDomain>,DC=<YourTLD>\CN=DisplaySpecifiers\CN=409\ <br>
 +
CN=default-Display <- Properties <br>
 +
Edit the '''extraColumns''' attribute. <br>
 +
Add the attribute you want to see in the following [https://msdn.microsoft.com/en-us/library/windows/desktop/ms677291(v=vs.85).aspx format]: <br>
 +
<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.
 +
 +
  
  
Line 5: Line 44:
 
== Reference ==
 
== Reference ==
 
http://www.showmehowtodoit.com/how-to-add-additional-columns-in-active-directory-users-and-computers-console/
 
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/
  
  
 
[[Category:Windows]]
 
[[Category:Windows]]

Latest revision as of 21:48, 16 March 2016

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/