In order to do the same, you can try; Single-user Mode (-m): sqlcmd –m –d master –S PAXT3DEVSQL11 –c –U sa –P ******* DAC (-A): sqlcmd –A –d master –S PAXT3DEVSQL11 –c –U sa –P ******* Emergency: ALTER DATABASE test_db SET EMERGENCY