How to install the dynamic content compression component of IIS (both 6 and 7) non interactively?
Any of the following goes as non interactive for me:
- Command line silent installation
- Script file
- Code (.NET, C, VB, whatever)
Thanks.
EDIT
I’d like to stress, that I wish to install the module responsible for the dynamic content compression. This is different from configuring the dynamic content compression after the respective module has already been installed.
IIS7.x
http://weblogs.asp.net/owscott/archive/2009/02/22/iis-7-compression-good-bad-how-much.aspx
C:WindowsSystem32InetsrvAppcmd.exe set config -section:urlCompression -doStaticCompression:true -doDynamicCompression:true
C:WindowsSystem32InetsrvAppcmd.exe set config -section:httpCompression -[name='gzip'].staticCompressionLevel:9 -[name='gzip'].dynamicCompressionLevel:4
IIS 6
http://weblogs.asp.net/owscott/archive/2004/01/12/IIS-Compression-in-IIS6.0.aspx
cscript C:InetpubAdminScriptsadsutil.vbs set w3svc/site#/root/DoStaticCompression False
cscript C:InetpubAdminScriptsadsutil.vbs set w3svc/site#/root/DoDynamicCompression False
Check more discussion of this question.
Related posts:
Leave a comment
Recent Posts
- Cron expression that runs every 5 minutes from 1:30 am – 6:00 am [duplicate]
- Understanding redundant power supplies
- Is there a way for administrators to disable users from installing Firefox extensions?
- Is there research material on NTP accuracy available?
- How to create a limited “domain admin” that does not have access to domain controllers?
Tags
active-directory
amazon-ec2
apache
apache2
backup
bash
centos
cisco
command-line
debian
dns
email
exchange
firewall
iis
iis7
iptables
linux
macosx
monitoring
mysql
networking
nginx
performance
permissions
php
postfix
raid
security
sql-server
sql-server-2005
sql-server-2008
ssh
ssl
ubuntu
unix
virtualization
vpn
webserver
windows
windows-7
windows-server-2003
windows-server-2008
windows-server-2008-r2
windows-xp





