Install an AD LDS Replica From Media

Applies To: Windows Server 2008

You can use this procedure to install an Active Directory Lightweight Domain Service (AD LDS) replica from media. When you do this, you restore a backup of another AD LDS instance from the same configuration set, rather than performing a simple AD LDS replica installation.

Membership in Administrators, or equivalent, is the minimum required to complete this procedure. Review details about using the appropriate accounts and group memberships at Local and Domain Default Groups (


If Dsdbutil.exe was used to create the installation media (backup) of your AD LDS instance data, skip steps 1 through 7 and begin this procedure with step 8.

To install an AD LDS replica from media

  1. Click Start, point to Administrative Tools, and then click Windows ServerBackup.

  2. On the Action menu, click Recover.

  3. Follow the steps in the Recovery Wizard to specify the location of the source backup data and to identify the specific backup from which you want to recover instance data.

  4. In Select recovery type, click Files and folders, and then click Next.

  5. In Select items to recover, browse to and select the folder that contains the instance data files. By default, AD LDS database and log files are located in %ProgramFiles%\Microsoft ADAM\instance_name\data where instance_name is the AD LDS instance name.

  6. In Specify recovery options, click Another location, specify a temporary location for the recovered files, and then click Next.

  7. To complete the restore, click Recover.

  8. At a command prompt, type the following command, and then press ENTER:

    %windir%\adam\adaminstall /adv
  9. Follow the steps in the Active Directory Lightweight Directory Services Setup Wizard:

    1. On the Select Options page, click A replica of an existing instance, and then click Next.

    2. On the Joining a Configuration Set page, type the host name or Domain Name System (DNS) name of the computer where one of the remaining AD LDS instances of the configuration set is installed. Then, type the Lightweight Directory Access Protocol (LDAP) port number in use by that AD LDS instance, and then click Next.

    3. On the Administrative Credentials for the Configuration Set page, click the account that is used as the AD LDS administrator for your first AD LDS instance.

    4. On the Copying Application Information page, select From the restored backup files in these folders, specify the correct location of the installation media files in the Restored data folder field, leave the Restored data recovery folder field empty, and then click Next.

    5. On the Copy Application Partition page, select the application directory partitions that you want to replicate to the new AD LDS instance.

    6. Accept the default values on the remaining Active Directory Lightweight Directory Services Setup Wizard pages by clicking Next on each page, and then click Finish on the Completing the Active Directory Lightweight Directory Services Setup Wizard page.


You can also use this procedure to restore a retired AD LDS replica from media. However, we recommend that you first perform a metadata cleanup of any retired AD LDS replica that you plan to restore from media. For more information about metadata cleanup, see Appendix A: Metadata Cleanup for the Retired AD LDS Instances.

For more information on how to restore AD LDS instance data, see Step 2: Restore AD LDS Instance Data in AD LDS Backup and Restore Step-by-Step Guide.