How to check if Service Principle Name (SPN) is enabled?
While troubleshooting recently, I came across an instance where I needed to verify a SPN was still set correctly for a remote SQL instance.
- Go to your SQL box
- Navigate to:
- X64 - :\Program Files (x86)\Support Tools
- X32 - :\Program FIles\Support Tools
- Run Setspn.exe -L <ComputerName>
or
- Install ADSIEdit.msc
- Locate the server you wish to verify
- Right Click Propteries
- Scroll down to servicePrincipalName
Results are returned.