Solved

Why can I not unlock a SQLServer User?

Posted on 2009-07-09
5
393 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
  • 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
I have a large data set and a SSIS package. How can I load this file in multi threading?
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

803 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