SQL Server Performance, DBA Best Practices & Enterprise Data Solutions | MyTechMantra
Home » SQL Server » Improved Startup Parameters in SQL Server 2012

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.



Conclusion

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 Kumar Mehta

Ashish Kumar Mehta is a distinguished Database Architect, Manager, and Technical Author with over two decades of hands-on IT experience. A recognized expert in the SQL Server ecosystem, Ashish’s expertise spans the entire evolution of the platform—from SQL Server 2000 to the cutting-edge SQL Server 2025.

Throughout his career, Ashish has authored 500+ technical articles across leading technology portals, establishing himself as a global voice in Database Administration (DBA), performance tuning, and cloud-native database modernization. His deep technical mastery extends beyond on-premises environments into the cloud, with a specialized focus on Google Cloud (GCP), AWS, and PostgreSQL.

As a consultant and project lead, he has architected and delivered high-stakes database infrastructure, data warehousing, and global migration projects for industry giants, including Microsoft, Hewlett-Packard (HP), Cognizant, and Centrica PLC (UK) / British Gas.

Ashish holds a degree in Computer Science Engineering and maintains an elite tier of industry certifications, including MCITP (Database Administrator), MCDBA (SQL Server 2000), and MCTS. His unique "Mantra" approach to technical training and documentation continues to help thousands of DBAs worldwide navigate the complexities of modern database management.

Add comment

Follow us

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