I manage an IIS7 server and I'm trying to determine what the dynamicCompressionDisableCpuUsage and dynamicCompressionEnableCpuUsage settings on this IIS7 are set to? I have not been able to find anyway to ascertain this information through the IIS7 Manager.
You can get this information from
IIS_schema.xml
located inC:\Windows\System32\inetsrv\config\schema
folder.As per your question, the default value seen is
section from IIS_schema.xml
If you have a Web Site and want to know the httpCompression setting of that Web Site, you need to look into the web.config file of that Web Site root folder.
According to MSDN:
DynamicCompressionDisableCpuUsage specifies the percentage of CPU utilization at which dynamic compression will be disabled. The default is 90. The value must be between 0 and 100. Average CPU utilization is calculated every 30 seconds.
DynamicCompressionEnableCpuUsage percentage of CPU utilization below which dynamic compression will be enabled. The default is 50. The value must be between 0 and 100. Average CPU utilization is calculated every 30 seconds.
The following VBScript code should get the values:
By default system.webServer/httpCompression is locked for overriding in the Web.Config, to see these settings you will need to look at these settings in the ApplicationHost.config level.
I think the easiest was is to open IIS manager select the server in the left column and go to the Configuration Editor in the Management section.
Here you can navigate to the system.webServer/httpCompression section and see these values.