Share via

Setspn Overview

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

This content has been moved to Setspn. Be sure to use a version of Setspn.exe that is included with Windows Server 2008 or later because it includes the –S parameter for adding an SPN. Although you can use Setspn –A to add an SPN, you should use Setspn -S instead because -S will verify that there are no duplicate SPNs.

If you are using Windows Server 2003 or earlier, you will not be able to use the -S switch because it is not available for that platform. You can apply Microsoft Knowledge Base 970536 ( to Windows Server 2003 to get an updated version of SetSPN that does support the –S switch. In the case where you cannot use -S, you should manually verify that there are no duplicate SPNs by first running Setspn -L.

For more information about service principal names (SPNs) and using Setspn.exe to troubleshoot problems with SPNs, see Service Principal Names (SPNs) SetSPN Syntax (Setspn.exe).

See Also


Alphabetical List of Tools Search Overview Replmon Overview Repadmin Overview Movetree.exe Ldp Overview Dsastat Overview Clonepr Overview ADSI Edit (adsiedit.msc) Acldiag Overview Xcacls Overview Sidwkr.dll Sidwalker Security Administration Tools Sidwalk Overview Showaccs Overview Sdcheck Overview Ktpass Overview Ksetup Overview Getsid Overview Addiag.exe

Other Resources

Service Principal Names (SPNs) on the TechNet Wiki Service Principal Names on MSDN