http://v-consult.be/2011/05/26/recover-sa-password-microsoft-sql-server-2008-r2/
create a new user. Enter following commands
CREATE LOGIN recovery WITH PASSWORD = ‘TopSecret 1′
Go
grant the user a SYSADMIN roles using the same SQLCMD window.
sp_addsrvrolemember ‘recovery’, ‘sysadmin’
go
Excellent work.
ReplyDelete