Start a Trace Automatically after Connecting to a Server (SQL Server Profiler)
Applies To: SQL Server 2016
This topic describes how to start traces automatically after connecting to an instance of SQL Server by using SQL Server Profiler.
On the Tools menu, click Options.
Select the Start tracing immediately after making a connection check box.