Solved

SQL 2008 R2 Express with sa account locked out

Posted on 2012-03-09
4
913 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 500 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
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.

830 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