Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 121071
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T03:54:43+00:00 2026-05-11T03:54:43+00:00

In the SharePoint install document I have it says, If you use a domain

  • 0

In the SharePoint install document I have it says,

If you use a domain user account for the SQL Server service account, you must make sure that a valid service principal name (SPN) for that account and instance of SQL Server on their database server exists in their environment. This is the case regardless of whether you use NTLM or Kerberos authentication for Office SharePoint Server 2007.

You must configure the SPN for that account in the domain using the Setspn.exe command-line tool. Setspn.exe is installed by default on computers running Windows Server 2008. Run the following command on a computer that is joined to the same domain as the user/service account.

setspn -a <http/<farmclusterdnsname> <serviceaccountname> 

What should the parameters be in this case?

I guess the serviceaccountname would be ‘domain\username’ not sure what the first parameter should be though.

This is the technet link for SetSPN.

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T03:54:43+00:00Added an answer on May 11, 2026 at 3:54 am

    The syntax would look something like the following:

    SetSPN -a http/www.mywebsite.com serviceaccountname 

    or

    SetSPN -a http/www.mywebsite.com domainname\serviceaccountname 

    Try and think of it this way: You want to register the owner of the http service for http://www.mywebsite.com to the domain\serviceaccountname directory object. This spn entry allows the authentication tickets to be encrypted with the password registered for the owner (serviceaccountname) of the service (http) on the registration name (www.mywebsite.com).

    After you have added the SPN entry you can verify the results by using the ‘SetSPN -l’ on the owner (serviceaccountname) by executing the command:

    SetSPN -l serviceaccountname 

    One thing to point out. You can only have one owner for the service (http) and the registration name (www.mywebsite.com) in the environment. It might be possible to accidentially end up with more than one.

    Use the SetSPN -l option to lookup the registration entries for the computer object where SharePoint is installed to make sure there isn’t already an entry: ex.

    SetSPN -l SharepointServer.domain.com SetSPN -l SharepointServer 

    You can read much more about how SPN works at the Microsoft TechNet web site.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I will need a Sharepoint Server 2010 install for learning purposes.. I already have
I have defined a custom list template type for SharePoint . I install it
Background We're using Alfresco to replace SharePoint. The primary use is document sharing and
The SharePoint install is a SP2010 install on a 2008 R2 server. Everything is
I want to share a SQL Server in a hosted environment, for Sharepoint and
I have a SharePoint website I need to move to another completely different server.
I'm in the process of moving a complete sharepoint install to a different server.
I'm getting an error when trying to install sharepoint 2010 on the server (windows
I have an issue with a new sharepoint install that we've recently deployed to
I have a basic install of Sharepoint running, and the first programming type task

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.