<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title> &#187; MSSQL Installation Parameters</title>
	<atom:link href="http://eitwebguru.com/tag/mssql-installation-parameters/feed/" rel="self" type="application/rss+xml" />
	<link>http://eitwebguru.com</link>
	<description></description>
	<lastBuildDate>Thu, 09 Feb 2012 05:54:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Unattended MSSQL 2005 Installation &#8211; Command Line Installation of MSSQL</title>
		<link>http://eitwebguru.com/unattended-mssql-2005-installation-command-line-installation-of-mssql/</link>
		<comments>http://eitwebguru.com/unattended-mssql-2005-installation-command-line-installation-of-mssql/#comments</comments>
		<pubDate>Sun, 30 Oct 2011 02:31:40 +0000</pubDate>
		<dc:creator>Milind</dc:creator>
				<category><![CDATA[Microsoft Windows]]></category>
		<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[Plesk For Windows]]></category>
		<category><![CDATA[Windows Virtuozzo]]></category>
		<category><![CDATA[ADDLOCAL]]></category>
		<category><![CDATA[AGTACCOUNT user]]></category>
		<category><![CDATA[Command Line Installation of MSSQL]]></category>
		<category><![CDATA[Install MSSQL from Command prompt]]></category>
		<category><![CDATA[MSSQL Installation Parameters]]></category>
		<category><![CDATA[SQLACCOUNT user]]></category>
		<category><![CDATA[SQLBROWSERACCOUNT user]]></category>
		<category><![CDATA[Unattended MSSQL 2005 Installation]]></category>

		<guid isPermaLink="false">http://eitwebguru.com/?p=500</guid>
		<description><![CDATA[Microsoft SQL Server is a relational model database server produced by Microsoft and it&#8217;s Installation is quite Easy using GUI where a user has to selects the options which he/she needs with the database server and install it. We can automate the installation procedure and make it so simple that MSSQL can be installed using [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">Microsoft SQL Server is a relational model database server produced by Microsoft and it&#8217;s Installation is quite Easy using GUI where a user has to selects the options which he/she needs with the database server and install it. We can automate the installation procedure and make it so simple that MSSQL can be installed using a single command. </span></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">Automating SQL server installation is made easier in MSSQL 2005 version and we can define the components which need to be installed with setup.exe via command prompt OR we can create an ini file which will contain all the information about the installation. In this post I will explain the steps to install MSSQL 2005 using command prompt with the help of single command.</span></p>
<p style="text-align: justify;"><span style="text-decoration: underline;"><strong><span style="font-family: Verdana; font-size: small;">Install MSSQL using Command Prompt (By Defining all modules in command)</span></strong></span></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;"><strong>1)</strong> Insert the MSSQL installation media into the disk drive.</span></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;"><strong>2)</strong> Open Command Prompt (<strong>Start &gt;&gt; Run &gt;&gt; cmd &gt;&gt; Enter</strong>)</span></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;"><strong>3)</strong> Execute following command</span></p>
<div style="background: url(/wp-content/themes/notepad_second/images/pre_code_bg_blk.png) repeat-y scroll 0% 0% transparent; width: 490px; height: 120px; overflow: auto; line-height: 20px; padding: 20px; font-family: Courier New; font-size: small; color: #ffffff;">Start /wait [CD or DVD Drive]\servers\setup.exe /qb INSTANCENAME=[InstanceName] ADDLOCAL=All PIDKEY=[pidkey value with no "-"] SAPWD=[StrongPassword] SQLACCOUNT=[domain\user] SQLPASSWORD=[DomainUserPassword] AGTACCOUNT=[domain\user] AGTPASSWORD=[DomainUserPassword] SQLBROWSERACCOUNT=[domain\user] SQLBROWSERPASSWORD=[DomainUserPassword]</div>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;"><br />Here, <strong>ADDLOCAL</strong> is set to &#8220;<strong>All</strong>&#8221; which will install all the components and modules bundled with the MSSQL. If you want customized modules then you can declare the modules instead of &#8220;<strong>All</strong>&#8220;.</span></p>
<p style="text-align: justify;"><span style="text-decoration: underline;"><strong><span style="font-family: Verdana; font-size: small;">Install MSSQL using .ini file</span></strong></span></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;"><strong>1)</strong> Open Notepad (<strong>Start &gt;&gt; Run &gt;&gt; Notepad &gt;&gt; Enter</strong>)</span></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;"><strong>2)</strong> Insert all the &#8220;<strong>Installation Parameters</strong>&#8221; in that file. Following is the sample file which I have used to install MSSQL on my System</span></p>
<div style="background: url(/wp-content/themes/notepad_second/images/pre_code_bg_blk.png) repeat-y scroll 0% 0% transparent; width: 490px; height: 260px; overflow: auto; line-height: 20px; padding: 20px; font-family: Courier New; font-size: small; color: #ffffff;">[Options]<br /> USERNAME=USER<br /> COMPANYNAME=USER<br /> PIDKEY=1234657979764346<br /> INSTALLSQLDIR=D:\MSSQL<br /> ADDLOCAL=SQL_Engine,SQL_Replication,Client_Components,Connectivity,SQLXML<br /> SECURITYMODE=SQL<br /> SAPWD=Supp0rt<br /> SQLACCOUNT=&#8221;NT AUTHORITY\SYSTEM&#8221;<br /> AGTACCOUNT=&#8221;NT AUTHORITY\SYSTEM&#8221;<br /> SQLBROWSERACCOUNT=&#8221;NT AUTHORITY\SYSTEM&#8221;<br /> SQLCOLLATION=SQL_Latin1_General_CP1_CI_AS</div>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">Here, <strong>PIDKEY</strong> will be the <strong>Product Key</strong> of the product shipped with MSSQL.</span></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;"><strong>3)</strong> Save this file with extension .ini (like <strong>sqlsetup.ini</strong>)</span></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;"><strong>4)</strong> Execute following command to run the setup</span></p>
<div style="background: url(/wp-content/themes/notepad_second/images/pre_code_bg_blk.png) repeat-y scroll 0% 0% transparent; width: 490px; height: 40px; overflow: auto; line-height: 20px; padding: 20px; font-family: Courier New; font-size: small; color: #ffffff;">[CD or DVD Drive]/servers/setup.exe /settings [path to setup file]\sqlsetup.ini /qb</div>
<p><span style="font-family: Verdana; font-size: small;"><br /><strong>Points to Note:</strong></span></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;"><strong>1)</strong> While specifying the accounts like <strong>SQLACCOUNT</strong>, <strong>AGTACCOUNT</strong> and <strong>SQLBROWSERACCOUNT</strong> make sure you define proper users. Users can be</span></p>
<div style="background: url(/wp-content/themes/notepad_second/images/pre_code_bg_blk.png) repeat-y scroll 0% 0% transparent; width: 490px; height: 80px; overflow: auto; line-height: 20px; padding: 20px; font-family: Courier New; font-size: small; color: #ffffff;">Domain User account              :        [domain\user]<br />Local System Account            :        &#8220;NT AUTHORITY\SYSTEM&#8221;<br />Network Service Account      :        &#8220;NT AUTHORITY\NETWORK SERVICE&#8221;<br />Local Service Account          :        &#8220;NT AUTHORITY\LOCAL SERVICE&#8221;</div>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">2) Microsoft provides a template.ini file in the installation media but I would strongly recommend to remove the options that you don’t want.</span></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">You can refer to Microsoft tutorial for more information and component help at <a target="_blank" rel="nofollow" href="http://msdn.microsoft.com/en-us/library/ms144259.aspx">http://msdn.microsoft.com/en-us/library/ms144259.aspx</a></span></p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://eitwebguru.com/unattended-mssql-2005-installation-command-line-installation-of-mssql/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

