<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: SQL SERVER &#8211; 2005 &#8211; Start Stop Restart SQL Server From Command Prompt</title>
	<atom:link href="http://blog.sqlauthority.com/2007/09/09/sql-server-2005-start-stop-restart-sql-server-from-command-prompt/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2007/09/09/sql-server-2005-start-stop-restart-sql-server-from-command-prompt/</link>
	<description>Notes of a SQL Server MVP and Database Administrator</description>
	<lastBuildDate>Sat, 21 Nov 2009 05:54:09 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: keerti</title>
		<link>http://blog.sqlauthority.com/2007/09/09/sql-server-2005-start-stop-restart-sql-server-from-command-prompt/#comment-57131</link>
		<dc:creator>keerti</dc:creator>
		<pubDate>Thu, 29 Oct 2009 07:13:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/09/09/sql-server-2005-start-stop-restart-sql-server-from-command-prompt/#comment-57131</guid>
		<description>very nice discussion.

for schedule back up of your application add RestratSQL.bat
in schedule task</description>
		<content:encoded><![CDATA[<p>very nice discussion.</p>
<p>for schedule back up of your application add RestratSQL.bat<br />
in schedule task</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik Staley</title>
		<link>http://blog.sqlauthority.com/2007/09/09/sql-server-2005-start-stop-restart-sql-server-from-command-prompt/#comment-56879</link>
		<dc:creator>Erik Staley</dc:creator>
		<pubDate>Thu, 22 Oct 2009 00:39:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/09/09/sql-server-2005-start-stop-restart-sql-server-from-command-prompt/#comment-56879</guid>
		<description>Thank you for the straight-to-the-point restart instructions.  We have to restart the database services quite often on a couple of our systems and your instructions on how to put the restart in a batch file were very helpful.   Thanks!</description>
		<content:encoded><![CDATA[<p>Thank you for the straight-to-the-point restart instructions.  We have to restart the database services quite often on a couple of our systems and your instructions on how to put the restart in a batch file were very helpful.   Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohan Delskpek</title>
		<link>http://blog.sqlauthority.com/2007/09/09/sql-server-2005-start-stop-restart-sql-server-from-command-prompt/#comment-56312</link>
		<dc:creator>Mohan Delskpek</dc:creator>
		<pubDate>Thu, 01 Oct 2009 09:34:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/09/09/sql-server-2005-start-stop-restart-sql-server-from-command-prompt/#comment-56312</guid>
		<description>My company server went down with a corrupted harddrive.  We reinstalled the backup of the C: drive from an image but now SQL Express 2005 won&#039;t start.  I manually tried to start it but it gives an error message &quot;Windows could not start SQL Server (SQLEXPRESS) on Local Computer.......error code 17051&quot;.  I looked up this code on the net and it says the evaluation copy has expired.  I thought SQL Express was free and it is working until the C: Drive went down.  Any ideas on how to proceed?</description>
		<content:encoded><![CDATA[<p>My company server went down with a corrupted harddrive.  We reinstalled the backup of the C: drive from an image but now SQL Express 2005 won&#8217;t start.  I manually tried to start it but it gives an error message &#8220;Windows could not start SQL Server (SQLEXPRESS) on Local Computer&#8230;&#8230;.error code 17051&#8243;.  I looked up this code on the net and it says the evaluation copy has expired.  I thought SQL Express was free and it is working until the C: Drive went down.  Any ideas on how to proceed?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Manoj Deshpande</title>
		<link>http://blog.sqlauthority.com/2007/09/09/sql-server-2005-start-stop-restart-sql-server-from-command-prompt/#comment-55665</link>
		<dc:creator>Manoj Deshpande</dc:creator>
		<pubDate>Mon, 07 Sep 2009 12:27:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/09/09/sql-server-2005-start-stop-restart-sql-server-from-command-prompt/#comment-55665</guid>
		<description>HI,

What happens when the agent is restarted? I mean, what does it clear, what does it do? 
I have an issue of a job, that does not complete - runs indefinitely. But when I restart the agent and then run the job, it completes. Again, if I attempt to run the job, it keeps running. I restart the agent, it completes!
I am curious to know what happened when I restarted the SQL Agent Service, that made it run?</description>
		<content:encoded><![CDATA[<p>HI,</p>
<p>What happens when the agent is restarted? I mean, what does it clear, what does it do?<br />
I have an issue of a job, that does not complete &#8211; runs indefinitely. But when I restart the agent and then run the job, it completes. Again, if I attempt to run the job, it keeps running. I restart the agent, it completes!<br />
I am curious to know what happened when I restarted the SQL Agent Service, that made it run?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohammad Mahdi Saffari</title>
		<link>http://blog.sqlauthority.com/2007/09/09/sql-server-2005-start-stop-restart-sql-server-from-command-prompt/#comment-55392</link>
		<dc:creator>Mohammad Mahdi Saffari</dc:creator>
		<pubDate>Sat, 29 Aug 2009 07:23:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/09/09/sql-server-2005-start-stop-restart-sql-server-from-command-prompt/#comment-55392</guid>
		<description>@Imran Mohammed

Thank you for this outstanding comment -- Using cmd to stop/start a named instance.

It&#039;s really a pain in the [...] to use UI to do such a simple task :)

Thanks again</description>
		<content:encoded><![CDATA[<p>@Imran Mohammed</p>
<p>Thank you for this outstanding comment &#8212; Using cmd to stop/start a named instance.</p>
<p>It&#8217;s really a pain in the [...] to use UI to do such a simple task :)</p>
<p>Thanks again</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lakshman</title>
		<link>http://blog.sqlauthority.com/2007/09/09/sql-server-2005-start-stop-restart-sql-server-from-command-prompt/#comment-54805</link>
		<dc:creator>Lakshman</dc:creator>
		<pubDate>Thu, 13 Aug 2009 05:31:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/09/09/sql-server-2005-start-stop-restart-sql-server-from-command-prompt/#comment-54805</guid>
		<description>Hi,
i have problem with starting SQlserver 2005 in my system (vista). When I am trying to start by these steps, I am getting following error.

a service specific error occurred: 17051
More help is available by typing NET HELPMSG 3547.

Even I am not able to start services from Configuration manager.
Please help me out to resolve problem.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
i have problem with starting SQlserver 2005 in my system (vista). When I am trying to start by these steps, I am getting following error.</p>
<p>a service specific error occurred: 17051<br />
More help is available by typing NET HELPMSG 3547.</p>
<p>Even I am not able to start services from Configuration manager.<br />
Please help me out to resolve problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jack</title>
		<link>http://blog.sqlauthority.com/2007/09/09/sql-server-2005-start-stop-restart-sql-server-from-command-prompt/#comment-54767</link>
		<dc:creator>Jack</dc:creator>
		<pubDate>Wed, 12 Aug 2009 05:27:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/09/09/sql-server-2005-start-stop-restart-sql-server-from-command-prompt/#comment-54767</guid>
		<description>net start MSSQL$SQLEXPRESS to start/stop sql express</description>
		<content:encoded><![CDATA[<p>net start MSSQL$SQLEXPRESS to start/stop sql express</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jack</title>
		<link>http://blog.sqlauthority.com/2007/09/09/sql-server-2005-start-stop-restart-sql-server-from-command-prompt/#comment-54764</link>
		<dc:creator>Jack</dc:creator>
		<pubDate>Wed, 12 Aug 2009 05:16:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/09/09/sql-server-2005-start-stop-restart-sql-server-from-command-prompt/#comment-54764</guid>
		<description>It works for sql sever 2005, but how to make it works in sql server 2008 express?</description>
		<content:encoded><![CDATA[<p>It works for sql sever 2005, but how to make it works in sql server 2008 express?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rajesh</title>
		<link>http://blog.sqlauthority.com/2007/09/09/sql-server-2005-start-stop-restart-sql-server-from-command-prompt/#comment-54119</link>
		<dc:creator>Rajesh</dc:creator>
		<pubDate>Mon, 27 Jul 2009 06:43:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/09/09/sql-server-2005-start-stop-restart-sql-server-from-command-prompt/#comment-54119</guid>
		<description>I&#039;m very impressed u website. This is the best site of world for helping purpose. 

Warm Regard,
rajesh</description>
		<content:encoded><![CDATA[<p>I&#8217;m very impressed u website. This is the best site of world for helping purpose. </p>
<p>Warm Regard,<br />
rajesh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hemant</title>
		<link>http://blog.sqlauthority.com/2007/09/09/sql-server-2005-start-stop-restart-sql-server-from-command-prompt/#comment-52795</link>
		<dc:creator>Hemant</dc:creator>
		<pubDate>Sat, 06 Jun 2009 04:58:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/09/09/sql-server-2005-start-stop-restart-sql-server-from-command-prompt/#comment-52795</guid>
		<description>for starting and stopping remote SQL server, we can use the command -

SC \\servername start mssqlserver
SC \\servername stop mssqlserver

For MSSQL Server agent , use
SC \\servername start sqlserveragent
SC \\servername stop sqlserveragent</description>
		<content:encoded><![CDATA[<p>for starting and stopping remote SQL server, we can use the command -</p>
<p>SC \\servername start mssqlserver<br />
SC \\servername stop mssqlserver</p>
<p>For MSSQL Server agent , use<br />
SC \\servername start sqlserveragent<br />
SC \\servername stop sqlserveragent</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MANOJ</title>
		<link>http://blog.sqlauthority.com/2007/09/09/sql-server-2005-start-stop-restart-sql-server-from-command-prompt/#comment-52413</link>
		<dc:creator>MANOJ</dc:creator>
		<pubDate>Tue, 26 May 2009 07:51:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/09/09/sql-server-2005-start-stop-restart-sql-server-from-command-prompt/#comment-52413</guid>
		<description>I NEED TO REMOVE SQL SERVER AND INSTALL NEW SQL SERVER BUT SQL SERVER IS NOT REMOVE FROM MY COMPUTER 
FATAL ERROR IS COMING.</description>
		<content:encoded><![CDATA[<p>I NEED TO REMOVE SQL SERVER AND INSTALL NEW SQL SERVER BUT SQL SERVER IS NOT REMOVE FROM MY COMPUTER<br />
FATAL ERROR IS COMING.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stupots</title>
		<link>http://blog.sqlauthority.com/2007/09/09/sql-server-2005-start-stop-restart-sql-server-from-command-prompt/#comment-48857</link>
		<dc:creator>stupots</dc:creator>
		<pubDate>Thu, 12 Mar 2009 15:07:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/09/09/sql-server-2005-start-stop-restart-sql-server-from-command-prompt/#comment-48857</guid>
		<description>Don&#039;t bother running on two lines with this, just do:

net stop mssqlserver &amp;&amp; net start mssqlserver</description>
		<content:encoded><![CDATA[<p>Don&#8217;t bother running on two lines with this, just do:</p>
<p>net stop mssqlserver &amp;&amp; net start mssqlserver</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anurag</title>
		<link>http://blog.sqlauthority.com/2007/09/09/sql-server-2005-start-stop-restart-sql-server-from-command-prompt/#comment-48551</link>
		<dc:creator>Anurag</dc:creator>
		<pubDate>Mon, 09 Mar 2009 20:24:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/09/09/sql-server-2005-start-stop-restart-sql-server-from-command-prompt/#comment-48551</guid>
		<description>Hi Dave,
I am in need to know one thing that is ther any way for intimation whenever any MSSQl Services stopped some one or server was restarted unexpected and MSSQL Server agent is not started as like when any SQL agent  job failed it intimated to defined group by the help of operator. 

Do you have any SQL script for above requirement, Please guide me or send me on email ID.

Please do not suggest any monitoring tools because of we have already configuring. SQL script is  Just for backup of monitoring tool is failed.

Thanks in advance...

Anurag Tripathi</description>
		<content:encoded><![CDATA[<p>Hi Dave,<br />
I am in need to know one thing that is ther any way for intimation whenever any MSSQl Services stopped some one or server was restarted unexpected and MSSQL Server agent is not started as like when any SQL agent  job failed it intimated to defined group by the help of operator. </p>
<p>Do you have any SQL script for above requirement, Please guide me or send me on email ID.</p>
<p>Please do not suggest any monitoring tools because of we have already configuring. SQL script is  Just for backup of monitoring tool is failed.</p>
<p>Thanks in advance&#8230;</p>
<p>Anurag Tripathi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQLAuthority News - Best Articles on SQLAuthority.com Journey to SQL Authority with Pinal Dave</title>
		<link>http://blog.sqlauthority.com/2007/09/09/sql-server-2005-start-stop-restart-sql-server-from-command-prompt/#comment-47248</link>
		<dc:creator>SQLAuthority News - Best Articles on SQLAuthority.com Journey to SQL Authority with Pinal Dave</dc:creator>
		<pubDate>Tue, 24 Feb 2009 12:10:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/09/09/sql-server-2005-start-stop-restart-sql-server-from-command-prompt/#comment-47248</guid>
		<description>[...] SQL SERVER - 2005 - Start Stop Restart SQL Server From Command Prompt [...]</description>
		<content:encoded><![CDATA[<p>[...] SQL SERVER &#8211; 2005 &#8211; Start Stop Restart SQL Server From Command Prompt [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sumanth</title>
		<link>http://blog.sqlauthority.com/2007/09/09/sql-server-2005-start-stop-restart-sql-server-from-command-prompt/#comment-46270</link>
		<dc:creator>Sumanth</dc:creator>
		<pubDate>Tue, 03 Feb 2009 06:39:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/09/09/sql-server-2005-start-stop-restart-sql-server-from-command-prompt/#comment-46270</guid>
		<description>Thank You Very much 

Special thanks to Imran Mohammed Mine is Named Instance</description>
		<content:encoded><![CDATA[<p>Thank You Very much </p>
<p>Special thanks to Imran Mohammed Mine is Named Instance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Imran Mohammed</title>
		<link>http://blog.sqlauthority.com/2007/09/09/sql-server-2005-start-stop-restart-sql-server-from-command-prompt/#comment-45720</link>
		<dc:creator>Imran Mohammed</dc:creator>
		<pubDate>Mon, 19 Jan 2009 05:18:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/09/09/sql-server-2005-start-stop-restart-sql-server-from-command-prompt/#comment-45720</guid>
		<description>@Amit.

There could be many many reasons for this to happen. 

I will list very important solution.

1. Go to Start
2. Go to Run
3. Type Services.msc
4(a). Search for SQL Server service ( if you have SQL Server 2005), double click this service.
4(b). Search for MSSQLServer service ( if you have SQL Server 2000), double click this service.
5. Check for Startup Type , this should not be disabled. This can be Manual or Automatic. If it is disabled, set it to manual, click apply, click Start, if the service starts, thats good, there is no more problem  if not then proceed to step 6.
6. On the top of the same box, there is a LogOn Tab, click that tab, click local system, click apply click ok. If Service starts, then you have problem with the account under which Service is running, you should use a valid username and valid password. 

Browse on internet for more information, 

Should be straight forward.

Hope this helps,
IM.</description>
		<content:encoded><![CDATA[<p>@Amit.</p>
<p>There could be many many reasons for this to happen. </p>
<p>I will list very important solution.</p>
<p>1. Go to Start<br />
2. Go to Run<br />
3. Type Services.msc<br />
4(a). Search for SQL Server service ( if you have SQL Server 2005), double click this service.<br />
4(b). Search for MSSQLServer service ( if you have SQL Server 2000), double click this service.<br />
5. Check for Startup Type , this should not be disabled. This can be Manual or Automatic. If it is disabled, set it to manual, click apply, click Start, if the service starts, thats good, there is no more problem  if not then proceed to step 6.<br />
6. On the top of the same box, there is a LogOn Tab, click that tab, click local system, click apply click ok. If Service starts, then you have problem with the account under which Service is running, you should use a valid username and valid password. </p>
<p>Browse on internet for more information, </p>
<p>Should be straight forward.</p>
<p>Hope this helps,<br />
IM.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: amitb</title>
		<link>http://blog.sqlauthority.com/2007/09/09/sql-server-2005-start-stop-restart-sql-server-from-command-prompt/#comment-45699</link>
		<dc:creator>amitb</dc:creator>
		<pubDate>Sat, 17 Jan 2009 17:54:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/09/09/sql-server-2005-start-stop-restart-sql-server-from-command-prompt/#comment-45699</guid>
		<description>I have SQL server installed on my person pc. I had stopped the server sometime back . Now when I open the Enterprise manager and starting the server, it is giving failed error. I have tried to start it many times but it says connection failed.

I have tried to give the command(net start mssqlserver) in run but it says service could not  be started.

I also tried one more way but that also didn&#039;t work, Here is that :

Create a batch file called RestartSQL.BAT with the following commands in it, and save it on the C:\ drive:

@ECHO OFF
NET STOP SQLSERVERAGENT
NET STOP MSSQLSERVER
NET START MSSQLSERVER
NET START SQLSERVERAGENT

Please help me how can we start this ?

Amit.</description>
		<content:encoded><![CDATA[<p>I have SQL server installed on my person pc. I had stopped the server sometime back . Now when I open the Enterprise manager and starting the server, it is giving failed error. I have tried to start it many times but it says connection failed.</p>
<p>I have tried to give the command(net start mssqlserver) in run but it says service could not  be started.</p>
<p>I also tried one more way but that also didn&#8217;t work, Here is that :</p>
<p>Create a batch file called RestartSQL.BAT with the following commands in it, and save it on the C:\ drive:</p>
<p>@ECHO OFF<br />
NET STOP SQLSERVERAGENT<br />
NET STOP MSSQLSERVER<br />
NET START MSSQLSERVER<br />
NET START SQLSERVERAGENT</p>
<p>Please help me how can we start this ?</p>
<p>Amit.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim C</title>
		<link>http://blog.sqlauthority.com/2007/09/09/sql-server-2005-start-stop-restart-sql-server-from-command-prompt/#comment-45561</link>
		<dc:creator>Jim C</dc:creator>
		<pubDate>Mon, 12 Jan 2009 22:09:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/09/09/sql-server-2005-start-stop-restart-sql-server-from-command-prompt/#comment-45561</guid>
		<description>If you are using MS Cluster to run MSSQL2005 you should 
use the cluster commands to script a stop and start of MSSQLServer. Otherwise the cluster service will think that  your service has failed.  
I created a cmd/bat file that I schedule to run weekly. 

cluster /cluster:CLUSTERNAME group &quot;Group 0&quot; /offline

cluster /cluster:CLUSTERNAME group &quot;Group 0&quot; /online

This stops and starts all depdendent services  for MSSQL SQL AGENT etc. in the cluster Group 0 in the correct order and keeps the services running on your primary server.</description>
		<content:encoded><![CDATA[<p>If you are using MS Cluster to run MSSQL2005 you should<br />
use the cluster commands to script a stop and start of MSSQLServer. Otherwise the cluster service will think that  your service has failed.<br />
I created a cmd/bat file that I schedule to run weekly. </p>
<p>cluster /cluster:CLUSTERNAME group &#8220;Group 0&#8243; /offline</p>
<p>cluster /cluster:CLUSTERNAME group &#8220;Group 0&#8243; /online</p>
<p>This stops and starts all depdendent services  for MSSQL SQL AGENT etc. in the cluster Group 0 in the correct order and keeps the services running on your primary server.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yoga</title>
		<link>http://blog.sqlauthority.com/2007/09/09/sql-server-2005-start-stop-restart-sql-server-from-command-prompt/#comment-44832</link>
		<dc:creator>yoga</dc:creator>
		<pubDate>Tue, 16 Dec 2008 06:52:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/09/09/sql-server-2005-start-stop-restart-sql-server-from-command-prompt/#comment-44832</guid>
		<description>i&#039;m newly opened the sql server 2005,how to start the query in what way,i know about query,but what way ,hw to open the sql server 2005,pls immediately reply to me,see already i installed the sql server 2005</description>
		<content:encoded><![CDATA[<p>i&#8217;m newly opened the sql server 2005,how to start the query in what way,i know about query,but what way ,hw to open the sql server 2005,pls immediately reply to me,see already i installed the sql server 2005</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shashi Sagar</title>
		<link>http://blog.sqlauthority.com/2007/09/09/sql-server-2005-start-stop-restart-sql-server-from-command-prompt/#comment-44057</link>
		<dc:creator>Shashi Sagar</dc:creator>
		<pubDate>Wed, 05 Nov 2008 09:51:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/09/09/sql-server-2005-start-stop-restart-sql-server-from-command-prompt/#comment-44057</guid>
		<description>Command For SQL Server Stop From Client Computer</description>
		<content:encoded><![CDATA[<p>Command For SQL Server Stop From Client Computer</p>
]]></content:encoded>
	</item>
</channel>
</rss>
