I was learning sql server 2005 security and making some tests on the a testing sql server. Somehow I removed sysadmin role from "BuiltIn\Administrators" login as well as that role in other logins. So basically I lost access to most function in that sql server.
I am the local administrator of that computer. I do not care if I lost data in system databases. All I want is to regain access and keep data in the user databases. How should I do that? Reinstall the SQL Server on that computer?
I am think about shutting down the SQL Server engine and delete system databases. Will SQL Server rebuild those database with a fresh start?
Thanks in advance.
Seaport
I am the local administrator of that computer. I do not care if I lost data in system databases. All I want is to regain access and keep data in the user databases. How should I do that? Reinstall the SQL Server on that computer?
I am think about shutting down the SQL Server engine and delete system databases. Will SQL Server rebuild those database with a fresh start?
Thanks in advance.
Seaport