Posts Tagged ‘Microsoft SQL service’

How to stop Microsoft sql service in DOS

July 26th, 2009

Well it seems you can use

NET STOP and NET START commands from the DOS command-prompt to
stop/start a default SQL Server instance:

NET STOP MSSQLSERVER
NET START MSSQLSERVER

For a named instance of SQL you can use:

NET STOP MSSQL$MyInstance
NET START MSSQL$MyInstance

I have to backup someones SQL when they do not have a full blown sql install anywhere so figure this is the easiest way. For the software I also need to backup another directory.