Download Free SQL Server Security Scripts

The SQL Server Security scripts include:

  • Disabling "sa" login
  • List database roles by user
  • Mapping logins to users
  • Cloning a login
  • Failed logins report
  • Miscellaneous scripts for security
  • and more

(security scripts last revision: 2021-01-25)

Keep checking this page for new script file collections and updates.

Enter business email address and we will email a link to download the scripts.

 I agree by submitting my data to receive the MSSQLTips newsletter and other communications, account updates and/or special offers about SQL Server from MSSQLTips and/or its Sponsors. I have read the privacy statement and understand I may unsubscribe at any time.