Creating Your SharePoint 2007 Domain Accounts

Domain Accounts

In order to set up a MOSS 2007 farm you need the following domain accounts. Please remember that this is just an example and that there are different naming conventions.

Account name Account type
SqlService SQL Service account
MossFarm MOSS Farm Service Account
aka: “Database Access Account”
MossWeb MOSS Web Application Service Account
(Port 80 Application Pool)
MossSspAdmin MOSS SSP Admin Service Account
(Application Pool service account)
MossSspMySite MOSS SSP MySite Service Account
(Application Pool service account)
MossSspService MOSS SSP Service (Application Pool)
MossSearchService MOSS Search Service
aka: “Farm Search Service Account”
MossProfile MOSS Profile Import. “Default Access Account” on the Configure Profile Import page.
MossExcel MOSS Excel Services
WssSearchService WSS Search Service
WssContentAccess WSS Search Content Access

For each user above:

  • Add the user to your Active Directory.
  • Set the password.
  • Check “User cannot change password”.
  • Check “Password never expires”.

Script to Create User Accounts

The user accounts can optionally be created using the following script. Replace the myPassword, myDC, and myDcExt with the appropriate values for your domain. The following script creates the user accounts for the Wagner.local domain. Yours should be different.

Note: This script also create four additional test user accounts. They are:

  • SpAce
  • SpKing
  • SpQueen
  • SpJack

Script: (CreateAccounts.cmd)

set myPassword=YOUR-PASSWORD-HERE
set myDC=Wagner
set myDcExt=local
rem - Service accounts
dsadd user cn="SqlService,cn=users,dc=%myDC%,dc=%myDcExt%" -desc "SQL Service" -mustchpwd no -pwdneverexpires yes -canchpwd no -pwd %myPassword% -disabled no
dsadd user cn="MossFarm,cn=users,dc=%myDC%,dc=%myDcExt%" -desc "MOSS Farm Service Account" -mustchpwd no -pwdneverexpires yes -canchpwd no -pwd %myPassword% -disabled no
dsadd user cn="MossWeb,cn=users,dc=%myDC%,dc=%myDcExt%" -desc "MOSS Web Application Pool" -mustchpwd no -pwdneverexpires yes -canchpwd no -pwd %myPassword% -disabled no
dsadd user cn="WssSearchService,cn=users,dc=%myDC%,dc=%myDcExt%" -desc "WSS Search Service" -mustchpwd no -pwdneverexpires yes -canchpwd no -pwd %myPassword% -disabled no
dsadd user cn="WssContentAccess,cn=users,dc=%myDC%,dc=%myDcExt%" -desc "WSS Search Content Access" -mustchpwd no -pwdneverexpires yes -canchpwd no -pwd %myPassword% -disabled no
dsadd user cn="MossSspAdmin,cn=users,dc=%myDC%,dc=%myDcExt%" -desc "MOSS SSP Admin Application Pool" -mustchpwd no -pwdneverexpires yes -canchpwd no -pwd %myPassword% -disabled no
dsadd user cn="MossSspMySite,cn=users,dc=%myDC%,dc=%myDcExt%" -desc "MOSS SSP MySite Application Pool" -mustchpwd no -pwdneverexpires yes -canchpwd no -pwd %myPassword% -disabled no
dsadd user cn="MossSspService,cn=users,dc=%myDC%,dc=%myDcExt%" -desc "MOSS SSP Service" -mustchpwd no -pwdneverexpires yes -canchpwd no -pwd %myPassword% -disabled no
dsadd user cn="MossSearchService,cn=users,dc=%myDC%,dc=%myDcExt%" -desc "MOSS Search Service" -mustchpwd no -pwdneverexpires yes -canchpwd no -pwd %myPassword% -disabled no
dsadd user cn="MossProfile,cn=users,dc=%myDC%,dc=%myDcExt%" -desc "MOSS Profile Import" -mustchpwd no -pwdneverexpires yes -canchpwd no -pwd %myPassword% -disabled no
dsadd user cn="MossExcel,cn=users,dc=%myDC%,dc=%myDcExt%" -desc "MOSS Excel Services" -mustchpwd no -pwdneverexpires yes -canchpwd no -pwd %myPassword% -disabled no
rem - Additional user test accounts
dsadd user cn="SpAce,cn=users,dc=%myDC%,dc=%myDcExt%" -desc "test account" -mustchpwd no -pwdneverexpires yes -canchpwd no -pwd %myPassword% -disabled no
dsadd user cn="SpKing,cn=users,dc=%myDC%,dc=%myDcExt%" -desc "test account" -mustchpwd no -pwdneverexpires yes -canchpwd no -pwd %myPassword% -disabled no
dsadd user cn="SpQueen,cn=users,dc=%myDC%,dc=%myDcExt%" -desc "test account" -mustchpwd no -pwdneverexpires yes -canchpwd no -pwd %myPassword% -disabled no
dsadd user cn="SpJack,cn=users,dc=%myDC%,dc=%myDcExt%" -desc "test account" -mustchpwd no -pwdneverexpires yes -canchpwd no -pwd %myPassword% -disabled no
pause

Enjoy!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.