How do you reset the SA password?

后端 未结 4 938
醉酒成梦
醉酒成梦 2021-01-12 09:40

How on earth do you reset the sa password? I know how to go into the dialogs and reset a password. That\'s now what I\'m asking about. It runs a little deeper than just clic

4条回答
  •  伪装坚强ぢ
    2021-01-12 10:12

    The simplest method I've found so far is to run SQL Server Management Studio / SQL Express under the SYSTEM context with Sysinternals PSEXEC app. After installing (copying psexec.exe to your computer, running it and accepting the EULA), you can type the following to invoke a system-context instance:

    psexec -s -i 
    

    You can use the GUI and don't require single-user mode to effect changes. I had problems with an unknown client tying up the snigle-user connection and this saved me.

提交回复
热议问题