in

SharePoint Blogs

The Best Place for SharePoint-related Blogs

This Blog

Syndication

Tags

No tags have been created or used yet.

Archives

essa's blog

  • Install WSS 2003 in Active Directory Account Creation Mode

    Overview:

    There are two modes to manage accounts in WSS and SPS. Last month I have been asked to install SPS into AD Account Creation Mode. Here I am trying to summarize the information which I found during that process.

    Let's see how MS explains the difference between these two modes:

    ·   Domain account mode    Used inside organizations to grant access to users with existing domain accounts

    ·   Active Directory account mode    Used by Internet service providers to create unique accounts for customers

    You determine which mode to use when you first install and configure Windows SharePoint Services, and you cannot switch between modes later. Whichever mode you use, you can add users and cross-site groups to your site by using either the command-line tool or HTML Administration pages for your Web site.

    About domain account mode

    If you are using Windows SharePoint Services inside an organization that uses Microsoft Windows domain accounts, you can use domain account mode for user and cross-site group accounts. With domain account mode, you add users and cross-site groups to your site by using their existing domain account information, including their user names and e-mail addresses. Domain account mode is the standard mode for Windows SharePoint Services. Note that you can use the Active Directory directory service to manage domain accounts — the difference between the modes is the type of account that you use, not the tool that you use to manage them.

    About Active Directory account mode

    If you host Web sites based on Windows SharePoint Services for customers on the World Wide Web, you can configure Windows SharePoint Services to automatically create Active Directory directory service accounts for new users and cross-site groups. You must enable Active Directory account mode when you first configure Windows SharePoint Services. When you use Active Directory account mode, you cannot use domain accounts.

    Creating users and cross-site groups with Active Directory account mode is the same as creating users with domain account mode, except that you enter only the e-mail address, not a domain account, when adding the user or cross-site group to a site. Windows SharePoint Services checks Active Directory to see if an account with that e-mail address already exists. If the user or cross-site group already has an account in Active Directory, the account is used. If the user or cross-site group is new, an account is created for the user or group in Active Directory, using the Windows SharePoint Services credentials; the users are then notified of their account name and password through e-mail.

    Notes

    ·                         When you are in Active Directory account mode, there are certain administrative tasks that are unavailable in the HTML Administration pages. For example, you cannot create a top-level Web site, you cannot enable Self-Service Site Creation, and you cannot add a user to a site from the Central Administration pages. To perform these actions in Active Directory account mode, you must use the object model.

    ·                         The Minimum Password Age group policy on the domain controller must be set to 0 days. Failure to do so will result in users being unable to change their passwords, unless they have administrator rights on the server. For information on setting the Minimum Password Age group policy, see Microsoft Windows 2003 Server online help.

    Installation:

     
    Now, there are two keys points for AD Account Creation Mode:
     
    1- Sharepoint Portal Server 2003 does not support AD Account Creation Mode.
     
    2- Active Directory account creation mode is not supported when you install Windows SharePoint Services to a domain controller computer.
     
    This link explains all the steps to Follow:
     
    This link explains all the consideration by using AD account creation mode:
     
    This is another link which explains the same configuration in simple way and step by step way.
     
     
    To Determine the installation Mode:
     
    Determine If Windows SharePoint Services Is in Active Directory Account Creation Mode
    You can use Stsadm.exe to determine if Windows SharePoint Services is in Active Directory account creation mode.
     
    To determine if you are in Active Directory account creation mode, type the following command at a command prompt, and then press ENTER:

    stsadm.exe -o getproperty -pn createadaccounts

    • A response of <Property Exist="Yes" Value="Yes" /> indicates that Windows SharePoint Services is in Active Directory account creation mode.

    • A response of <Property Exist="Yes" Value="no" /> indicates that Windows SharePoint Services is not in Active Directory account creation mode.
    I hope this article helps you to perform the same task.
     
    Thanks
  • cmd commands to install all the microsoft templates

    I found it tedious to write down all these commands to install templates when I was installing them into our new sharepoint server, so here I am copying all these commands, if someone has to repeat that task.

    How to use: Create a folder templates on C drive and place all the templates .stp files into that folder on server and then run following commands one by one in this directory:  

    C:\Program Files\Common Files\Microsoft Shared\web server extensions\60\BIN\

    Note: Make sure to copy these commands into notepad first and without Word Wrap option, the issue is if the command is in two lines then it when you paste into command prompt, it will install template with the incomplete title of the template, it takes only those letters which comes into first line, make there is no line breaks.

    **********************************

    stsadm.exe -o addtemplate -filename "C:\templates\AbsenceCoverManagement_Basic.stp" -title "Employee Absence Request and Vacation Schedule Management - Basic"
    stsadm.exe -o addtemplate -filename "C:\templates\AbsenceCoverManagement_Custom.stp" -title "Employee Absence Request and Vacation Schedule Management - Custom"

    stsadm.exe -o addtemplate -filename "C:\templates\BoardOfDirectors_Basic.stp" -title "Board of Directors - Basic"
    stsadm.exe -o addtemplate -filename "C:\templates\BoardOfDirectors_Custom.stp" -title "Board of Directors - Custom"


    stsadm.exe -o addtemplate -filename "C:\templates\CaseWorkManagement_Basic.stp" -title "Case Work Management - Basic"
    stsadm.exe -o addtemplate -filename "C:\templates\CaseWorkManagement_Custom.stp" -title "Case Work Management - Custom"

    stsadm.exe -o addtemplate -filename "C:\templates\ChangeRequestManagement_Basic.stp" -title "Change Request Management - Basic"
    stsadm.exe -o addtemplate -filename "C:\templates\ChangeRequestManagement_Custom.stp" -title "Change Request Management - Custom"

    stsadm.exe -o addtemplate -filename "C:\templates\CompetitiveIntelligence_Basic.stp" -title "Competitive Intelligence - Basic"
    stsadm.exe -o addtemplate -filename "C:\templates\CompetitiveIntelligence_Custom.stp" -title "Competitive Intelligence - Custom"


    stsadm.exe -o addtemplate -filename "C:\templates\DiscussionDatabase.stp" -title "Discussion Database"

    stsadm.exe -o addtemplate -filename "C:\templates\DocumentLibrary.stp" -title "Document Library"

    stsadm.exe -o addtemplate -filename "C:\templates\EmployeeActivities_Basic.stp" -title "Employee Activities - Basic"
    stsadm.exe -o addtemplate -filename "C:\templates\EmployeeActivities_Custom.stp" -title "Employee Activities - Custom"


    stsadm.exe -o addtemplate -filename "C:\templates\EmployeeSchedulingTimeReporting_Basic.stp" -title "Employee Scheduling and Time Reporting - Basic"
    stsadm.exe -o addtemplate -filename "C:\templates\EmployeeSchedulingTimeReporting_Custom.stp" -title "Employee Scheduling and Time Reporting - Custom"


    stsadm.exe -o addtemplate -filename "C:\templates\EmployeeTraining_Basic.stp" -title "Employee Training - Basic"
    stsadm.exe -o addtemplate -filename "C:\templates\EmployeeTraining_Custom.stp" -title "Employee Training - Custom"


    stsadm.exe -o addtemplate -filename "C:\templates\EventCoordination_Basic.stp" -title "Event Coordination - Basic"
    stsadm.exe -o addtemplate -filename "C:\templates\EventCoordination_Custom.stp" -title "Event Coordination - Custom"

    stsadm.exe -o addtemplate -filename "C:\templates\ExpenseReimbursementRequest_Basic.stp" -title "Expense Reimbursement Request - Basic"
    stsadm.exe -o addtemplate -filename "C:\templates\ExpenseReimbursementRequest_Custom.stp" -title "Expense Reimbursement Request - Custom"

    stsadm.exe -o addtemplate -filename "C:\templates\Helpdesk_Basic.stp" -title "Helpdesk - Basic"
    stsadm.exe -o addtemplate -filename "C:\templates\Helpdesk_Custom.stp" -title "Helpdesk - Custom"

    stsadm.exe -o addtemplate -filename "C:\templates\HRProgramsandForms_Basic.stp" -title "HR Programs and Forms - Basic"
    stsadm.exe -o addtemplate -filename "C:\templates\HRProgramsandForms_Custom.stp" -title "HR Programs and Forms - Custom"

    stsadm.exe -o addtemplate -filename "C:\templates\ITDeveloper_Basic.stp" -title "IT Developer - Basic"
    stsadm.exe -o addtemplate -filename "C:\templates\ITDeveloper_Custom.stp" -title "IT Developer - Custom"

    stsadm.exe -o addtemplate -filename "C:\templates\LegalDocumentReviewManagement_Basic.stp" -title "Legal Document Review Management - Basic"
    stsadm.exe -o addtemplate -filename "C:\templates\LegalDocumentReviewManagement_Custom.stp" -title "Legal Document Review Management - Custom"

    stsadm.exe -o addtemplate -filename "C:\templates\LoanInitiation_Basic.stp" -title "Loan Initiation - Basic"
    stsadm.exe -o addtemplate -filename "C:\templates\LoanInitiation_Custom.stp" -title "Loan Initiation - Custom"

    stsadm.exe -o addtemplate -filename "C:\templates\MarketingCommunicationsCampaignSite_Basic.stp" -title "Marketing Communications Campaign Site - Basic"
    stsadm.exe -o addtemplate -filename "C:\templates\MarketingCommunicationsCampaignSite_Custom.stp" -title "Marketing Communications Campaign Site - Custom"


    stsadm.exe -o addtemplate -filename "C:\templates\MeetingManagement_Basic.stp" -title "Meeting Management - Basic"
    stsadm.exe -o addtemplate -filename "C:\templates\MeetingManagement_Custom.stp" -title "Meeting Management - Custom"

    stsadm.exe -o addtemplate -filename "C:\templates\NewProductDevelopment_Basic.stp" -title "New Product Development - Basic"
    stsadm.exe -o addtemplate -filename "C:\templates\NewProductDevelopment_Custom.stp" -title "New Product Development - Custom"

    stsadm.exe -o addtemplate -filename "C:\templates\PerformanceReview_Basic.stp" -title "Performance Review - Basic"
    stsadm.exe -o addtemplate -filename "C:\templates\PerformanceReview_Custom.stp" -title "Performance Review - Custom"

    stsadm.exe -o addtemplate -filename "C:\templates\ProfessionalServicesContractualSetup_Basic.stp" -title "Professional Services Contractual Setup - Basic"
    stsadm.exe -o addtemplate -filename "C:\templates\ProfessionalServicesContractualSetup_Custom.stp" -title "Professional Services Contractual Setup - Custom"


    stsadm.exe -o addtemplate -filename "C:\templates\ProfessionalServicesResourcingTool_Basic.stp" -title "Professional Services Resourcing Tool - Basic"
    stsadm.exe -o addtemplate -filename "C:\templates\ProfessionalServicesResourcingTool_Custom.stp" -title "Professional Services Resourcing Tool - Custom"


    stsadm.exe -o addtemplate -filename "C:\templates\ProjectTeamSite_Basic.stp" -title "Project Team Site - Basic"
    stsadm.exe -o addtemplate -filename "C:\templates\ProjectTeamSite_Custom.stp" -title "Project Team Site - Custom"


    stsadm.exe -o addtemplate -filename "C:\templates\PublicationReviewCenter_Basic.stp" -title "Publication Review Center - Basic"
    stsadm.exe -o addtemplate -filename "C:\templates\PublicationReviewCenter_Custom.stp" -title "Publication Review Center - Custom"


    stsadm.exe -o addtemplate -filename "C:\templates\PublicOfficialActivity_Basic.stp" -title "Public Official Activity and Issue Management - Basic"
    stsadm.exe -o addtemplate -filename "C:\templates\PublicOfficialActivity_Custom.stp" -title "Public Official Activity and Issue Management - Custom"


    stsadm.exe -o addtemplate -filename "C:\templates\PublicRelations_Basic.stp" -title "Public Relations - Basic"
    stsadm.exe -o addtemplate -filename "C:\templates\PublicRelations_Custom.stp" -title "Public Relations - Custom"

    stsadm.exe -o addtemplate -filename "C:\templates\RecruitingResourceCenter_Basic.stp" -title "Recruiting Resource Center - Basic"
    stsadm.exe -o addtemplate -filename "C:\templates\RecruitingResourceCenter_Custom.stp" -title "Recruiting Resource Center - Custom"

    stsadm.exe -o addtemplate -filename "C:\templates\RequestForProposal_Basic.stp" -title "Request For Proposal - Basic"
    stsadm.exe -o addtemplate -filename "C:\templates\RequestForProposal_Custom.stp" -title "Request For Proposal - Custom"


    stsadm.exe -o addtemplate -filename "C:\templates\RoomEquipmentReservation_Basic.stp" -title "Room Equipment Reservation - Basic"
    stsadm.exe -o addtemplate -filename "C:\templates\RoomEquipmentReservation_Custom.stp" -title "Room Equipment Reservation - Custom"


    stsadm.exe -o addtemplate -filename "C:\templates\TeamWorkSite.stp" -title "Team Work Site"

    stsadm.exe -o addtemplate -filename "C:\templates\TravelRequest_Basic.stp" -title "Travel Request - Basic"
    stsadm.exe -o addtemplate -filename "C:\templates\TravelRequest_Custom.stp" -title "Travel Request - Custom"

    **********************************


Need SharePoint Training? Attend a SharePoint Bootcamp!

Posts (c) their respective authors. Everything else (c) 2007 SharePoint Experts