Remove X-Powered-By: ASP.NET HTTP Response Header
Posted By Chris Stinson in General, Internet Information Server on November 11, 2009
Quite a few people have asked how to remove the default HTTP Response Headers of IIS6 and IIS7. It’s very easy, actually. You can have some fun with it too (bottom).
Remove, Edit or Add HTTP Response Headers in Windows 2003 IIS6
- Open the IIS Management Console.
- Right-click on “Websites” and select “Properties.”
- Click on the “HTTP Headers” tab.
- Highlight the “X-Powered-By: ASP.NET” entry and select “Remove.”
- Also note that you can do this for all websites as above, or for an individual website by selecting it’s properties. Useful if you have sites powered by ASP and PHP on the same server.

Remove, Edit or Add HTTP Response Headers in Windows 2008 IIS7
- Open the IIS Management Console.
- Click on the Server Name in the left-hand pane.
- Under the “IIS” heading in the right-hand pane, double-click on “HTTP Response Headers.”
- Right-click on “X-Powered-By” and select Edit or Remove.
- Also note that you can do this for all websites as above, or for an individual website by selecting it’s properties. Useful if you have sites powered by ASP and PHP on the same server.


Power your IIS6 or IIS7 Website with Pure Evil
You can also have some fun with the “X-Powered By” response header as its purpose is informational. You can also add your own custom header.


Related posts:
- Host Headers vs. Spam and How-to Setup on IIS6 and IIS7
- How to View Email Headers in Common Email Programs
- Performance Tips: Disable Logging on Windows Server / IIS
- Migrating websites from IIS6 to IIS7
- TCP / IP Filtering For Windows


