Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Taking Control of SQL Server Database

 
   Database Help (Home) -> Setup RSS
Next:  SQL Express 2008 limitations  
Author Message
Nigel Ainscoe

External


Since: Dec 31, 2008
Posts: 7



(Msg. 1) Posted: Wed Dec 31, 2008 8:25 am
Post subject: Taking Control of SQL Server Database
Archived from groups: microsoft>public>sqlserver>setup (more info?)

Hi,

I have a SQL Server 2005 database that I do not have sysadmin credentials
for, only Public, but I need to take control of it. I.e. give myself
sysadmin. I have Enterprise Admin credentials on the domain.

Anyone know what the best/quickest way of going about this?

TIA & HNY
Nigel Ainscoe

I have also posted this in sqlserver.programming as I was not sure which
would be the better group for such a question. Apologies for cross posting.

 >> Stay informed about: Taking Control of SQL Server Database 
Back to top
Login to vote
"Rick Byham,

External


Since: Feb 06, 2008
Posts: 47



(Msg. 2) Posted: Wed Dec 31, 2008 8:46 am
Post subject: Re: Taking Control of SQL Server Database [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

As a Enterprise Admin, you may or may not be in the local administrators
group on the computer. If so, in SQL Server 2005 the local administrators
group has sysadmin permissions to the SQL Server. Unless someone has removed
it to tighten security. So attempt to connect with your login. If the OS is
Windows Server 2008 or Windows Vista, start SQL Server Management Studio
using the Run as Administrator option so Windows will pass your admin
credentials to SQL Server.

If someone has removed the local administrators from the sysadmin role by
removing BUILTIN\ADMINISTRATORS from the logins, then this will fail. In
that case, restart the Database Engine in single user mode. Then SQL Server
will honor the local administrators group. See the Books Online topic
"Troubleshooting: Connecting to SQL
Server When System Administrators Are Locked Out"
http://msdn.microsoft.com/en-us/library/dd207004.aspx
This is a SQL Server 2008 topic but someone recently told me it works on SQL
Server 2005 also.
--
Rick Byham (MSFT), SQL Server Books Online
This posting is provided "AS IS" with no warranties, and confers no rights.

"Nigel Ainscoe" wrote in message

> Hi,
>
> I have a SQL Server 2005 database that I do not have sysadmin credentials
> for, only Public, but I need to take control of it. I.e. give myself
> sysadmin. I have Enterprise Admin credentials on the domain.
>
> Anyone know what the best/quickest way of going about this?
>
> TIA & HNY
> Nigel Ainscoe
>
> I have also posted this in sqlserver.programming as I was not sure which
> would be the better group for such a question. Apologies for cross
> posting.
>

 >> Stay informed about: Taking Control of SQL Server Database 
Back to top
Login to vote
Nigel Ainscoe

External


Since: Dec 31, 2008
Posts: 7



(Msg. 3) Posted: Sun Jan 04, 2009 1:25 pm
Post subject: Re: Taking Control of SQL Server Database [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

That works. Thanks a lot Rick.

Regards,
Nigel


"Rick Byham, (MSFT)" wrote in message

> As a Enterprise Admin, you may or may not be in the local administrators
> group on the computer. If so, in SQL Server 2005 the local administrators
> group has sysadmin permissions to the SQL Server. Unless someone has
> removed it to tighten security. So attempt to connect with your login. If
> the OS is Windows Server 2008 or Windows Vista, start SQL Server
> Management Studio using the Run as Administrator option so Windows will
> pass your admin credentials to SQL Server.
>
> If someone has removed the local administrators from the sysadmin role by
> removing BUILTIN\ADMINISTRATORS from the logins, then this will fail. In
> that case, restart the Database Engine in single user mode. Then SQL
> Server will honor the local administrators group. See the Books Online
> topic "Troubleshooting: Connecting to SQL
> Server When System Administrators Are Locked Out"
> http://msdn.microsoft.com/en-us/library/dd207004.aspx
> This is a SQL Server 2008 topic but someone recently told me it works on
> SQL Server 2005 also.
> --
> Rick Byham (MSFT), SQL Server Books Online
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
> "Nigel Ainscoe" wrote in message
>
>> Hi,
>>
>> I have a SQL Server 2005 database that I do not have sysadmin credentials
>> for, only Public, but I need to take control of it. I.e. give myself
>> sysadmin. I have Enterprise Admin credentials on the domain.
>>
>> Anyone know what the best/quickest way of going about this?
>>
>> TIA & HNY
>> Nigel Ainscoe
>>
>> I have also posted this in sqlserver.programming as I was not sure which
>> would be the better group for such a question. Apologies for cross
>> posting.
>>
>
>
 >> Stay informed about: Taking Control of SQL Server Database 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
SQL Server Setup could not connect to the database service.. - Hi All, I am getting following error while trying to install SQL Server 2005. Any pointer? Thanks in advance. TITLE: Microsoft SQL Server 2005 Setup ------------------------------ SQL Server Setup could not connect to the database service for server...

Connecting to new SQL Server - database engine no local se.. - Hi Just installed a new SQL Server 2005 server. And have some questions related to the connection window in Management Studio. When I Launch Management Studio I choose the server I will connect to in the server box. In this there is no name, so I..

Howto Move Path to Database and Logfiles on Server - Just completed installation of SQL Server 2005. I need to move the database files from C: to the E: partition and the logfiles from C: to the F: partition. How do I accomplish this step-by-step?

SQL Server Database Engineer Needed in Seattle, WA - We have two (2) open contract Database Engineer positions with our client, a growing Application Service Provider in Seattle (Fremont). Candidates should have at least five years of SQL Server design, development and maintenance experience, the ability t...

Backup Database tasks failing - target is remote server sh.. - I'm getting noowhere trying to fix this issue.. but on our DPM server (2007).. i'm trying to backup the dpm database to a networked server (i've tried both a share name and the admin way.. ie: \\server\share\dpmdb.bak and \\server\d$\path\dpmdb.bak.....
   Database Help (Home) -> Setup All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]