SQL Server installation using command prompt

https://docs.microsoft.com/en-us/sql/database-engine/install-windows/install-sql-server-from-the-command-prompt?view=sql-server-ver15

https://docs.microsoft.com/en-us/sql/database-engine/install-windows/install-sql-server-from-the-command-prompt?view=sql-server-ver15#Feature

##Make sure you change the system admin account and directories
setup.exe /QUIETSIMPLE /IAcceptSQLServerLicenseTerms /ACTION=install /FEATURES=SQL /INSTANCENAME=SQL17 /SQLSVCACCOUNT="NT Authority\System" /SQLSYSADMINACCOUNTS="your account name here" /AGTSVCACCOUNT="NT Authority\System" /SECURITYMODE=SQL /SAPWD="Pa$$w0rd" /SQLTEMPDBDIR="E:\MSSQL\TempDB\\" /SQLUSERDBDIR="E:\MSSQL\Data\\" /SQLUSERDBLOGDIR="E:\MSSQL\Log\\"

Author: Sauras Pandey

Sauras Pandey is an MCP, SQL Server DBA/Architect with 9+ years of experience working in a variety of environments

Leave a Reply

Your email address will not be published.