Partager via


View or Modify the Service Display Name of an AD LDS Instance

Applies To: Windows Server 2008

You can use this procedure to view or modify the service display name of an Active Directory Lightweight Directory Services (AD LDS) instance.

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 (https://go.microsoft.com/fwlink/?LinkId=83477).

To view or modify the service display name of an AD LDS instance

  1. To open a command prompt, click Start, click Run, and then type cmd.

  2. Do one of the following:

    • To view the service display name, type:

      sc \\<servername> <getdisplayname> <servicename>

      where <servername> represents the name of the computer on which the AD LDS instance runs, and <servicename> represents the service name of the AD LDS instance.

    • To modify the service display name, type:

      sc \\<servername> config <servicename> displayname= "<display_name>"

      where <servername> represents the name of the computer on which the AD LDS instance runs, <servicename> represents the service name of the AD LDS instance that you want to modify, and <displayname> represents the new service display name that you want to assign. (A space character (" ") is required after the equal sign (=) and before <displayname>).

Additional Considerations

  • If the AD LDS instance is running on the local computer, you can omit the servername parameter.

  • By default, the AD LDS instance name is instancename, where instancename is the name that you provided during AD LDS installation.

  • By default, the AD LDS service name is AD LDS_instancename, where instancename is the name that you provided during AD LDS installation.