Remove a failed AD/LDS server from an Instance Set

On one of the remaining AD LDS instances in the configuration set, click Start, right-click Command Prompt, and then click Run as administrator. Be sure you are using an account with permission to access the AD/LDS instance.

1. At the command prompt, type dsmgmt, and then press ENTER.

2. At the dsmgmt: prompt, type metadata cleanup, and then press ENTER.

3. At the metadata cleanup: prompt, type select operation target, and then press ENTER.

4. At the select operation target: prompt, type connections, and then press ENTER.

5. At the server connections: prompt, type the following command, and then press ENTER.

connect to server <computername:portnumber>

where <computername:portnumber> represents the AD LDS instance to which you are connecting. Usually this would be localhost:5000 Do not forget the port number.

6. At the server connections: prompt, type quit, and then press ENTER.

7. At the select operation target: prompt, type list sites, and then press ENTER. Identify the number that corresponds to the site in which the server object that you want to delete resides.

8. At the select operation target: prompt, type select site <n>, and then press ENTER, where <n> represents the number that was identified in the previous step.

9. At the select operation target: prompt, type list naming contexts, and then press ENTER. Identify the number that corresponds to a naming context that was previously held by the server whose server object you want to delete. Usually this is zero (Configuration).

10.Type select naming context <n>, and then press ENTER, where <n> represents the number that was identified in the previous step.

11.Type list servers in site, and then press ENTER. Identify the number that is associated with the server whose server object you want to delete.

12.Type select server <n>, and then press ENTER, where <n> represents the number that was identified in the previous step.

13.At the select operation target: prompt, type quit, and then press ENTER.

14.At the metadata cleanup: prompt, type remove selected server, and then press ENTER. Click yes to confirm the deletion of the server object.