Solved

unable to manage SQL 2008

Posted on 2010-09-23
5
420 Views
Last Modified: 2012-08-14
okay ,  long story short ..

I have a SQL server 2008 Express installation ;

- it's configured to use windows authentication ONLY!
- I know sa password
- I had a domain account that was an admin of this instance.

for some reason the domain/windows account is gone ; now I only have 'sa' account and
another domain account that is NOT an admin .

Is there any way to fix this issue , so that I can create a new windows admin account on it ?

right now I cannot login with 'sa' ; it rejects access as it's configured to accept windows authentication.
When I login with a local admin , I can connect to databases but cannot do any admin jobs.
what's best ?


0
Comment
Question by:akhalighi
5 Comments
 
LVL 11

Expert Comment

by:aelliso3
ID: 33749868
what's the chances that you have a backup copy of the master db?
0
 
LVL 15

Accepted Solution

by:
MohammedU earned 300 total points
ID: 33749881
Follow the instrunctions in this article...
http://msdn.microsoft.com/en-us/library/dd207004.aspx
0
 
LVL 10

Author Comment

by:akhalighi
ID: 33750788
@MohammedU: Thanks Mohammed , I tried it already , even with single-user mode same thing happens. I can login with local admin but cannnot add/remove any roles. I'll give it a shot again.

@aelliso3: unfortunatley , there is no backups.
0
 
LVL 14

Assisted Solution

by:wolfman007
wolfman007 earned 200 total points
ID: 33752396
You could try using SQL Server 2008 Dedicated Administrator Connection, but you will need an account which is a member of the sysadmin group. Hopefully your sa account will work.

Also to conserve resources, SQL Server Express does not listen on the DAC port unless started with a trace flag 7806

An easy way to turn on this trace flag is through SQL Server Configuration Manager. If you click on SQL Server Services, right-click on the SQL Server Express instance, and choose Properties, you'll be able to edit the startup properties for the instance. By clicking on the Advanced tab, you'll get access to the Startup Parameters, as in Figure 2. You'll need to add the "-T7806" to the Startup Parameters to specify use of that trace flag. And when there are multiple parameters specified, you must separate each with a semi-colon (;)

from

Enabling the Dedicated Administrator Connection (DAC) in SQL Server Express
http://www.sqlservercentral.com/articles/DAC/68334/

For information on how to use the Dedicated Administrator Connection see the following websites

Using a Dedicated Administrator Connection
http://technet.microsoft.com/en-us/library/ms189595.aspx

How to: Use the Dedicated Administrator Connection with SQL Server Management Studio
http://technet.microsoft.com/en-us/library/ms178068.aspx
0
 
LVL 10

Author Closing Comment

by:akhalighi
ID: 33753483
Thanks Folks , I started SQL service with /m switch and local administrator of the box got proper priviledge to create new admin accounts.
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Join & Write a Comment

Suggested Solutions

Long way back, we had to take help from third party tools in order to encrypt and decrypt data.  Gradually Microsoft understood the need for this feature and started to implement it by building functionality into SQL Server. Finally, with SQL 2008, …
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now