SQL Login Password Expiry Notification

Basically in SQL server DBA teams apply the password policies (i.e. enforce password policy & enforce password expiration) in sql login while creating new login for improve the security.
But once password policy applied there are no options available in SSMS for getting the alert notification to DBA team about your created password will be expire on particular date before expire the login.
There is a stored procedure which is select the list of sql or window authentication logins from master database which login created with password policy and check the expiry date of respective login. If any login will be expire after 2 day it will send proactively mail to DBA having list of login with expiry date.
How to Use:

  • Create a “SQL_Login_Password_Expriy_Notification” store procedure on your master database
  • Create one SQL Job with Name” SQLPassword_Expriy_Notification” and schedule it every day once on suitable time.

Reference URL : http://www.sqlservercentral.com/scripts/SQL+Login+Password+Policy/87060/

Tagged . Bookmark the permalink.

4 Responses to SQL Login Password Expiry Notification

  1. Jamel says:

    Hello. This article was really interesting, particularly because I was investigating for thoughts on this matter last Friday.

  2. Janel says:

    hi!, I love your writing very a lot! share we keep in touch more about your article on AOL? I need a specialist on this house to solve my problem. May be that’s you! Having a look ahead to peer you.

  3. stiff neck says:

    Hi there, I discovered your web site by way of Google even as searching for a related matter, your website got here up, it appears to be like great. I have bookmarked to my favourites|added to bookmarks.

  4. Higman says:

    You have noted very interesting details! ps nice website.

Leave a Reply