07. How to insert User information in any Application via Group Policies?

Summary:

How to read Active Directory attribute data for a User object and insert those details in Adobe Acrobat Identity node.

Business case:

You have a requirement to insert User information details i.e. Name, Title, or Email for any application. For example, you want to insert these details under the Identity node for Adobe Acrobat Preferences.

In this article, we will demonstrate how to read that information from Active Directory User Object attributes and insert that data for the Identity tab in Adobe Acrobat.

Solution:

First, locate the registry entries of the required application. For this article, we only showed Registry location and values for Adobe Acrobat, which may also change anytime.

So, make sure you have the correct Registry details. You can test it by manually making changes in RegEdit. Once you’re sure then follow these steps to pre-fill the required information.

  1. Create a GPO and link it to a Scope you want
  2. Create a Registry collection to stay organized
  3. Create the required Registry items to insert user information for Adobe Acrobat as shown below.

Reg Location: HKEY_CUIRRENT_USER\Software\Adobe\Adobe Acrobat\DC\Identity

Reg Value: tEMail – tFirstName – tLastName – tName – tTitle

  1. Click on the Common tab, under each Reg item, and select Run in logged-on user’s security context
  2. Check the Item-level targeting box and select the Targeting button.

  1. From the New Item drop-down, select LDAP and define the filter as below.
    (&(objectClass=User)(sAMAccountName=%USERNAME%))

Note: This step will let you access the AD user object attribute for the logged-on user and turn them into variables for use within the Registry Preferences.

  1. Now use both variables to get the user’s First and Last name and save them in a Reg Item.

This will read First and Last Name values from AD User Object’s attribute and save it for tName registry value for Adobe Acrobat.

  1. Follow the same steps for other Registry items and change User Object attributes as required.

Check this link for more information for AD attributes for User Object: http://www.selfadsi.org/user-attributes-w2k12.htm

  • 869
  • 19-Feb-2020
  • 89 Views