Solved

Why can I not unlock a SQLServer User?

Posted on 2009-07-09
5
411 Views
Last Modified: 2012-05-07
I am the owner of my database and have remote desktop access to my virtual server (windows 2003) running SQL 2005.  I had three bad login attempts on one of my users and I a trying to "Unlock" the user.

On the DB Server, in SSMS, I navigate to the User under the Security->Logins.  I open the Properties of the user then select Status and I see "Login is locked out" checked.  I uncheck it, go change the password in the "General" section and then click OK.  No errors but when I go back into the Status of the user the user is still "Locked out".

Is there something else I have to change?
0
Comment
Question by:Bruce
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 4

Accepted Solution

by:
nasserd earned 250 total points
ID: 24815731
Try to OK for every item change; for example, uncheck the Locked Out status, then OK before resetting their password.

SSMS isn't good at reliably maintaining values -- so pair every value change with an OK.
0
 
LVL 1

Author Comment

by:Bruce
ID: 24815751
I get a "Change password failed for login..."
0
 
LVL 1

Author Comment

by:Bruce
ID: 24815778
Ooo, ooo, ooo, SSMS, so bad.

Got it.  In a round about way.  I unchecked "enforce" password policy, then unchecked "Lock out", then OK.  Then it worked.  I then went back in and rechecked "enfore..."
0
 
LVL 15

Assisted Solution

by:rob_farley
rob_farley earned 250 total points
ID: 24820046
Ah - the problem is that if you're enforcing password policy, that may include something along the lines of "You can't leave your password the same if you get unlocked".

So it's often best to turn off that password policy when you're playing with those settings.

Ultimately, you may prefer to use Windows Authentication, so that your Active Directory guys handle all the passwords, and people don't need to provide a password to be able to access SQL.

Rob
0
 
LVL 1

Author Closing Comment

by:Bruce
ID: 31601714
Thank you gentlemen!  

For those that follow  
The workaround is in comment: 07/09/09 12:09 PM, ID: 24815778

The explanation for the workaround is from rob_farley (07/09/2009 - 09:52PM CDT).

Thanks!!
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL Syntax to get a value associated with most recent date 16 58
Remove () 9 32
Begin Transaction 12 22
SQL Server Pivot 5 35
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…
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
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.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

740 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