If you have no accounts which are members of the sysadmin role then you will need to rebuild the master database using the rebuildm.exe utility on the SQL CD-Rom. This will wipe out all of your logins to the SQL Server so you'll need to know the passwords in order to recreate the logins.
After you rebuild the master database you may also need to attach your databases back to the SQL Server.
If you don't want to rebuild the master database you can also reinstall SQL Server.
Denny
MCSA (2003) / MCDBA (SQL 2000)
MCTS (SQL 2005 / Microsoft Windows SharePoint Services 3.0: Configuration / Microsoft Office SharePoint Server 2007: Configuration)
MCITP Database Administrator (SQL 2005) / Database Developer (SQL 2005)
Only if no one has removed BUILTIN\Administrators from the sysadmin group. If someone remove sa from the sysadmin group I would assume that the BUILTIN\Administrators has been removed from the sysadmin group as well.
Also
seabra said:
My problem is that i have no other system administrator.
Microsoft has a script to copy logins and passwords from SQL Server. Find that and run it before you rebuild master (if you haven't done it already). That will create a script of the logins/passwords that you can run once the master db is rebuilt. Look through the script to see if SA exists in it and remove that before you run the script to put the logins back.
-SQLBill
The following is part of my signature block and is only intended to be informational.
Posting advice: FAQ481-4875
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.