Query on KTPASS in Windows server 2008 R2

Read: http://blogs.iis.net/brian-murphy-booth/the-biggest-mistake-serviceprincipalname-s

Try to delete duplicate SPN using below commands and create the SPN using the command again. Make sure you donot copy past the command type it some time extra space also create the issue for such commands.

Change SPN from machine account to domain user account to machine
--------------------------------------------------------------------------------
Remove the old SPN
1. SETSPN D <service>/<netbios name> machinename.domain.com
2. SETSPN D <service>/<fqdn> machinename

Add the new SPN:
1. SetSPN A <service>/<netbios name> <your domain>\<domain user account>
2. SetSPN A <service>/<fqdn name> <your domain>\<domain user account>

Verifying SPN's with SETSPN
1. SETSPN -L <machinename> (SPN should NOT be listed)
2. SETSPN -L <your domain>\<domain user account> (SPN will be listed)

September 3rd, 2015 6:01am

Hi,

Can anyone help me with below scenario.

OS : windows server 2008 R2

Domain : Contosocorp.com

I was trying to create an SPN entry for multiple users using below command and the operation aborted saying duplicate spn exist as I was using same SPN entry for morethan one users.

setspn -X gfs.ks.contoso.com/bddge016.ks.contoso.com@DEV.contoso.COM BDE2.CONTOSOCORP.COM\test1
setspn -X gfs.ks.contoso.com/bddge016.ks.contoso.com@DEV.contoso.COM BDE2.CONTOSOCORP.COM\test2
setspn -X gfs.ks.contoso.com/bddge016.ks.contoso.com@DEV.contoso.COM BDE2.CONTOSOCORP.COM\test3

Is there any alternate or Is it possible to create the same using KTPASS ? If yes, can you please help me by changing this command to fit my setup ?

Free Windows Admin Tool Kit Click here and download it now
September 3rd, 2015 6:55am

Thanks much Purvesh.

But I would like to know , whether the same SPN can be used for more than one users?

The above scenario, only user account is different, but SPN is same.

September 4th, 2015 1:19am

Hi,

same SPN can't be used for more than one users.  

Free Windows Admin Tool Kit Click here and download it now
September 4th, 2015 3:28am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics