• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Showmehowtodoit.com

Information Technology Blog and Documentation Made Easy

  • Citrix
    • AppDNA
    • Command Center
    • NetScaler
    • XenApp
    • XenDesktop
  • Microsoft
    • Active Directory
    • Exchange
    • SQL Server
  • VMware
    • vRealize
    • vSphere
  • Training
  • Contact

How to Add Additional Columns in Active Directory Users and Computers Console

May 9, 2012 By George Michaelides

This article describes how to add additional columns in Active Directory Users and Computers console as the current list of available columns is limited to a basic few ones.  This comes especially handy where the schema is extended and many of the extended attributes are not readily available for selection.

One basic method is to utilize AdsiEdit.msc and another to utilize the LDIFDE command.  This guide assumes that Window 2008 R2 is utilized.

Method 1 – AdsiEdit.msc

1.  From the Start menu, run AdsiEdit.msc.

2.  Right-click ADSI Edit and click on Connect to…

3.  In the Select a well known Naming Context drop-down menu, select Configuration and click OK.

4.  Navigate to CN=DisplaySpecifiers, CN=409 and double-click CN=default-Display.

5.  Locate the extraColumns attribute and click on Edit.

6.  In the add field enter the appropriate attribute with the proper format.  In our example, we will utilize the following technicalDepartment,Technical Department,0,150,0.

According to article Modifying Existing User Interfaces the format is as follows:

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

In our example, the 150 value is the width that we selected in pixels when viewed in the console.

Click OK and OK to Exit.

Method 2 – Using LDIFDE

** This section is pending  **

Displaying the Columns in Active Directory Users and Computers Console

7.  Now start Active Directory Users and Computers console, and navigate to Saved Queries and right-click it.  Click New, and Query.

8.  Enter the following in the Name field “All Users” (this can be anything) and click on Define Query.

9.  In the Name drop-down menu, select Has a value.  You can actually customize any query you like, but for simplicity the Has a value is selected.

Click OK and OK again.  The query will populate some user names depending on your domain.

10.  With the Saved Query selected, click on Add/Remove Columns… (Also ensure that Advanced Features is selected – can be performed beforehand).

11.  On the Available columns, select the desired attribute and click on Add ->.  As you noticed, the attribute is listed by the Display Name we defined earlier and not the ldap name which in our case was technicalDepartment.

Click OK.

12.  As you can now see, the Technical Department column appears now on the console. Also remember that the default width may need to be adjusted depending on your specific attribute.

13.  Right-click a user, select Properties.  Navigate to the Attribute Editor (remember that the Advanced View must be enabled in the console).  Locate the specific attribute.  In our case it is Technical Department.

14.  Now you can double-click the attribute and enter the appropriate information.

15.  Once you click OK and navigate back to the Saved Queries, the value entered will be displayed.  (A refresh of the console may be required.)

Filed Under: Active Directory Tagged With: Active Directory

Primary Sidebar

Recent Posts

  • Unidesk 4 Getting Started Guide
  • Unidesk File Share Configuration
  • Unidesk Active Directory Integration
  • How to Change the Unidesk Administrator Password
  • Unidesk Licensing for the Enterprise Layer Manager

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.Accept Read More
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT
87