Testing WPAD file locally with Internet Explorer 11

chromeinternet explorerlocalwpadwpad.dat

I am in the process of making our WPAD script ipv6 ready.
I downloaded our current (working) WPAD script and configured the following options in

Internet Options -> Connections -> LAN settings

  • Automatically detect settings unticked

  • Use automatic configuration script ticked

  • use proxy server for your LAN unticked

I tried the following Layouts for specifing the WPAD address:

  • file://C:\Windows\system32\drivers\etc\wpad.dat

  • file:///C:\Windows\system32\drivers\etc\wpad.dat

  • file:////C:\Windows\system32\drivers\etc\wpad.dat

  • file://C:/Windows/system32/drivers/etc/wpad.dat

While Chrome 33 works perfectly with each of theese lines IE doesnt work with a single one.
But if it loads the script from it works perfectly fine.

Does anyone know how to get IE 11 to load a local wpad script ?

Best Answer

IE11 requires the wpad.dat file to be served out by a web server, eg. IIS.

From Auto detect settings Internet Explorer 11:

Internet Explorer 11 creates a default URL template based on the host name, wpad. For example, http://wpad.<domain>.com/wpad.dat. Because of this, you need to set up a file or redirection point in your web server WPAD record, named wpad.dat. The wpad.dat record delivers the contents of your automatic configuration file.