Use the parameters in the following table to develop command line scripts for installation.
|
SQL Server component
|
Parameter
|
Description
|
|
SQL Server Setup Control
|
/ACTION
Required
|
Required to indicate the installation workflow.
Supported values:
|
|
SQL Server Setup Control
|
/CONFIGURATIONFILE
Optional
|
Specifies the ConfigurationFile to use.
|
|
SQL Server Setup Control
|
/ERRORREPORTING
Optional
|
Specifies the error reporting for SQL Server.
For more information, see Privacy Statement for the Microsoft Error Reporting Service.
Supported values:
|
|
SQL Server Setup Control
|
/FEATURES
Required
|
Specifies components to install.
|
|
SQL Server Setup Control
|
/HELP, H, ?
Optional
|
Displays the usage options for installation parameters.
|
|
SQL Server Setup Control
|
/INDICATEPROGRESS
Optional
|
Specifies that the verbose Setup log file is piped to the console.
|
|
SQL Server Setup Control
|
/INSTALLSHAREDDIR
Optional
|
Specifies a nondefault installation directory for 64-bit shared components.
|
|
SQL Server Setup Control
|
/INSTALLSHAREDWOWDIR
Optional
|
Specifies a nondefault installation directory for 32-bit shared components. Supported only on a 64-bit system.
|
|
SQL Server Setup Control
|
/INSTANCEDIR
Optional
|
Specifies a nondefault installation directory for instance-specific components.
|
|
SQL Server Setup Control
|
/INSTANCEID
Optional
|
Specifies a nondefault value for an InstanceID.
|
|
SQL Server Setup Control
|
/INSTANCENAME
Required
|
Specifies a SQL Server instance name.
For more information, see Instance Configuration.
|
|
SQL Server Setup Control
|
/PID
Optional
|
Specifies the product key for the edition of SQL Server. If this parameter is not specified, SQL Server 2008 Enterprise Evaluation is used.
|
|
SQL Server Setup Control
|
/Q
Optional
|
Specifies that Setup runs in a quiet mode without any user interface. This is used for unattended installations.
|
|
SQL Server Setup Control
|
/QS
Optional
|
Specifies that Setup runs and shows progress through the UI, but does not accept any input or show any error messages.
|
|
SQL Server Setup Control
|
/SQMREPORTING
Optional
|
Specifies feature usage reporting for SQL Server.
For more information, see Privacy Statement for the Microsoft Error Reporting Service.
Supported values:
|
|
SQL Server Setup Control
|
/HIDECONSOLE
Optional
|
Specifies that the console window is hidden or closed.
|
|
SQL Server Agent
|
/AGTSVCACCOUNT
Required
|
Specifies the account for the SQL Server Agent service.
|
|
SQL Server Agent
|
/AGTSVCPASSWORD
Required
|
Specifies the password for SQL Server Agent service account.
|
|
SQL Server Agent
|
/AGTSVCSTARTUPTYPE
Optional
|
Specifies the startup mode for the SQL Server Agent service.
Supported values:
-
Automatic
-
Disabled
-
Manual
|
|
Analysis Services
|
/ASBACKUPDIR
Optional
|
Specifies the directory for Analysis Services backup files.
Default values:
-
For WOW mode on 64-bit: %Program Files(x86)%\Microsoft SQL Server\ <INSTANCEDIR>\<ASInstanceID>\OLAP\Backup.
-
For all other installations: %Program Files%\Microsoft SQL Server\ <INSTANCEDIR>\<ASInstanceID>\OLAP\Backup.
|
|
Analysis Services
|
/ASCOLLATION
Optional
|
Specifies the collation setting for Analysis Services.
Default value:
|
|
Analysis Services
|
/ASCONFIGDIR
Optional
|
Specifies the directory for Analysis Services configuration files.
Default values:
-
For WOW mode on 64-bit: %Program Files(x86)%\Microsoft SQL Server\ <INSTANCEDIR>\<ASInstanceID>\OLAP\Config.
-
For all other installations: %Program Files%\Microsoft SQL Server\<INSTANCEDIR>\<ASInstanceID>\OLAP\Config.
|
|
Analysis Services
|
/ASDATADIR
Optional
|
Specifies the directory for Analysis Services data files.
Default values:
-
For WOW mode on 64-bit: %Program Files(x86)%\Microsoft SQL Server\<INSTANCEDIR>\<ASInstanceID>\OLAP\Data.
-
For all other installations: %Program Files%\Microsoft SQL Server\<INSTANCEDIR>\<ASInstanceID>\OLAP\Data.
|
|
Analysis Services
|
/ASLOGDIR
Optional
|
Specifies the directory for Analysis Services log files.
Default values:
-
For WOW mode on 64-bit: %Program Files(x86)%\Microsoft SQL Server\<INSTANCEDIR>\<ASInstanceID>\OLAP\Log.
-
For all other installations: %Program Files%\Microsoft SQL Server\<INSTANCEDIR>\<ASInstanceID>\OLAP\Log.
|
|
Analysis Services
|
/ASSVCACCOUNT
Required
|
Specifies the account for the Analysis Services service.
|
|
Analysis Services
|
/ASSVCPASSWORD
Required
|
Specifies the password for the Analysis Services service.
|
|
Analysis Services
|
/ASSVCSTARTUPTYPE
Optional
|
Specifies the startup mode for the Analysis Services service.
Supported values:
-
Automatic
-
Disabled
-
Manual
|
|
Analysis Services
|
/ASSYSADMINACCOUNTS
Required
|
Specifies the administrator credentials for Analysis Services.
|
|
Analysis Services
|
/ASTEMPDIR
Optional
|
Specifies the directory for Analysis Services temporary files.
Default values:
-
For WOW mode on 64-bit: %Program Files(x86)%\Microsoft SQL Server\<INSTANCEDIR>\<ASInstanceID>\OLAP\Temp.
-
For all other installations: %Program Files%\Microsoft SQL Server\<INSTANCEDIR>\<ASInstanceID>\OLAP\Temp.
|
|
Analysis Services
|
/ASPROVIDERMSOLAP
Optional
|
Specifies whether the MSOLAP provider can run in-process.
Default value:
|
|
SQL Server Browser
|
/BROWSERSVCSTARTUPTYPE
Optional
|
Specifies the startup mode for SQL Server Browser service.
Supported values:
-
Automatic
-
Disabled
-
Manual
|
|
SQL Server Database Engine
|
/ENABLERANU
Optional
|
Enables run-as credentials for SQL Server Express installations.
|
|
SQL Server Database Engine
|
/INSTALLSQLDATADIR
Optional
|
Specifies the data directory for SQL Server data files.
Default values:
-
For WOW mode on 64-bit:%Program Files(x86)%\Microsoft SQL Server\
-
For all other installations:%Program Files%\Microsoft SQL Server\
|
|
SQL Server Database Engine
|
/SAPWD
Required when /SECURITYMODE=SQL
|
Specifies the password for the SQL Server sa account.
|
|
SQL Server Database Engine
|
/SECURITYMODE
Optional
|
Specifies the security mode for SQL Server.
If this parameter is not supplied, then Windows-only authentication mode is supported.
Supported value:
|
|
SQL Server Database Engine
|
/SQLBACKUPDIR
Optional
|
Specifies the directory for backup files.
Default value:
-
<InstallSQLDataDir>\ <SQLInstanceID>\MSSQL\Backup
|
|
SQL Server Database Engine
|
/SQLCOLLATION
Optional
|
Specifies the collation settings for SQL Server.
Default value:
-
SQL_Latin1_General_CP1_CS_AS
|
|
SQL Server Database Engine
|
/SQLSVCACCOUNT
Required
|
Specifies the startup account for the SQL Server service.
|
|
SQL Server Database Engine
|
/SQLSVCPASSWORD
Required
|
Specifies the password for SQLSVCACCOUNT.
|
|
SQL Server Database Engine
|
/SQLSVCSTARTUPTYPE
Optional
|
Specifies the startup mode for the SQL Server service.
Supported values:
-
Automatic
-
Disabled
-
Manual
|
|
SQL Server Database Engine
|
/SQLSYSADMINACCOUNTS
Required
|
Use this parameter to provision logins to be members of the sysadmin role.
|
|
SQL Server Database Engine
|
/SQLTEMPDBDIR
Optional
|
Specifies the directory for the data files for tempdb.
Default value:
-
<InstallSQLDataDir>\ <SQLInstanceID>\MSSQL\Data
|
|
SQL Server Database Engine
|
/SQLTEMPDBLOGDIR
Optional
|
Specifies the directory for the log files for tempdb.
Default value:
-
<InstallSQLDataDir>\ <SQLInstanceID>\MSSQL\Data
|
|
SQL Server Database Engine
|
/SQLUSERDBDIR
Optional
|
Specifies the directory for the data files for user databases.
Default value:
-
<InstallSQLDataDir>\ <SQLInstanceID>\MSSQL\Data
|
|
SQL Server Database Engine
|
/SQLUSERDBLOGDIR
Optional
|
Specifies the directory for the log files for user databases.
Default value:
-
<InstallSQLDataDir>\ <SQLInstanceID>\MSSQL\Data
|
|
SQL Server Database Engine
|
/USESYSDB
Optional
|
Specifies the location of the SQL Server system databases to use for this installation.
The path that is specified must not include the "\Data" suffix.
|
|
FILESTREAM
|
/FILESTREAMLEVEL
Optional
|
Specifies the access level for the FILESTREAM feature.
Supported values:
-
0 =Disable FILESTREAM support for this instance. (Default value)
-
1=Enable FILESTREAM for Transact-SQL access.
-
2=Enable FILESTREAM for Transact-SQL and file I/O streaming access. (Not valid for cluster scenarios)
-
3=Allow remote clients to have streaming access to FILESTREAM data.
|
|
FILESTREAM
|
/FILESTREAMSHARENAME
Optional
Required when FILESTREAMLEVEL is greater than 1.
|
Specifies the name of the windows share in which the FILESTREAM data will be stored.
|
|
SQL Server Full Text
|
/FTSVCACCOUNT
Optional
|
Specifies the account for Full-Text filter launcher service.
This parameter is ignored in Windows Server 2008 and Windows Vista operating systems. ServiceSID is used to help secure the communication between SQL Server and Full-text Filter Daemon. If the values are not provided, the Full-text Filter Launcher Service is disabled. You have to use SQL Server Control Manager to change the service account and enable full-text functionality.
Default value:
|
|
SQL Server Full Text
|
/FTSVCPASSWORD
Optional
|
Specifies the password for the Full-Text filter launcher service.
This parameter is ignored in Windows Server 2008 and Windows Vista operating systems.
|
|
Integration Services
|
/ISSVCACCOUNT
Required
|
Specifies the account for Integration Services.
Default value:
-
NT AUTHORITY\NETWORK SERVICE
|
|
Integration Services
|
/ISSVCPASSWORD
Required
|
Specifies the Integration Services password.
|
|
Integration Services
|
/ISSVCStartupType
Optional
|
Specifies the startup mode for the Integration Services service.
|
|
SQL Server Network Configuration
|
/NPENABLED
Optional
|
Specifies the state of the Named Pipes protocol for the SQL Server service.
Supported values:
-
0=disable the Named Pipes protocol
-
1=enable the Named Pipes protocol
|
|
SQL Server Network Configuration
|
/TCPENABLED
Optional
|
Specifies the state of the TCP protocol for the SQL Server service.
Supported values:
-
0=disable the TCP protocol
-
1=enable the TCP protocol
|
|
Reporting Services
|
/RSINSTALLMODE
Optional
|
Specifies the Install mode for Reporting Services.
|
|
Reporting Services
|
/RSSVCACCOUNT
Required
|
Specifies the startup account for Reporting Services.
|
|
Reporting Services
|
/RSSVCPASSWORD
Required
|
Specifies the password for the startup account for the Reporting Services service.
|
|
Reporting Services
|
/RSSVCStartupType
Optional
|
Specifies the startup mode for Reporting Services.
|