Chia Seng's Station
Home
A-G
Android
Browser
Chrome
Crack
Google
H-N
IOS
Linux
Mail
Networking
O-U
PC
Printer
Server
Software
V-Z
Window
Home
Server
SSMS
Detail
Error 15151
Open
SQL Server Configuration Manager
.
Double click
SQL Server Services
.
Right Click
SQL Server
and select
Stop
.
Right Click
SQL Server
and select
Properties
.
Select
Advanced
.
Add
-m;
in front the
Startup Parameters
.
Right Click
SQL Server
and select
Start
.
Open
cmd
.
Type
sqlcmd
.
Type
CREATE LOGIN recovery WITH PASSWORD = 'password'
.
Type
sp_addsrvrolemember 'recovery', 'sysadmin'
.
Right Click
SQL Server
and select
Stop
.
Right Click
SQL Server
and select
Properties
.
Select
Advanced
.
Remove
-m;
in front the
Startup Parameters
.
Right Click
SQL Server
and select
Start
.
Login your database via
Windows Authentication
.
Go To
Security
>
Logins
>
sa
.
Insert the new password in
password column
and
confirm password column
.
Make sure
enforce password policy
checked.
Restart database.