Starting SQL Server from a command line

Sometimes, you need to start a SQL Server instance from the command line in order to do troubleshooting.

sqlservr.exe - f

sqlservr.exe - m

Starts SQL Server in single-user mode with minimal configuration

Starts SQL Server in single-user mode