Property Owner is not available for Database

Today I came across an error

Property Owner is not available for Database ‘[DBName]’. This property may not exist for this object, or may not be retrievable due to insufficient access rights.


Situation – You right-click on the database and choose properties. Now, instead of the database properties opening up, you get the message.

Cause – This issue can happen if the owner of the database is dropped from the Security Logins of the SQL Server.

Solution –

sp_changedbowner [ @loginame = ] ‘login’


use [YourDatabase]


sp_changedbowner @loginame = ‘sa’


Talking about Adding BUILTIN\Administrators back to SQL Server



Adding BUILTIN\Administrators back to SQL Server

Recently I had to add BUILTIN\Administrators back to the server and here is what I had to do for the same.
Run following TSQL queries
EXEC sp_grantlogin ‘BUILTIN\Administrators’
EXEC sp_addsrvrolemember ‘BUILTIN\Administrators’,’sysadmin’