How to do silent installation of SQL Server Express

Hi guys ,

This post is about the silent installation of SQL Server Express Addition..

I was searching for "SQL Installation using Command Prompt
and i got something very interesting on Technet Forums to do it.. 

More Info:
 http://social.msdn.microsoft.com/Forums/sqlserver/en-US/835c123e-7c3e-4eef-bc47-e2ee700187c1/sql-server-express-silent-installation

How you can do it

To install SQL Express in quiet mode

open Command Prompt with Administrative privileges 

type the following Command line

Setup.exe /q /Action=Install /Hideconsole /Features=SQL,Tools
/InstanceName=SQLExpress /SQLSYSADMINACCOUNTS="Builtin\Administrators"
/SQLSVCACCOUNT="<DomainName\UserName>" /SQLSVCPASSWORD="<StrongPassword>

In the preceding example:
  • /q– specifies that Setup run in a quiet mode without any user interface.
  • /Action– specifies which action to perform. In this example, the action is Install.
  • /Hideconsole– specifies that the console window is hidden or closed during the install.
  • /Features– specifies which parent features and features to install. In this example, the parent feature SQL is installed, which includes SQLEngine, Replication, and Fulltext components. The Tools feature installs all of the tools components.
  • /InstanceName– specifies a SQL Server instance name.
  • /SQLSYSADMINACCOUNTS–provisions logins to be members of the system administrators role.
  • /SQLSVCACCOUNT– specifies the startup account for the SQL Server service.
  • /SQLSVCPASSWORD– specifies the password for SQLSVCACCOUNT.


You can use /QS switch as an installation parameter, the /QS switch only shows progress,

Cheers...

Comments

Popular posts from this blog

Windows Deployment Service ( WDS ) and Errors and Solutions

Hyper-V Questions and answers !

DHCP, WDS, PXE Boot and Common Issues