How to configure IIS 7 to allow downloading .exe files

If you’re finding that you’re getting 404 errors when trying to download executable files, add the following to your web.config (IIS 7 only).

<system.webServer>
    <handlers>
      <add name="Client exe" path="*.exe" verb="*" modules="StaticFileModule" resourceType="File" />
    <handlers>
<system.webServer>

Leave a Reply

Your email address will not be published. Required fields are marked *