# Hide the IIS Version: Disable Version Disclosure for 8.0/8.5

This guide explains how to hide or replace the IIS server banner (version information) in IIS 8.0 and 8.5 using the URL Rewrite module.

Step 1:  
Install the latest version of Microsoft Web Platform Installer ([https://www.microsoft.com/web/downloads/platform.aspx/](https://www.microsoft.com/web/downloads/platform.aspx/)).  
Step 2:  
Install URL Rewrite 2.0 using Web Platform Installer on the server.

![](https://cdn.hashnode.com/uploads/covers/610864c6b97c436d241be637/3e93d67a-2805-4255-9bb2-dfb04efd05b9.png align="center")

![](https://cdn.hashnode.com/uploads/covers/610864c6b97c436d241be637/d6ab6981-cdf9-4806-ac7a-8652132e9660.png align="center")

Step 3:  
After installation of same, URL Rewrite starts appearing in IIS Manager.

Step 4:  
Add the Outbound Rule using URL Rewrite, to replace the Response Banner to custom banner.

![](https://cdn.hashnode.com/uploads/covers/610864c6b97c436d241be637/c9bb733b-3e96-42ae-be14-dc6f1b4e0869.png align="center")

Step 5:  
Else we can add the below shown code in web.config file also.

![](https://cdn.hashnode.com/uploads/covers/610864c6b97c436d241be637/4f714cb1-ac0a-4065-8f7b-f1a60d190b0b.png align="center")

![](https://cdn.hashnode.com/uploads/covers/610864c6b97c436d241be637/5e19b8a4-882e-4d1a-8279-a932dc0fc340.png align="center")

Thanks to my friend:  
Pralhad Chaskar(c0d3xpl0it)‏  
[http://c0d3xpl0it.blogspot.ae/](http://c0d3xpl0it.blogspot.ae/)
