Can I use
adsutil.vbs to remove the
X—Powered-By response header from IIS6 configuration?
We have a site that is running on some IIS6 servers. Migration to IIS7 is a few months away at least. In the mean time, I have noticed that it is serving the header
X—Powered-By: ASP.NET on all responses. I want this gone since it is a waste of bytes and a minor security risk. I strongly prefer to script this so that future deployments also ensure that the header is not present.
We have one or two custom headers that I want to keep, but those should be added by the deployment script so clearing them all upfront may be an option.
Is there a way to do this using