SetSpn -L your_appserver_service_account_name fails : 'SetSnp' is not a recognized as an internal or external command

Article:TECH134289  |  Created: 2010-01-25  |  Updated: 2012-01-25  |  Article URL http://www.symantec.com/docs/TECH134289
Article Type
Technical Solution


Issue





 


Cause



Not in correct directory to issue command Support tools may not be installed.


Solution




Step 1 Verify Support Tools is installed;

See if C:\Program Files\Support Tools exists
C:\>cd program files
C:\Program Files>dir

Sample output:
 

    Volume in drive C has no label.
    Volume Serial Number is CC8D-FFD0
    Directory of C:\Program Files
    06/25/2010 02:05 PM .
    06/25/2010 02:05 PM ..
    06/04/2010 01:40 PM Adobe
    05/27/2010 08:51 AM Business Objects
    06/25/2010 01:58 PM cmak
    06/04/2010 01:40 PM Common Files
    03/15/2010 11:19 AM ComPlus Applications
    03/17/2010 04:45 PM Internet Explorer
    05/27/2010 08:43 AM Microsoft ADAM
    05/04/2010 05:34 PM Microsoft Analysis Services
    05/04/2010 05:33 PM Microsoft Office
    05/26/2010 05:25 PM Microsoft SQL Server
    05/25/2010 06:17 PM Microsoft Visual Studio 8
    05/04/2010 05:37 PM Microsoft.NET
    05/05/2010 11:44 AM MSBuild
    05/04/2010 06:28 PM MSXML 6.0
    03/17/2010 04:43 PM NetMeeting
    03/17/2010 04:43 PM Outlook Express
    05/05/2010 11:40 AM Reference Assemblies
    05/25/2010 06:22 PM SQLXML 4.0
    06/25/2010 02:05 PM Support Tools
    05/27/2010 08:41 AM Symantec
    03/15/2010 01:12 PM VMware
    03/17/2010 04:45 PM Windows Media Player
    06/16/2010 01:36 PM Windows NT
    0 File(s) 0 bytes
    25 Dir(s) 81,383,587,840 bytes free


If Support Tools is listed change to that directory

Change to Support Tools directory and see if setspn.exe exists.

Sample output:
 

    C:\Program Files\Support Tools>dir
    Volume in drive C has no label.
    Volume Serial Number is CC8D-FFD0
    Directory of C:\Program Files\Support Tools
    06/25/2010 02:05 PM .
    06/25/2010 02:05 PM ..
    03/24/2003 11:08 PM 87,552 acldiag.exe
    03/24/2003 10:17 PM 216,091 addiag.exe
    03/25/2003 01:47 AM 759,808 adprop.dll
    03/25/2003 01:46 AM 333,824 adsiedit.dll
    02/21/2003 06:50 PM 42,986 adsiedit.msc
    03/24/2003 11:16 PM 8,704 apmstat.exe
    03/24/2003 11:16 PM 18,432 bindiff.exe
    03/24/2003 11:07 PM 50,176 Bitsadmin.exe
    03/24/2003 11:09 PM 41,472 browstat.exe
    03/24/2003 11:16 PM 37,376 remote.exe
    03/24/2003 11:11 PM 228,352 repadmin.exe
    03/24/2003 10:19 PM 1,191,987 replmon.exe
    03/24/2003 11:11 PM 14,848 rsdiag.exe
    03/24/2003 11:11 PM 15,872 rsdir.exe
    03/24/2003 11:11 PM 1,233,920 rstools.dll
    03/24/2003 11:11 PM 26,112 sdcheck.exe
    02/21/2003 07:06 PM 19,909 search.vbs
    03/24/2003 11:07 PM 11,264 setspn.exe
    03/24/2003 11:17 PM 60,416 showaccs.exe
    03/24/2003 09:47 PM 4,404 sidhist.vbs
    03/24/2003 11:17 PM 55,296 sidwalk.exe
    02/21/2003 07:07 PM 4,608 sidwalk.msc
    03/24/2003 11:17 PM 105,984 sidwkr.dll
    03/24/2003 11:17 PM 19,968 spcheck.exe
    02/21/2003 07:08 PM 4,239 spcheck.ini
    02/21/2003 07:08 PM 16,054 topchk.cmd
    03/24/2003 11:18 PM 140,288 windiff.exe
    02/21/2003 07:17 PM 17,357 windiff.hlp
    03/24/2003 11:15 PM 63,488 xcacls.exe
    89 File(s) 24,082,903 bytes
    2 Dir(s) 81,383,587,840 bytes free


Step 2 Verify what SPN are registered to an account;

 

    SetSpn -L your_appserver_service_account_name (i.e ccsappsvc)

    Sample output:

    SetSpn -L ccsappsvc
    Registered ServicePrincipalNames for CN=CCS Application Service Account,CN=Users,DC=mydomain,DC=local:
    Symantec.CSM.AppServer/CCS_APP_SERVER.MYDOMAIN.LOCAL
    Symantec.CSM.AppServer/CCS_APP_SERVER

    SetSpn -L your_DDSserver_service_account_name (i.e. ccsdsssvc)

    Sample output:

    SetSpn -L ccsdsssvc
    Registered ServicePrincipalNames for CN=CCS DSS Service Account,CN=Users,DC=mydomain,DC=local:
    Symantec.CSM.DSS/CCS_DSS_SERVER.MYDOMAIN.LOCAL
    Symantec.CSM.DSS/CCS_DSS_SERVER



If Support Tools is not listed it needs to be installed.


To Install Windows Support Tools
Updated: January 21, 2005
Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

 

http://technet.microsoft.com/en-us/library/cc755948(WS.10).aspx







 




Article URL http://www.symantec.com/docs/TECH134289


Terms of use for this information are found in Legal Notices