On the taskbar, click Start, and
then type cmd in the search box.
Right-click Command Prompt, and
select Run as administrator.
Run the following command, where <Computer> is
the name of the computer where the AD LDS instance was created, <Port> is the port that the AD LDS instance uses: