As the title says I stupidly deleted the Builtin\Administrator group now can’t login. Is there anyway get back in?
I did not setup the server up so I’m unsure what the SA password is. As a last resort could I rebuild the Master database and then over write if backup?
As yourself say i think it is the solution (use same install disk).
I didn't try a way :
-restoring master backup of your situation to other server
-stop de service, copy mdf and ldf of master of that server,
-stop de service of problem server
-replace files of master and startup the service
|||Would this work?
Well I won't make this mistake again
Thanks,
Alan
|||What version of SQL Server are you using? For SQL Server 2005, a machine admin can connect by starting the server in single-user mode.
For SQL Server 2000, you could also enable mixed-mode authentication and connect as sa, if you know its password.
Thanks
Laurentiu
|||I am adding a link to the blog article describing how to recover from this situation on SQL Server 2005 (it describes the mechanism that Laurentiu mentioned):
http://blogs.msdn.com/raulga/archive/2007/07/12/disaster-recovery-what-to-do-when-the-sa-account-password-is-lost-in-sql-server-2005.aspx
Thanks,
-Raul Garcia
SDE/T
SQL Server Engine
|||
Thanks Raul. This worked great
No comments:
Post a Comment