Click here to Skip to main content
15,993,835 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I created the Sql Server R2 instance using Following bacth file.
Its created the Sql Server ,and Sql server Agent (Check Sql server Configuration manager).but the Sqlserver did not start . Its showing Some error when i manually started that Service in Sql Server Configuration.

My Question is
1.Dont want to install the Sql Server Agent , Only install Sql server New instance.
2.Start the Sql server service , when i created the Instance.


Regards,
Saran.t
SQL
*********************************************************************
@echo off
rem 	Performs SQL Desktop Engine Setup


cls

echo *
echo     Unattended SQL DESKTOP ENGINE starting.
echo *
echo *
echo     Waiting for DESKTOP ENGINE Setup to finish...

rem =================================
rem What Platform?
rem =================================

@echo on
start /wait ServicePack\SQLEXPRWT_x86_ENU.exe /QS /ACTION=Install /IACCEPTSQLSERVERLICENSETERMS /ERRORREPORTING=0 /FEATURES=SQLEngine /INSTANCENAME=NewINSTANCENAME /BROWSERSVCSTARTUPTYPE=Disabled /SECURITYMODE=SQL /SAPWD=PWD /SQLSVCACCOUNT="NT AUTHORITY\SYSTEM" /SQLSVCSTARTUPTYPE=Automatic /TCPENABLED=1 /SQLSYSADMINACCOUNTS="Everyone" /AGTSVCACCOUNT="NT AUTHORITY\SYSTEM" /AGTSVCSTARTUPTYPE=Disabled

@echo off
:END
:DONE
********************************************************************
Posted
Updated 11-Feb-11 18:21pm
v2
Comments
Sandeep Mewara 12-Feb-11 0:21am    
Use PRE tags to format code part. It makes the question readable.
Dave Kreskowiak 12-Feb-11 10:16am    
So you got an error when you did this. You know, that message where the computer tells you there's a specific problem. That message that gives vital clues to what went wrong. You didn't think that was important enough to include in a post that asks "What's my problem? Where did I go wrong?"

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900