Manually remove ADAM service principal names from Active Directory

Applies To: Windows Server 2003 R2

To manually remove ADAM service principal names from Active Directory

  1. Do one of the following:

    • Log on as a member of the Domain Admins group, and then open ADAM ADSI Edit.

    • Using run as, open ADAM ADSI Edit as a member of the Domain Admins group.

  2. Connect and bind to the domain directory partition of the Active Directory domain in which the ADAM instance resides.

  3. Do one of the following:

    • If the Network Service account is specified as the ADAM service account, navigate to the computer object on the computer on which ADAM is installed.

    • If a domain user account is specified as the ADAM service account, navigate to the domain user object of the domain user account.

  4. Right-click the computer object or the domain user object, and then click Properties.

  5. In Attributes, click ServicePrincipalName, and then click Edit.

  6. For each ADAM value that is listed in Values, click the value, and then click Remove.

Note

  • If service principal names (SPN) in Active Directory exist for the ADAM instance being uninstalled, and adamuninstall cannot remove the SPNs automatically, adamuninstall creates a .bat file that can be used to remove the SPNs manually. This .bat file is located at %windir%\Debug\domain-servicename.bat, where domain represents the Active Directory domain in which the ADAM instance resides, and servicename represents the service name of the ADAM instance being removed. (By default, the service name of an ADAM instance is ADAM_instancename, where instancename is the instance name that you provide during ADAM setup.)

See Also

Concepts

Administering ADAM service principal names
Manually register ADAM service principal names in Active Directory
Repadmin
Connect and bind to an ADAM instance using ADAM ADSI Edit
Browse the directory tree using ADAM ADSI Edit