L
L
LiptonOlolo2020-07-28 12:28:17
SQL Server
LiptonOlolo, 2020-07-28 12:28:17

How to disable automatic startup of MSSQL Server and make it start (Windows)?

Screenshot from Sql Server Configuration Manager:
5f1fee6a9ced4381720056.jpeg

At the moment, I googled the following batch files:
To stop:
net stop MSSQL$SQLEXPRESS

To start:
net start MSSQL$SQLEXPRESS

It works, but the server starts itself anyway.

What you need: so that when the PC starts, the server does not rise by itself, but through the batch file / etc.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Olgeir, 2020-08-04
@Olgeir

Colleague, could you explain what kind of results you are trying to achieve in this way? As a rule, stopping a DBMS is not the right process, and if you tell us what goals you are pursuing, we can suggest a more correct solution.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question