Stop SQL Server services from conveniently

Posted by MedicineMan on Server Fault See other posts from Server Fault or by MedicineMan
Published on 2011-02-04T06:18:19Z Indexed on 2011/02/04 7:27 UTC
Read the original article Hit count: 492

Filed under:
|

I have a general use laptop. I use it for games, development, and web surfing. I've just installed SQL Server 2008 with Analysis, Reporting, and Error reporting, as well as any of the other options on the installer.

I also have a default instance of SQL server as well as a named instance.

When I'm not doing development, I'd like to shut down these services conveniently. I'm thinking that a batch file would be good. What are the commands to shut these services down and release the associated memory and resources?

It appears that:

net stop MSSQLSERVER

seems to stop the MSSQLSERVER instance. What about the other services?

© Server Fault or respective owner

Related posts about sql-server

Related posts about sql-server-2008