[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

SQL 2008 R2 Express with sa account locked out

Posted on 2012-03-09
4
Medium Priority
?
939 Views
Last Modified: 2012-05-25
I have an install of SQL 2008 R2 Express with a major issue.  The only sysadmin account is SA and that has been locked out.  the only other login is BUILTIN\Users with public access.  I have tried using the -m switch but when I try to use SQLCMD to login I get an error "Msg 18461, Level 14, State 1, Server SERVER1\SQLEXPRESS, Line 1 Login failed for user DOMAIN\user'. Reason: Server is in single user mode. Only one administrator can connect at this time." and I am the only trying to connect.  I have tried this with both a Domain Admin account as well as the local admin account.
0
Comment
Question by:rkeith2412
  • 2
4 Comments
 
LVL 29

Expert Comment

by:QPR
ID: 37703702
The -m option is putting it into single user mode

Check this post for a few ideas
http://social.msdn.microsoft.com/Forums/en-US/sqlgetstarted/thread/16706dec-209f-42c4-8dc7-4ee4dd5df482/
0
 
LVL 5

Author Comment

by:rkeith2412
ID: 37706893
This doesn't work, SA is the only sysadmin on the server and that account is locked out.  I need a way to unlock it without having any other user having access either.
0
 
LVL 75

Accepted Solution

by:
Anthony Perkins earned 2000 total points
ID: 37712754
I have an install of SQL 2008 R2 Express with a major issue.  The only sysadmin account is SA and that has been locked out.  the only other login is BUILTIN\Users with public access.
You will have to re-install SQL Server Express.
0
 
LVL 5

Author Closing Comment

by:rkeith2412
ID: 38011996
Re-install did it, shame there isn't a better way.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
When trying to connect from SSMS v17.x to a SQL Server Integration Services 2016 instance or previous version, you get the error “Connecting to the Integration Services service on the computer failed with the following error: 'The specified service …
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Suggested Courses

829 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