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
Account name | Account type |
SqlService | SQL Service account |
SpFarm | SP Farm account aka: “Database Access Account” |
SpAppWeb | SP Web application pool service account (Port 80) |
SpAppAdmin | SP Admin application pool service account |
SpAppMySite | SP MySite application pool service account |
SpAppSSP | SP SSP application pool service account |
SpSvcSearch | SP Search Service account aka: “Farm Search Service Account” |
SpSvcExcel | SP Excel Services service account |
SpWssSearchService | WSS Search Service account (Only SP help search when SP Server installed) |
SpWssSearchAccess | WSS Search Content Access account (Only SP help search when SP Server installed) |
SpProfile | SP Profile Import. “Default Access Account” on the Configure Profile Import page. |
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
set myPassword=Wagner#1 set myDC=Wagner set myDcExt=local rem rem - SharePoint SQL Server service account dsadd user cn="SqlService,cn=users,dc=%myDC%,dc=%myDcExt%" -desc "SQL Service" -mustchpwd no -pwdneverexpires yes -canchpwd no -pwd %myPassword% -disabled no rem rem - SharePoint Service accounts dsadd user cn="SpFarm,cn=users,dc=%myDC%,dc=%myDcExt%" -desc "SP Farm Account" -mustchpwd no -pwdneverexpires yes -canchpwd no -pwd %myPassword% -disabled no dsadd user cn="SpAppWeb,cn=users,dc=%myDC%,dc=%myDcExt%" -desc "SP Web Application Pool" -mustchpwd no -pwdneverexpires yes -canchpwd no -pwd %myPassword% -disabled no dsadd user cn="SpAppAdmin,cn=users,dc=%myDC%,dc=%myDcExt%" -desc "SP Admin Application Pool" -mustchpwd no -pwdneverexpires yes -canchpwd no -pwd %myPassword% -disabled no dsadd user cn="SpAppMySite,cn=users,dc=%myDC%,dc=%myDcExt%" -desc "SP MySite Application Pool" -mustchpwd no -pwdneverexpires yes -canchpwd no -pwd %myPassword% -disabled no dsadd user cn="SpAppSsp,cn=users,dc=%myDC%,dc=%myDcExt%" -desc "SP SSP Service" -mustchpwd no -pwdneverexpires yes -canchpwd no -pwd %myPassword% -disabled no dsadd user cn="SpSvcSearch,cn=users,dc=%myDC%,dc=%myDcExt%" -desc "SP Search Service" -mustchpwd no -pwdneverexpires yes -canchpwd no -pwd %myPassword% -disabled no dsadd user cn="SpSvcExcel,cn=users,dc=%myDC%,dc=%myDcExt%" -desc "SP Excel Services" -mustchpwd no -pwdneverexpires yes -canchpwd no -pwd %myPassword% -disabled no dsadd user cn="SpProfile,cn=users,dc=%myDC%,dc=%myDcExt%" -desc "SP Profile Import" -mustchpwd no -pwdneverexpires yes -canchpwd no -pwd %myPassword% -disabled no rem dsadd user cn="SpWssSearchService,cn=users,dc=%myDC%,dc=%myDcExt%" -desc " SP WSS Search Service" -mustchpwd no -pwdneverexpires yes -canchpwd no -pwd %myPassword% -disabled no dsadd user cn="SpWssSearchAccess,cn=users,dc=%myDC%,dc=%myDcExt%" -desc "SP WSS Search Content Access" -mustchpwd no -pwdneverexpires yes -canchpwd no -pwd %myPassword% -disabled no rem rem - 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!
Advertisements