Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
Log in  ::  Register  ::  Not logged in

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

Analyzing Dangerous Settings in SQL Server

By Rudy Panigas,

Hello everyone,

To analyze dangerous settings in your SQL Server, just copy, paste and execute this script.

Please test this on you development system first.

Once executed the script will detect your SQL server setting and look for any dangerous settings. If dangerous settings are detected, text will be displayed with more information. No settings are changed so you will have to make the changes manually.

Here is what the code is looking at

Max Work Treads - setting may cause blokcing tand thread pool error/issues

Priority Boost - Setting will drain OS and network functions and cause errors/issues

Light Weight Pooling - CLR not supported uner lightweight pooling

Affinity I/O Mask - I/O and processor affinity changes will cause strange issues/errors and is not necessary on and 64 bit server

Only use/change dangerous SQL server setting when instructed by Microsoft support to fix a specific issue/problem.


Rudy Panigas

Total article views: 459 | Views in the last 30 days: 6
Related Articles

Analyzing Dangerous Settings in SQL Server

Analyzing dangerous settings in your SQL Server.


The Dangers of Sub-queries!!!!

Ok, now that I have your attention this really should be titled the danger of not qualifying all obj...


msdb dtsltduser role



Hidden Dangers!

How many of you register a server in Enterprise Manager? Now how many of you click the "save passwor...


Error Serverity

error serverity


Join the most active online SQL Server Community

SQL knowledge, delivered daily, free:

Email address:  

You make SSC a better place

As a member of SQLServerCentral, you get free access to loads of fresh content: thousands of articles and SQL scripts, a library of free eBooks, a weekly database news roundup, a great Q & A platform… And it’s our huge, buzzing community of SQL Server Professionals that makes it such a success.

Join us!

Steve Jones

Already a member? Jump in:

Email address:   Password:   Remember me: Forgotten your password?
Steve Jones