Click to Rate and Give Feedback
TechNet
TechNet Library
Windows
Windows Server
Windows Server 2003
Technical Reference
Setspn.exe
 Setspn Examples: Active Directory

  Switch on low bandwidth view
Setspn Examples

Updated: October 19, 2007

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

Setspn Examples

List currently registered SPNs

            setspn -l daserver1
Registered ServicePrincipalNames for CN=DASERVER1,CN=Computers,DC=reskit,DC=microsoft,DC=com:
HOST/daserver1
HOST/daserver1.reskit.microsoft.com

Reset default registered SPNs

            setspn -r daserver1
Registering ServicePrincipalNames for CN=DASERVER1,CN=Computers,DC=reskit,DC=microsoft,DC=com
HOST/daserver1.reskit.microsoft.com
HOST/daserver1
Updated object

Add a new SPN

            setspn -a http/daserver1.reskit.microsoft.com daserver1
Registering ServicePrincipalNames for CN=DASERVER1,CN=Computers,DC=reskit,DC=microsoft,DC=com
        http/daserver1.reskit.microsoft.com
Updated object

Remove an SPN

            setspn -d http/daserver1.reskit.microsoft.com daserver1
Unregistering ServicePrincipalNames for CN=DASERVER1,CN=Computers,DC=reskit,DC=microsoft,DC=com
http/daserver1.reskit.microsoft.com
Updated object

See Also

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker