使用 SysPrep 安裝 SQL Server 2014Install SQL Server 2014 Using SysPrep

[SQL Server]SQL Server SysPrep 相關的安裝動作可以透過安裝中心來存取。SysPrep related setup actions can be accessed through the Installation Center. [安裝中心][進階] 頁面包含兩個選項 - 準備 獨立執行個體的映像[SQL Server]SQL Server 及 完成備妥的 獨立執行個體的映像[SQL Server]SQL ServerThe Advanced Page of the Installation Center has two options - Image preparation of a stand-alone instance of [SQL Server]SQL Server and Image completion of a prepared stand-alone instance of [SQL Server]SQL Server. 準備完成 章節會詳細說明安裝程序。The Prepare and Complete sections describe the installation process in detail. 如需詳細資訊,請參閱< Considerations for Installing SQL Server Using SysPrep>。For more information, see Considerations for Installing SQL Server Using SysPrep.

您也可以使用命令提示字元或組態檔,準備及完成 [SQL Server]SQL Server 的執行個體。You can also prepare and complete an instance of [SQL Server]SQL Server using the command prompt or a configuration file. 如需詳細資訊,請參閱:For more information, see:

先決條件Prerequisites

在安裝 [SQL Server]SQL Server之前,請檢閱 規劃 SQL Server 安裝中的主題。Before you install [SQL Server]SQL Server, review the topics in Planning a SQL Server Installation.

如需詳細資訊[SQL Server]SQL Server版本及硬體和軟體需求,請參閱硬體和軟體需求,安裝 SQL Server 2014For more information about [SQL Server]SQL Server editions and the hardware and software requirements, see Hardware and Software Requirements for Installing SQL Server 2014.

重要

[SQL Server]SQL Server SysPrep 不支援下列項目:The following is not supported by [SQL Server]SQL Server SysPrep:

WOW 64 安裝:Windows 64 位元版本的一項功能,可讓 32 位元應用程式在 32 位元模式中以原生方式執行。WOW 64 installations: a feature of 64-bit edition of Windows that enables 32-bit applications to run natively in 32-bit mode.

本章節包含下列程序:This section includes the following procedures:

[SQL Server]SQL Server SysPrep 叢集支援[SQL Server]SQL Server SysPrep Cluster Support

SQL Server 2014SQL Server 2014開始,SysPrep 支援以命令列安裝叢集 [SQL Server]SQL Server 執行個體。Beginning in SQL Server 2014SQL Server 2014, SysPrep supports clustered [SQL Server]SQL Server instances in command line installations. 如需詳細資訊,請參閱< 何謂 Sysprep>。For more information, see What is Sysprep?.

準備 [SQL Server]SQL Server 容錯移轉叢集 (自動)To Prepare a [SQL Server]SQL Server Failover Cluster (Unattended)

  1. 準備映像 (如 使用 SysPrep 安裝 SQL Server 的考量中所述),並透過 SysPrep 一般化擷取 Windows 映像。Prepare the image (as discussed in Considerations for Installing SQL Server Using SysPrep) and capture the windows image through SysPrep Generalization. 下列範例會準備影像:The following sample prepares the image:

    Setup.exe /q /ACTION=PrepareImage l /FEATURES=SQLEngine /InstanceID =<MYINST> /IACCEPTSQLSERVERLICENSETERMS  
    

    然後執行 Windows SysPrep 一般化。Then run Windows SysPrep Generalization.

  2. 執行 Windows SysPrep 特殊化以部署影像。Deploy the image by running Windows SysPrep Specialize.

  3. 建立 Windows 容錯移轉叢集。Create the Windows Failover Cluster.

  4. /ACTION=PrepareFailoverCluster 的所有節點執行 setup.exe。Run setup.exe with /ACTION=PrepareFailoverCluster all nodes. 例如:For example:

    setup.exe /q /ACTION=PrepareFailoverCluster /InstanceName=<InstanceName> /Features=SQLEngine  /SQLSVCACCOUNT="<DomainName\UserName>" /SQLSVCPASSWORD="xxxxxxxxxxx"  /IACCEPTSQLSERVERLICENSETERMS  
    

完成 [SQL Server]SQL Server 容錯移轉叢集 (自動)Complete a [SQL Server]SQL Server Failover Cluster (Unattended)

  1. 在擁有可用儲存體群組的節點上,以 /ACTION=CompleteFailoverCluster 執行 setup.exe:Run setup.exe with /ACTION=CompleteFailoverCluster on the node that owns the available storage group:

    setup.exe /q /ACTION=CompleteFailoverCluster /InstanceName=<InstanceName>  /FAILOVERCLUSTERDISKS="<Cluster Disk Resource Name - for example, 'Disk S:'>:" /FAILOVERCLUSTERNETWORKNAME="<Insert FOI Network Name>" /FAILOVERCLUSTERIPADDRESSES="IPv4;xx.xxx.xx.xx;Cluster Network;xxx.xxx.xxx.x" /FAILOVERCLUSTERGROUP="MSSQLSERVER" /INSTALLSQLDATADIR="<Drive>:\<Path>\MSSQLSERVER" /SQLCOLLATION="SQL_Latin1_General_CP1_CS_AS" /SQLSYSADMINACCOUNTS="<DomainName\UserName>"  
    

將節點加入現有的 [SQL Server]SQL Server 容錯移轉叢集 (自動)Adding a Node to an Existing [SQL Server]SQL Server Failover Cluster (Unattended)

  1. 執行 Windows SysPrep 特殊化以部署影像。Deploy the image by running Windows SysPrep Specialize.

  2. 加入 Windows 容錯移轉叢集。Join the Windows Failover Cluster.

  3. /ACTION=AddNode 的所有節點執行 setup.exe。Run setup.exe with /ACTION=AddNode on all nodes:

    setup.exe /q /ACTION=AddNode /InstanceName=<InstanceName> /Features=SQLEngine  /SQLSVCACCOUNT="<DomainName\UserName>" /SQLSVCPASSWORD="xxxxxxxxxxx"  /IACCEPTSQLSERVERLICENSETERMS  
    

準備映像Prepare Image

準備 [SQL Server]SQL Server的獨立執行個體。Prepare a stand-alone instance of [SQL Server]SQL Server.

  1. 插入 [SQL Server]SQL Server 安裝媒體。Insert the [SQL Server]SQL Server installation media. 在根資料夾中,按兩下 Setup.exe。From the root folder, double-click Setup.exe. 若要從網路共用進行安裝,請找出共用上的根資料夾,然後按兩下 Setup.exe。To install from a network share, locate the root folder on the share, and then double-click Setup.exe.

  2. 安裝精靈會執行 [SQL Server]SQL Server 安裝中心。The Installation Wizard runs the [SQL Server]SQL Server Installation Center. 若要準備 [SQL Server]SQL Server 的執行個體,請在 [進階] 頁面上,按一下 準備 [SQL Server]SQL Server 獨立執行個體的映像 。To prepare an instance of [SQL Server]SQL Server, click Image preparation of a stand-alone instance of [SQL Server]SQL Server on the Advanced page.

  3. 系統組態檢查會在電腦上執行探索作業。The System Configuration Checker runs a discovery operation on your computer. 若要繼續進行,請按一下 [確定]To continue, click OK. 您可以按一下 [顯示詳細資料] 在畫面上檢視詳細資料,或是按一下 [檢視詳細資料報表] 來以 HTML 報表形式檢視詳細資料。You can view the details on the screen by clicking Show Details, or as an HTML report by clicking View detailed report.

  4. 最新可用的 [SQL Server]SQL Server 產品更新會隨即顯示在 [產品更新] 頁面上。On the Product Updates page, the latest available [SQL Server]SQL Server product updates are displayed. 如果不想包含更新,請清除 包含 [SQL Server]SQL Server 產品更新程式 核取方塊。If you don't want to include the updates, clear the Include [SQL Server]SQL Server product updates check box. 如果未偵測到任何產品更新, [SQL Server]SQL Server 安裝程式將不會顯示此頁面,而會自動前往 [安裝安裝程式檔案] 頁面。If no product updates are discovered, [SQL Server]SQL Server Setup does not display this page and auto advances to the Install Setup Files page.

  5. 安裝程式會在 [安裝安裝程式檔案] 頁面上,顯示下載、擷取及安裝安裝程式檔案的進度。On the Install Setup files page, Setup provides the progress of downloading, extracting, and installing the Setup files. 如有找到 [SQL Server]SQL Server 安裝程式的更新,並指定要包含該更新,將會一併安裝。If an update for [SQL Server]SQL Server Setup is found, and is specified to be included, that update will also be installed.

  6. 系統組態檢查將會先確認電腦的系統狀態,然後安裝程式才會繼續進行。The System Configuration Checker verifies the system state of your computer before Setup continues. 您可以按一下 [顯示詳細資料] 在畫面上檢視詳細資料,或是按一下 [檢視詳細資料報表] 來以 HTML 報表形式檢視詳細資料。You can view the details on the screen by clicking Show Details, or as an HTML report by clicking View detailed report.

  7. 在 [準備映像類型] 頁面上,選取 準備新的 [SQL Server]SQL Server 執行個體 。On the Prepare Image Type page, select Prepare a new instance of [SQL Server]SQL Server.

    只有當您的電腦上已經有尚未設定但備妥的 [SQL Server]SQL Server 執行個體時,才會顯示 [準備映像類型] 頁面。The Prepare Image Type page is displayed only when you have an existing un-configured prepared instance of [SQL Server]SQL Server on the machine. 您可以選擇準備新的 [SQL Server]SQL Server 執行個體,或是將 sysprep 支援的功能加入至電腦上現有的已備妥 [SQL Server]SQL Server 執行個體。You can choose to prepare a new instance of [SQL Server]SQL Server or add sys prep supported features to an existing prepared instance of [SQL Server]SQL Server on the machine. 如需有關如何將功能加入至已備妥之 [SQL Server]SQL Server 執行個體的詳細資訊,請參閱 將功能加入至已備妥的執行個體For more information on how to add features to a prepared instance of [SQL Server]SQL Server see Add Features to a prepared instance.

  8. [授權條款] 頁面上,閱讀授權條款,然後選取要接受授權條款和條件的核取方塊。On the License Terms page, read the license agreement, and then select the check box to accept the license terms and conditions. 若要協助提升 [SQL Server]SQL Server,您也可以啟用功能使用方式選項,並傳送報告給 MicrosoftMicrosoftTo help improve [SQL Server]SQL Server, you can also enable the feature usage option and send reports to MicrosoftMicrosoft.

  9. [特徵選取] 頁面上,選取要安裝的元件:On the Feature Selection page, select the components for your installation:

    SQL Server 2014SQL Server 2014 SysPrepSysPrep Database EngineDatabase Engine

    [SQL Server]SQL Server 複寫Replication

    全文檢索功能Full-Text Features

    Data Quality ServicesData Quality Services

    Reporting ServicesReporting Services 原生模式in Native mode

    Analysis ServicesAnalysis Services

    可轉散發功能Redistributable Features

    共用功能Shared Features

    當您反白顯示功能名稱之後,每一個元件群組的描述就會出現在右窗格中。A description for each component group appears in the right pane when you highlight the feature name. 您可以選取核取方塊的任何組合。You can select any combination of check boxes. 如需詳細資訊,請參閱 < 版本和 SQL Server 2014 元件支援的 SQL Server 2014 的版本功能For more information, see Editions and Components of SQL Server 2014 and Features Supported by the Editions of SQL Server 2014.

    右窗格會顯示選取功能的必要條件。The prerequisites for the selected features are displayed on the right-hand pane. [SQL Server]SQL Server 安裝程式將會在這個程序稍後說明的安裝步驟期間安裝尚未安裝的必要條件。Setup will install the prerequisite that are not already installed during the installation step described later in this procedure.

  10. [準備映像規則] 頁面上,系統組態檢查會先確認電腦的系統狀態,然後安裝程式才會繼續進行。On the Prepare Image Rules page, the System Configuration Checker verifies the system state of your computer before Setup continues. 您可以按一下 [顯示詳細資料] 在畫面上檢視詳細資料,或是按一下 [檢視詳細資料報表] 來以 HTML 報表形式檢視詳細資料。You can view the details on the screen by clicking Show Details, or as an HTML report by clicking View detailed report.

  11. 在 [執行個體組態] 頁面上,指定執行個體的執行個體識別碼。On the Instance Configuration page, specify the Instance ID for the Instance. [下一步] ,繼續進行。Click Next to continue.

    執行個體識別碼 - 執行個體識別碼是用來識別 [SQL Server]SQL Server 執行個體的安裝目錄和登錄機碼。Instance ID - The Instance ID is used to identify installation directories and registry keys for your instance of [SQL Server]SQL Server. 這是預設執行個體和具名執行個體的狀況。This is the case for default instances and named instances. 如果已備妥的執行個體在完成步驟期間當做預設執行個體來完成,執行個體名稱會覆寫為 MSSQLSERVER。If the prepared instance is completed as a default Instance during the Complete step, the instance name is overwritten as MSSQLSERVER. 執行個體識別碼仍然與指定的識別碼相同。The Instance ID remains the same as specified.

    執行個體根目錄 - 根據預設,執行個體根目錄為 C:\程式檔案\Microsoft SQL Server\120C:\Program Files\Microsoft SQL Server\120\。Instance root directory - By default, the instance root directory is C:\程式檔案\Microsoft SQL Server\120C:\Program Files\Microsoft SQL Server\120\. 若要指定非預設的根目錄,請使用提供的欄位,或是按一下 [瀏覽] 找出安裝資料夾。To specify a non-default root directory, use the field provided, or click Browse to locate an installation folder. 準備步驟所指定的目錄將會在完成步驟的組態設定期間使用。The directory specified in the prepare step will be used during configuration in the Complete step.

    所有的 [SQL Server]SQL Server Service Pack 和升級項目都會套用至 [SQL Server]SQL Server執行個體的每一個元件。All [SQL Server]SQL Server service packs and upgrades will apply to every component of an instance of [SQL Server]SQL Server.

    安裝的執行個體 - 此方格會顯示執行安裝程式之電腦上的 [SQL Server]SQL Server 執行個體。Installed Instances - The grid shows instances of [SQL Server]SQL Server that are on the computer where Setup is running.

  12. [磁碟空間需求] 頁面會計算您所指定之功能的所需磁碟空間。The Disk Space Requirements page calculates the required disk space for the features that you specify. 然後,它會比較所需的空間與可用的磁碟空間。Then it compares the required space to the available disk space.

  13. 系統組態檢查將會執行預備映像規則,以便使用您已指定的 [SQL Server]SQL Server 功能來驗證電腦組態。The System Configuration Checker will run prepare image rules to validate your computer configuration with the [SQL Server]SQL Server features that you have specified. 您可以按一下 [顯示詳細資料] 在畫面上檢視詳細資料,或是按一下 [檢視詳細資料報表] 來以 HTML 報表形式檢視詳細資料。You can view the details on the screen by clicking Show Details, or as an HTML report by clicking View detailed report.

  14. [準備開始預備映像] 頁面會顯示安裝期間指定之安裝選項的樹狀檢視。The Ready to Prepare Image page shows a tree view of installation options that were specified during Setup. 在此頁面上,安裝程式會指出產品更新功能為啟用或停用,以及最後的更新版本。On this page, Setup indicates whether the Product Update feature is enabled or disabled and the final update version. 若要繼續,請按一下 [準備]To continue, click Prepare. [SQL Server]SQL Server 安裝程式會先安裝選取功能所需的必要條件,之後再進行功能安裝。Setup will first install the required prerequisites for the selected features followed by the feature installation.

  15. 在安裝期間, [準備映像進度] 頁面會提供狀態,好讓您可以在安裝程式進行時監視安裝進度。During installation, the Prepare Image Progress page provides status so that you can monitor installation progress as Setup continues.

  16. 安裝之後, [完成] 頁面會提供安裝和其他重要注意事項之摘要記錄檔的連結。After installation, the Complete page provides a link to the summary log file for the installation and other important notes. 若要完成 [SQL Server]SQL Server 安裝程序,請按一下 [關閉]To complete the [SQL Server]SQL Server installation process, click Close.

  17. 如果指示您重新啟動電腦,請立刻執行。If you are instructed to restart the computer, do so now. 當您完成安裝時,請務必閱讀安裝精靈所提供的訊息。It is important to read the message from the Installation Wizard when you have finished with Setup. 如需詳細資訊,請參閱< View and Read SQL Server Setup Log Files>。For more information, see View and Read SQL Server Setup Log Files.

  18. 這樣會完成準備步驟。This completes the prepare step. 您可能會完成映像或部署備妥的映像,如< Considerations for Installing SQL Server Using SysPrep>中所述。You may complete the image or deploy the prepared image as described in Considerations for Installing SQL Server Using SysPrep.

完成映像Complete Image

完成備妥的 [SQL Server]SQL ServerComplete a Prepared Instance of [SQL Server]SQL Server

  1. 如果您電腦上的映像中已經包含備妥的 [SQL Server]SQL Server 執行個體,您將會在 [開始] 功能表中看到一個捷徑。If you have a prepared instance of [SQL Server]SQL Server included in the image of you machine, you will see a shortcut in the Start Menu. 您也可以啟動安裝中心,並按一下 [進階] 頁面上的 [完成備妥的獨立執行個體的映像] 。You can also launch the Installation Center and click Image completion of a prepared stand-alone instance on the Advanced page.

  2. 系統組態檢查會在電腦上執行探索作業。The System Configuration Checker runs a discovery operation on your computer. 若要繼續進行,請按一下 [確定]To continue, click OK. 您可以按一下 [顯示詳細資料] 在畫面上檢視詳細資料,或是按一下 [檢視詳細資料報表] 來以 HTML 報表形式檢視詳細資料。You can view the details on the screen by clicking Show Details, or as an HTML report by clicking View detailed report.

  3. [安裝程式支援檔案] 頁面上,按一下 [安裝] ,即可安裝安裝程式支援檔案。On the Setup Support Files page, click Install to install the Setup support files.

  4. 系統組態檢查將會先確認電腦的系統狀態,然後安裝程式才會繼續進行。The System Configuration Checker verifies the system state of your computer before Setup continues. 檢查完成之後,請按 [下一步] 繼續進行。After the check is complete, click Next to continue. 您可以按一下 [顯示詳細資料] 在畫面上檢視詳細資料,或是按一下 [檢視詳細資料報表] 來以 HTML 報表形式檢視詳細資料。You can view the details on the screen by clicking Show Details, or as an HTML report by clicking View detailed report.

  5. [產品金鑰] 頁面上,選取選項按鈕,指出您要安裝免費的 [SQL Server]SQL Server版本,或具有 PID 金鑰之產品的實際執行版本。On the Product Key page, select an option button to indicate whether you are installing a free edition of [SQL Server]SQL Server, or a production version of the product that has a PID key. 如需詳細資訊,請參閱 < 版本和 SQL Server 2014 元件For more information, see Editions and Components of SQL Server 2014. 如果您要安裝 Evaluation Edition,180 天的試用期會在您完成這個步驟之後開始。If you are installing Evaluation edition the 180-day trial period starts when you complete this step.

  6. [授權條款] 頁面上,閱讀授權條款,然後選取要接受授權條款和條件的核取方塊。On the License Terms page, read the license agreement, and then select the check box to accept the license terms and conditions. 若要協助提升 [SQL Server]SQL Server,您也可以啟用功能使用方式選項,並傳送報告給 MicrosoftMicrosoftTo help improve [SQL Server]SQL Server, you can also enable the feature usage option and send reports to MicrosoftMicrosoft.

  7. [選取備妥的執行個體] 頁面上,從下拉式方塊選取您想要完成的備妥執行個體。On the Select a Prepared Instance page select the prepared instance you want to complete from the drop down box. 從 [執行個體識別碼] 清單中選取尚未設定的執行個體。Select the Un-configured instance from the Instance ID list.

    已安裝的執行個體: 此方格會顯示包括任何已備妥的執行個體,在此電腦上的所有執行個體。Installed instances: This grid displays all the instances including any prepared instance on this machine.

  8. [功能檢閱] 頁面上,您將會在準備步驟期間看到安裝所包含的選定功能和元件。On the Feature Review page, you will see the selected features and components included in the install during the prepare step. 如果您想要將更多功能加入至已備妥之執行個體中並未包含的 [SQL Server]SQL Server 執行個體,您必須先完成這個步驟,才能完成 [SQL Server]SQL Server 執行個體,然後從 [安裝中心] 上的 [加入功能] 來加入功能。If you wish to add more features to your [SQL Server]SQL Server Instance not included in the prepared instance, you must first complete this step to complete the [SQL Server]SQL Server Instance, then add the features from the Add Features on the Installation Center.

    注意

    您可以加入您所安裝之產品版本的可用功能。You can add features that are available for the product version that you are installing. 如需詳細資訊,請參閱支援的 SQL Server 2014 的版本功能For more information, see Features Supported by the Editions of SQL Server 2014

  9. 在 [執行個體組態] 頁面上,指定已備妥之執行個體的執行個體名稱。On the Instance Configuration page, specify the Instance name for the prepared Instance. 這就是當您完成 [SQL Server]SQL Server組態之後的執行個體名稱。This is the name of the instance once you have completed the configuration of [SQL Server]SQL Server. [下一步] ,繼續進行。Click Next to continue.

    執行個體識別碼 - 執行個體識別碼是用來識別 [SQL Server]SQL Server 執行個體的安裝目錄和登錄機碼。Instance ID - The Instance ID is used to identify installation directories and registry keys for your instance of [SQL Server]SQL Server. 這是預設執行個體和具名執行個體的狀況。This is the case for default instances and named instances. 如果已備妥的執行個體在完成步驟期間當做預設執行個體來完成,執行個體名稱會覆寫為 MSSQLSERVER。If the prepared instance is completed as a default Instance during the Complete step, the instance name is overwritten as MSSQLSERVER. 執行個體識別碼仍然與準備步驟期間指定的識別碼相同。The Instance ID remains the same as specified during the Prepare step.

    執行個體根目錄 - 將會使用準備步驟中所指定的目錄,而且無法在這個步驟中加以修改。Instance root directory -The directory specified in the prepare step will be used and cannot be modified in this step.

    所有的 [SQL Server]SQL Server Service Pack 和升級項目都會套用至 [SQL Server]SQL Server執行個體的每一個元件。All [SQL Server]SQL Server service packs and upgrades will apply to every component of an instance of [SQL Server]SQL Server.

    安裝的執行個體 - 此方格會顯示執行安裝程式之電腦上的 [SQL Server]SQL Server 執行個體。Installed instances - The grid shows instances of [SQL Server]SQL Server that are on the computer where Setup is running.

  10. 本主題其餘部分的工作流程會因為您在準備步驟期間選取的功能而不同。Work flow for the rest of this topic depends on the features that were selected during the prepare step. 您可能不會看到所有頁面,這取決於您的選取項目而定。You might not see all the pages, depending on the selections.

  11. 在 [伺服器設定 - 服務帳戶] 頁面中,指定 [SQL Server]SQL Server 服務的登入帳戶。On the Server Configuration - Service Accounts page, specify login accounts for [SQL Server]SQL Server services. 在這個頁面上所設定的實際服務隨著您選取要安裝的功能而不同。The actual services that are configured on this page depend on the features that you selected to install.

    您可以將相同登入帳戶指派給所有 [SQL Server]SQL Server 服務,或個別設定每一個服務帳戶。You can assign the same login account to all [SQL Server]SQL Server services, or you can configure each service account individually. 此外,您也可以指定要自動啟動服務、手動啟動服務或停用服務。You can also specify whether services start automatically, are started manually, or are disabled. MicrosoftMicrosoft 建議您個別設定服務帳戶,以針對各項服務提供最低權限,其中 [SQL Server]SQL Server 服務會授與必須完成工作的最小權限。recommends that you configure service accounts individually to provide least privileges for each service, where [SQL Server]SQL Server services are granted the minimum permissions they have to have to complete their tasks. 如需詳細資訊,請參閱 伺服器組態 - 服務帳戶設定 Windows 服務帳戶與權限For more information, see Server Configuration - Service Accounts and Configure Windows Service Accounts and Permissions.

    若要針對此 [SQL Server]SQL Server執行個體中的所有服務帳戶指定相同的登入帳戶,請在頁面底部的欄位中提供認證。To specify the same logon account for all service accounts in this instance of [SQL Server]SQL Server, provide credentials in the fields at the bottom of the page.

    安全性注意事項 請勿使用空白密碼。Do not use a blank password. 請使用增強式密碼。Use a strong password.Security Note 請勿使用空白密碼。Do not use a blank password. 請使用增強式密碼。Use a strong password.

    當您完成針對 [SQL Server]SQL Server 服務指定登入資訊之後,請按 [下一步]When you are finished specifying login information for [SQL Server]SQL Server services, click Next.

  12. 使用 [伺服器組態 - 定序] 索引標籤,為 Database EngineDatabase EngineAnalysis ServicesAnalysis Services 指定非預設的定序。Use the Server Configuration - Collation tab to specify non-default collations for the Database EngineDatabase Engine and Analysis ServicesAnalysis Services. 如需詳細資訊,請參閱伺服器組態 - 定序For more information, see Server Configuration - Collation.

  13. 使用 Database EngineDatabase Engine [組態 - 帳戶提供] 頁面來指定以下項目:Use the Database EngineDatabase Engine Configuration - Account Provisioning page to specify the following:

    • 安全性模式 - 為 [SQL Server]SQL Server執行個體選取 Windows 驗證或混合模式驗證。Security Mode - Select Windows Authentication or Mixed Mode Authentication for your instance of [SQL Server]SQL Server. 如果您選取混合模式驗證,就必須為內建 [SQL Server]SQL Server 系統管理員帳戶提供增強式密碼。If you select Mixed Mode Authentication, you must provide a strong password for the built-in [SQL Server]SQL Server system administrator account.

      當裝置與 [SQL Server]SQL Server建立成功的連接之後,Windows 驗證和混合模式的安全性機制是相同的。After a device establishes a successful connection to [SQL Server]SQL Server, the security mechanism is the same for both Windows Authentication and Mixed Mode. 如需詳細資訊,請參閱 < Database Engine 組態-帳戶佈建For more information, see Database Engine Configuration - Account Provisioning.

    • [SQL Server]SQL Server 管理員 - 您在 [SQL Server]SQL Server執行個體上至少必須指定一個系統管理員。Administrators - You must specify at least one system administrator for the instance of [SQL Server]SQL Server. 若要加入 [SQL Server]SQL Server 安裝程式執行所用的帳戶,請按一下 [加入目前使用者]To add the account under which [SQL Server]SQL Server Setup is running, click Add Current User. 若要從系統管理員清單中加入或移除帳戶,請按一下 [加入][移除] ,然後編輯在 [SQL Server]SQL Server執行個體中將會有管理員權限的使用者、群組或電腦清單。To add or remove accounts from the list of system administrators, click Add or Remove, and then edit the list of users, groups, or computers that will have administrator privileges for the instance of [SQL Server]SQL Server. 如需詳細資訊,請參閱 < Database Engine 組態-帳戶佈建For more information, see Database Engine Configuration - Account Provisioning.

    當您完成清單的編輯之後,請按一下 [確定]When you are finished editing the list, click OK. 然後,在組態對話方塊中確認管理員的清單。Verify the list of administrators in the configuration dialog box. 當此清單完成時,請按 [下一步]When the list is complete, click Next.

  14. 使用 Database EngineDatabase Engine [組態 - 資料目錄] 頁面來指定非預設的安裝目錄。Use the Database EngineDatabase Engine Configuration - Data Directories page to specify nondefault installation directories. 若要安裝到預設目錄,請按 [下一步]To install to default directories, click Next.

    重要

    如果您要指定非預設的安裝目錄,請確定安裝資料夾對於此 [SQL Server]SQL Server執行個體是唯一的。If you specify non-default installation directories, ensure that the installation folders are unique to this instance of [SQL Server]SQL Server. 此對話方塊上的任何目錄都不應該與其他 [SQL Server]SQL Server執行個體中的目錄共用。None of the directories in this dialog box should be shared with directories from other instances of [SQL Server]SQL Server.

    如需詳細資訊,請參閱 Database Engine 組態 - 資料目錄For more information, see Database Engine Configuration - Data Directories.

  15. 使用 Database EngineDatabase Engine [組態 - FILESTREAM] 頁面來針對 [SQL Server]SQL Server執行個體啟用 FILESTREAM。Use the Database EngineDatabase Engine Configuration - FILESTREAM page to enable FILESTREAM for your instance of [SQL Server]SQL Server. 如需詳細資訊,請參閱 Database Engine 組態 - FilestreamFor more information, see Database Engine Configuration - Filestream.

  16. 使用Reporting ServicesReporting Services [組態] 頁面來指定要建立的 Reporting ServicesReporting Services 安裝類型。Use the Reporting ServicesReporting Services Configuration page to specify the kind of Reporting ServicesReporting Services installation to create. 如需 Reporting ServicesReporting Services 組態模式的詳細資訊,請參閱 Reporting Services 組態選項 (SSRS)For more information about Reporting ServicesReporting Services configuration modes, see Reporting Services Configuration Options (SSRS).

  17. [錯誤報告] 頁面上,指定您想要傳送給 MicrosoftMicrosoft 的資訊,這可協助改善 [SQL Server]SQL ServerOn the Error Reporting page, specify the information that you want to send to MicrosoftMicrosoft that will help improve [SQL Server]SQL Server. 錯誤報告選項預設為啟用。By default, options for error reporting is enabled.

  18. [完成映像規則] 頁面上,系統組態檢查會執行完整的映像規則,以便使用您已指定的 [SQL Server]SQL Server 組態來驗證電腦組態。On the Complete Image Rules page, the System Configuration Checker will run the complete image rules to validate your computer configuration with the [SQL Server]SQL Server configurations that you have specified. 您可以按一下 [顯示詳細資料] 在畫面上檢視詳細資料,或是按一下 [檢視詳細資料報表] 來以 HTML 報表形式檢視詳細資料。You can view the details on the screen by clicking Show Details, or as an HTML report by clicking View detailed report.

  19. [準備好要完成映像] 頁面會顯示安裝期間指定之安裝選項的樹狀檢視。The Ready to Complete Image page shows a tree view of installation options that were specified during Setup. 若要繼續,請按一下 [安裝]To continue, click Install.

  20. 在安裝期間, [完成映像進度] 頁面會提供狀態,好讓您可以在安裝程式進行時監視安裝進度。During installation, the Complete Image Progress page provides status so that you can monitor installation progress as Setup continues.

  21. 安裝之後, [完成] 頁面會提供安裝和其他重要注意事項之摘要記錄檔的連結。After installation, the Complete page provides a link to the summary log file for the installation and other important notes. 若要完成 [SQL Server]SQL Server 安裝程序,請按一下 [關閉]To complete the [SQL Server]SQL Server installation process, click Close.

  22. 如果指示您重新啟動電腦,請立刻執行。If you are instructed to restart the computer, do so now. 當您完成安裝時,請務必閱讀安裝精靈所提供的訊息。It is important to read the message from the Installation Wizard when you have finished with Setup. 如需詳細資訊,請參閱< View and Read SQL Server Setup Log Files>。For more information, see View and Read SQL Server Setup Log Files.

  23. 這個步驟會完成已備妥之 [SQL Server]SQL Server 執行個體的組態,而且您已經完成 [SQL Server]SQL Server的安裝。This step completes the configuration of the prepared instance of [SQL Server]SQL Server and you have completed the installation of [SQL Server]SQL Server.

Add Features to a Prepared InstanceAdd Features to a Prepared Instance

將功能加入至備妥的 [SQL Server]SQL ServerAdd Features to a Prepared Instance of [SQL Server]SQL Server

  1. 插入 [SQL Server]SQL Server 安裝媒體。Insert the [SQL Server]SQL Server installation media. 在根資料夾中,按兩下 Setup.exe。From the root folder, double-click Setup.exe. 若要從網路共用進行安裝,請找出共用上的根資料夾,然後按兩下 Setup.exe。To install from a network share, locate the root folder on the share, and then double-click Setup.exe.

  2. 安裝精靈會執行 [SQL Server]SQL Server 安裝中心。The Installation Wizard runs the [SQL Server]SQL Server Installation Center. 若要將功能加入備妥的 [SQL Server]SQL Server 執行個體,請在 [進階] 頁面上,按一下 準備 [SQL Server]SQL Server [獨立執行個體的映像] 。To add features to a prepared instance of [SQL Server]SQL Server, click Image preparation of a stand-alone instance of [SQL Server]SQL Server on the Advanced page.

  3. 系統組態檢查會在電腦上執行探索作業。The System Configuration Checker runs a discovery operation on your computer. 若要繼續進行,請按一下 [確定]To continue, click OK. 您可以按一下 [顯示詳細資料] 在畫面上檢視詳細資料,或是按一下 [檢視詳細資料報表] 來以 HTML 報表形式檢視詳細資料。You can view the details on the screen by clicking Show Details, or as an HTML report by clicking View detailed report.

  4. 在 [安裝程式支援檔案] 頁面上,按一下 [安裝] ,即可安裝安裝程式支援檔案。On the Setup Support Files page, click Install to install the Setup support files.

  5. 在 [準備映像類型] 頁面上,選取 將功能加入到現有備妥的 [SQL Server]SQL Server [執行個體] 選項。On the Prepare Image Type page, select Add features to an existing prepared instance of [SQL Server]SQL Server option. 從備妥的可用執行個體的下拉式清單中,選取您想要加入功能之特定的備妥執行個體。Select the specific prepared instance you want to add features to from the drop down list of available prepared instances.

  6. [特徵選取] 頁面上,指定您想要加入至備妥執行個體的功能。On the Feature Selection page, specify the features you want to add to the specified prepared instance.

    右窗格會顯示選取功能的必要條件。The prerequisites for the selected features are displayed on the right-hand pane. [SQL Server]SQL Server 安裝程式將會在這個程序稍後說明的安裝步驟期間安裝尚未安裝的必要條件。Setup will install the prerequisite that are not already installed during the installation step described later in this procedure.

  7. [準備映像規則] 頁面上,系統組態檢查會先確認電腦的系統狀態,然後安裝程式才會繼續進行。On the Prepare Image Rules page, the System Configuration Checker verifies the system state of your computer before Setup continues. 您可以按一下 [顯示詳細資料] 在畫面上檢視詳細資料,或是按一下 [檢視詳細資料報表] 來以 HTML 報表形式檢視詳細資料。You can view the details on the screen by clicking Show Details, or as an HTML report by clicking View detailed report.

  8. [磁碟空間需求] 頁面會計算您所指定之功能的所需磁碟空間。The Disk Space Requirements page calculates the required disk space for the features that you specify. 然後,它會比較所需的空間與可用的磁碟空間。Then it compares the required space to the available disk space.

  9. [準備映像規則] 頁面上,系統組態檢查會執行準備映像規則,以便使用您已指定的 [SQL Server]SQL Server 功能來驗證電腦組態。On the Prepare Image Rules page, the System Configuration Checker will run prepare image rules to validate your computer configuration with the [SQL Server]SQL Server features that you have specified. 您可以按一下 [顯示詳細資料] 在畫面上檢視詳細資料,或是按一下 [檢視詳細資料報表] 來以 HTML 報表形式檢視詳細資料。You can view the details on the screen by clicking Show Details, or as an HTML report by clicking View detailed report.

  10. [準備開始預備映像] 頁面會顯示安裝期間指定之安裝選項的樹狀檢視。The Ready to Prepare Image page shows a tree view of installation options that were specified during Setup. 若要繼續,請按一下 [安裝]To continue, click Install. [SQL Server]SQL Server 安裝程式會先安裝選取功能所需的必要條件,之後再進行功能安裝。Setup will first install the required prerequisites for the selected features followed by the feature installation.

  11. 在安裝期間, [準備映像進度] 頁面會提供狀態,好讓您可以在安裝程式進行時監視安裝進度。During installation, the Prepare Image Progress page provides status so that you can monitor installation progress as Setup continues.

  12. 安裝之後, [完成] 頁面會提供安裝和其他重要注意事項之摘要記錄檔的連結。After installation, the Complete page provides a link to the summary log file for the installation and other important notes. 若要完成 [SQL Server]SQL Server 安裝程序,請按一下 [關閉]To complete the [SQL Server]SQL Server installation process, click Close.

  13. 如果指示您重新啟動電腦,請立刻執行。If you are instructed to restart the computer, do so now. 當您完成安裝時,請務必閱讀安裝精靈所提供的訊息。It is important to read the message from the Installation Wizard when you have finished with Setup. 如需詳細資訊,請參閱< View and Read SQL Server Setup Log Files>。For more information, see View and Read SQL Server Setup Log Files.

從備妥的執行個體中移除功能Remove Features from a Prepare Instance

從備妥的 [SQL Server]SQL ServerRemoving features from a prepared instance of [SQL Server]SQL Server

  1. 若要開始解除安裝程序,請在 [開始] 功能表上按一下 [控制台] ,然後按兩下 [程式和功能]To begin the uninstall process, from the Start menu click Control Panel and double click Program and Features.

  2. 按兩下要解除安裝的 [SQL Server]SQL Server 元件,然後按一下 [移除]Double click the [SQL Server]SQL Server component to uninstall and click Remove.

  3. 安裝程式支援規則將會執行,以便驗證您的電腦組態。Setup support rules will run to verify your computer configuration. 按一下 [確定] 繼續進行。Click OK to continue.

  4. [選取執行個體] 頁面上,選取您想要修改的已備妥執行個體。On the Select Instance page, select the prepared instance you want to modify. 備妥的執行個體名稱將會顯示為 "Unconfigured PreparedInstanceID",其中 PreparedInstanceID 是您選取的執行個體。The name of the prepared instance will be displayed as "Unconfigured PreparedInstanceID" where PreparedInstanceID is the instance you select.

  5. [選取功能] 頁面上,指定要從指定之 [SQL Server]SQL Server 執行個體中移除的功能。On the Select Features page, specify the features to remove from the [SQL Server]SQL Server instance you specified. [下一步] ,繼續進行。Click Next to continue.

  6. 移除規則將會執行,以便確認作業可以順利完成。Removal rules will run to verify that the operation can complete successfully.

  7. [準備移除] 頁面上,檢閱即將解除安裝之元件和功能的清單。On the Ready to Remove page, review the list of components and features that will be uninstalled.

  8. [移除進度] 頁面會顯示此作業的狀態。The Remove Progress page will display the status of the operation.

  9. [完成] 頁面上,您可以檢閱此作業的完成狀態。On the Complete page you can review the completion status of the operation. 按一下 [關閉] 結束安裝精靈。Click close to exit the installation wizard.

解除安裝備妥的執行個體Uninstalling a Prepared Instance

解除安裝備妥的 [SQL Server]SQL ServerUninstall a prepared instance of [SQL Server]SQL Server

  1. 若要開始解除安裝程序,請在 [開始] 功能表上按一下 [控制台] ,然後按兩下 [程式和功能]To begin the uninstall process, from the Start menu click Control Panel and double click Program and Features.

  2. 按兩下要解除安裝的 [SQL Server]SQL Server 元件,然後按一下 [移除]Double click the [SQL Server]SQL Server component to uninstall and click Remove.

  3. 安裝程式支援規則將會執行,以便驗證您的電腦組態。Setup support rules will run to verify your computer configuration. 按一下 [確定] 繼續進行。Click OK to continue.

  4. [選取執行個體] 頁面上,選取您想要修改的已備妥執行個體。On the Select Instance page, select the prepared instance you want to modify. 備妥的執行個體名稱將會顯示為 "Unconfigured PreparedInstanceID",其中 PreparedInstanceID 是您選取的執行個體。The name of the prepared instance will be displayed as "Unconfigured PreparedInstanceID" where PreparedInstanceID is the instance you select.

  5. [選取功能] 頁面上,指定要從指定之 [SQL Server]SQL Server 執行個體中移除的功能。On the Select Features page, specify the features to remove from the [SQL Server]SQL Server instance you specified. [下一步] ,繼續進行。Click Next to continue.

  6. [移除規則] 頁面上,安裝程式會執行規則,以便確認作業可以順利完成。On the Removal Rules page, Setup will run rules to verify that the operation can complete successfully.

  7. [準備移除] 頁面上,檢閱即將解除安裝之元件和功能的清單。On the Ready to Remove page, review the list of components and features that will be uninstalled.

  8. [移除進度] 頁面會顯示此作業的狀態。The Remove Progress page will display the status of the operation.

  9. [完成] 頁面上,您可以檢閱此作業的完成狀態。On the Complete page you can review the completion status of the operation. 按一下 [關閉] 結束安裝精靈。Click close to exit the installation wizard.

  10. 重複步驟 1 到 9,直到移除所有 SQL Server 2014SQL Server 2014 元件為止。Repeat steps 1 to 9 until all components of SQL Server 2014SQL Server 2014 have been removed.

修改或解除安裝已完成的 [SQL Server]SQL Server執行個體。Modifying or Uninstalling a Completed Instance of [SQL Server]SQL Server.

加入或移除功能或解除安裝已完成之 [SQL Server]SQL Server 執行個體的程序,類似於已安裝之 [SQL Server]SQL Server執行個體的程序。The process to add or remove features or to uninstall a completed instance of [SQL Server]SQL Server is similar to the process to an installed instance of [SQL Server]SQL Server. 如需詳細資訊,請參閱下列主題:For more information, see the following topics:

另請參閱See Also

什麼是 Sysprep? What is Windows SysPrep
Windows SysPrep 的運作方式How does Windows SysPrepWork