Configure login auditing (SQL Server Management Studio)

Applies to: SQL Server - Windows only

This article describes how to configure login auditing in SQL Server on Windows, to monitor SQL Server Database Engine login activity. Login auditing can be configured to write to the error log on the following events.

  • Failed logins
  • Successful logins
  • Both failed and successful logins

You must restart SQL Server before this option will take effect.

Use SQL Server Management Studio

Configure login auditing

  1. In SQL Server Management Studio, connect to an instance of the SQL Server Database Engine with Object Explorer.

  2. In Object Explorer, right-click the server name, and then select Properties.

  3. On the Security page, under Login auditing, select the desired option and close the Server Properties page.

  4. In Object Explorer, right-click the server name, and then select Restart.

Next steps