Start SQL Server in Single User Mode


Today I received a mail from one of my Blog reader. He wanted to know how to start SQL Server in Single User mode?

So today, I am going to explain how we can start the SQL Server in Single User Mode. It is quite straight-forward actually.

Go to SQL Server Configuration Manager--> Select SQL Server Services--> Select the SQL Server instance (that you want to start in Single User) --> Right Click--> Select Properties--> Go to the Advanced Tab--> Add '-m;' before existing parameters in the Startup Parameters. Do not forget to semi-comma after '-m' and do not add any spaces as well.



After all the above steps are complete then restart the SQL Services. Once the SQL Server is in Single User Mode then we will able to connect to the SQL using sqlcmd from command-prompt.

Hope this helps.

Cheers,

Subhro Saha

 
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: