SQL Server Articles, SQL Server Tips, SQL Server Tutorials, SQL Server Tuning, SQL Server DBA, SQL Server Basics, Training, etc - MyTechMantra.com

Improved Startup Parameters in SQL Server 2012

Microsoft has improved the configuration of startup parameters in SQL Server 2012 and it is much simpler and easier. In this article we will take a look at the steps to add a Trace Flag 1222 to identify deadlocks in SQL Server 2012 as a Startup Parameter. For more information on Deadlocks Read, Identify Deadlocks Using Graphical Deadlock Chain Event in SQL Server Profiler.

How to Add Startup Parameters in SQL Server 2012

Open SQL Server Configuration Manager and click SQL Server Services on the left side panel. Right click SQL Server Service and choose Properties from the drop down menu.

SQL Server Configuration Manager

In the SQL Server Properties on the Startup Parameters tab specify a startup parameter as -T1222 and click the Add button to add the parameter to Existing Parameters. Finally to save the settings click OK.

Startup Parameters in SQL Server 2012

Since SQL Server Configuration Manager writes startup parameters to the registry the changes will only come into effect once you restart SQL Server Database Engine Service.

On a Failover Cluster, the changes must be performed on the active node of server when the SQL Server is Online. To bring the new startup parameter into effect Take the SQL Server Service Offline and then bring it back Online. However, the registry update of the startup option on the secondary node will come into effect once you failover.

How to remove Startup Parameters in SQL Server 2012

If you wish to remove a startup parameter which was added previously then choose the parameter as highlighted in the below snippet and then click the Remove button as highlighted in the below snippet and click OK.

Remove an Existing Startup Parameter in SQL Server 2012

However, don’t forget to restart the SQL Server Database Engine Service to bring this change into effect.


This article gives you an overview of improvements in the configuration of Startup Parameters in SQL Server 2012. For more information, Read, Different SQL Server Startup Parameters.

Ashish Mehta

Ashish Kumar Mehta is a database manager, trainer and technical author. He has more than a decade of IT experience in database administration, performance tuning, database development and technical training on Microsoft SQL Server from SQL Server 2000 to SQL Server 2014. Ashish has authored more than 325 technical articles on SQL Server across leading SQL Server technology portals. Over the last few years, he has also developed and delivered many successful projects in database infrastructure; data warehouse and business intelligence; database migration; and upgrade projects for companies such as Hewlett-Packard, Microsoft, Cognizant and Centrica PLC, UK. He holds an engineering degree in computer science and industry standard certifications from Microsoft including MCITP Database Administrator 2005/2008, MCDBA SQL Server 2000 and MCTS .NET Framework 2.0 Web Applications.

Add comment

Newsletter Signup! Join 15,000+ Professionals

Be Social! Like & Follow Us

Follow us

Don't be shy, get in touch. We love meeting interesting people and making new friends.