Install an AD LDS Replica from Media
Applies To: Windows Server 2008
When you install an Active Directory Lightweight Directory Services (AD LDS) replica from media, you use a restored backup of an AD LDS instance as the data source, rather than another AD LDS instance.
Membership in the Administrators group, 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 (https://go.microsoft.com/fwlink/?LinkId=83477).
To install an AD LDS replica from media
Restore a backup copy of the AD LDS instance from which you want to install to an alternate location. (Do not restore the backup to the original location of the AD LDS instance.)
At a command prompt, type the following command, and then press ENTER:
%windir%\adam\adaminstall /adv
Follow the steps in the Active Directory Lightweight Directory Services Setup Wizard.
Additional considerations
To open a command prompt, click Start, right click Command Prompt, and then click Run as administrator.
You can install an AD LDS replica only from media that is created by restoring a backup copy of an AD LDS instance.
When you restore an AD LDS instance for use in a replica installation from media, you must restore the files to an alternate location, rather than to the original location from which they were backed up.
After you restore AD LDS files from a backup to an alternate location, the Adamntds.dit file and Edb*.log files will be nested in the specified alternate location. For example, if you specify C:\restore_dir as the restore location for the AD LDS files, Adamntds.dit and the Edb*.log files will be located at C:\restore_dir\Program Files\Microsoft ADAM\instancename\data, where instancename represents the AD LDS instance that was restored.