# Optional Installations

### Optional Installations <a href="#toc109377194" id="toc109377194"></a>

### Active Directory Lightweight Directory Services (AD LDS) <a href="#active_directory_lightweight_directory_s" id="active_directory_lightweight_directory_s"></a>

For those environments where Active Directory does not exist, Active Directory Lightweight Directory Services (AD LDS) can be used.

To install Active Directory Lightweight directory services (AD LDS) on a machine with Windows Server 2008 or higher, please use the following steps.

1. Click **Start**, and then click **Server Manager**.
2. In the console tree, right-click **Roles**, and then click **Add Roles**.
3. Review the information on the **Before You Begin** page of the Add Roles Wizard, and then click **Next.**
4. On the Select Server Roles page, in the Roles list, select the Active Directory Lightweight Directory Services checkbox, and then click Next.
5. Finish adding the AD LDS server role by following the instructions in the wizard.

Please use the following screen shots as a guide to install AD LDS.

![Graphical user interface, text, application, email](https://2887782118-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRyeWMyPKDUxlv4sroOL%2Fuploads%2FsCalksMJrZnk6CqARozy%2F0.jpeg?alt=media)

![Graphical user interface, text, application, Word](https://2887782118-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRyeWMyPKDUxlv4sroOL%2Fuploads%2FCea2ruej3O9nGXeUHqAY%2F1.jpeg?alt=media)

![Graphical user interface, text, application, email](https://2887782118-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRyeWMyPKDUxlv4sroOL%2Fuploads%2Fxiw3TsuioLtir3VEEplP%2F2.png?alt=media)

![Graphical user interface, text, application](https://2887782118-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRyeWMyPKDUxlv4sroOL%2Fuploads%2F39z3QDr9rimnrHdaxiQw%2F3.jpeg?alt=media)

* Select AD LDS from the Roles and add the applicable features for the role.

![Graphical user interface, text, application, Word](https://2887782118-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRyeWMyPKDUxlv4sroOL%2Fuploads%2FoZb4eIBmGm6An1NGTami%2F4.jpeg?alt=media)

![Graphical user interface, text, application, email](https://2887782118-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRyeWMyPKDUxlv4sroOL%2Fuploads%2FDfVzSNqRedrAfD89gm88%2F5.jpeg?alt=media)

* Click Install.
* After AD LDS is installed, please follow the below steps to set up an active directory for Generate tool.
* From the Server Manager, click on AD LDS.

![Graphical user interface, text, application, email](https://2887782118-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRyeWMyPKDUxlv4sroOL%2Fuploads%2F4nQZWCjPOmsohfcAddYu%2F6.jpeg?alt=media)

* Click on the “Configuration required” task and click on the Action link from the Task Window to open up the Active Directory Setup Wizard.

![Graphical user interface, text, application](https://2887782118-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRyeWMyPKDUxlv4sroOL%2Fuploads%2FR4Y0kdty0088vVPUQ2PN%2F7.png?alt=media) ![Graphical user interface, text](https://2887782118-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRyeWMyPKDUxlv4sroOL%2Fuploads%2FlDZgMvtwh4s0VqjmF78K%2F8.png?alt=media)

* Click Next.

![Graphical user interface, text, application, email](https://2887782118-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRyeWMyPKDUxlv4sroOL%2Fuploads%2FZqANlKUKsLcIkobnQCyA%2F9.png?alt=media)

* Select “Unique Instance” option and click Next.

![Graphical user interface, text, application, email](https://2887782118-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRyeWMyPKDUxlv4sroOL%2Fuploads%2FYAF2i1n7C95tWjdKtBH6%2F10.png?alt=media)

![Graphical user interface, text, application, email](https://2887782118-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRyeWMyPKDUxlv4sroOL%2Fuploads%2FuTpgneZGYXbl0nLqxGbI%2F11.png?alt=media)

![Graphical user interface, text, application, email](https://2887782118-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRyeWMyPKDUxlv4sroOL%2Fuploads%2FDSih6WCqUrD6UCBADsI5%2F12.png?alt=media)

![Graphical user interface, text, application, email](https://2887782118-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRyeWMyPKDUxlv4sroOL%2Fuploads%2FX40DPqkcfbKJmFuCzgRu%2F13.png?alt=media)

![Graphical user interface, text, application, email](https://2887782118-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRyeWMyPKDUxlv4sroOL%2Fuploads%2FbesfwAAKfNGKAlZcjFi1%2F14.png?alt=media)

![Graphical user interface, text, application, email](https://2887782118-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRyeWMyPKDUxlv4sroOL%2Fuploads%2FVTtBVWSVMznEy5FyPTbz%2F15.png?alt=media)

![Graphical user interface, text, application, email](https://2887782118-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRyeWMyPKDUxlv4sroOL%2Fuploads%2FVNrDM08T6mXKrd2MKTQq%2F16.png?alt=media)

![Graphical user interface, text, application](https://2887782118-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRyeWMyPKDUxlv4sroOL%2Fuploads%2FlEXPxYNF04yoZwi4tc7j%2F17.png?alt=media)

![Graphical user interface, text, application, email](https://2887782118-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRyeWMyPKDUxlv4sroOL%2Fuploads%2FAyWwrjZ4NVWQWxNszADd%2F18.png?alt=media)

![Graphical user interface](https://2887782118-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRyeWMyPKDUxlv4sroOL%2Fuploads%2FlJZ2LSEU6Lz57Ex1ILyH%2F19.png?alt=media)

### Active Directory Service Interfaces (ADSI) Editor <a href="#toc109377196" id="toc109377196"></a>

ADSI Edit is a tool used to connect to an active directory instance. It gets installed when AD LDS server role is installed.

Please use the following screenshots to connect to the AD LDS instance and set up the various roles and users for the Generate application.

![Graphical user interface, text, application](https://2887782118-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRyeWMyPKDUxlv4sroOL%2Fuploads%2FDsbecRNT52OSBeOjztZA%2F20.png?alt=media)

After connecting to the AD instance, a user should see 3 roles by default:&#x20;

> Admin
>
> Readers
>
> Users

{% hint style="info" %}
A new “**Reviewers**” role will need to be added to the existing roles. The Generate tool has been configured to use Admin and Reviewers roles.
{% endhint %}

Please use the following steps to create a user for the generate tool in ADSI Edit.

1. Right click on the Generate active directory in ADSI Edit and select New object.
2. Click Next.
3. Enter the user name and click Next.
4. Click on the “More Attributes” button and set the following properties on the user object.

> distinguishedName: **CN=svuyuru, CN=Generate, DC=CIID, DC=COM**
>
> displayName : **Sumanth Vuyuru**
>
> givenName : **Sumanth**
>
> msDS-UserAccountDisabled : **False**
>
> userPrincipalName : **svuyuru**
>
> msDS-UserDontExpirePassword: **True** ��*Set this property if you don’t want to expire user’s password.*

5. Go back and set “`ms-DS-UserPasswordNotRequired`” to **False**.

To add a user to a specific role, please add the user to member property of the role. Please use the following instructions.

1. Right click on the role and select **Properties**.
2. Go to member property and **Edit** it.
3. You should be able to add the user to that role using Distinguished Name (DN). Following is a sample DN that was added.

> CN=svuyuru,CN=Generate,DC=CIID,DC=COM
