How to find out from which client connection(computer name) or login id , SQL login got locked

  • Hi,

    We have a common sql authentication login which use multiple users to connect sql, but because Enforce password policy enabled on this login there are chances that login get lock when any one try to login with wrong password.

    so is there way we have to find out who is trying to access sql by wrong password ,and from which client machine it is connecting.

    Regards,
    Shivrudra W

  • take a look at the SQL error log; the default for a normal installation is to log failed logins, so you can browse it with SSMS, and find the ip address; you can then ping that to get the hostname.

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply