How can I tell if IE has received a WPAD configuration file when “Automatic detection” is enabled?


Alejendro, this blogs for you!

 

Unfortunately, there is nothing within the IE User Interface itself that tells you a WPAD file was downloaded for use by IE.  However, we can provide you a quick method of verification…

 

First, clear any cached data from the Temporary Internet Files directory:

image

NOTE:  Please do NOT attempt to delete your cookies!

Next, pick a small web site to connect to and add it to the Start->Run dialog:

image

Click OK to load web site in IE.  Now open the Internet Properties dialog using the below screen shots to open a window displaying files located within the Temporary Internet Files folder:

image

image

Notice the outlined file located in the TIF (Temporary Internet Files) folder.  This is the WPAD file (the proxy configuration file) that was downloaded due to Automatic detection being enabled.  You can easily copy/paste the file into a temp directory renaming it to have a .TXT extension.  From there you can load the file in notepad.exe to see that the file content and logic within, if you wish.

NOTE:  Do NOT open any files directly from the Temporary Internet Files folder!

I hope this answers your question Alejendro!

Regards,

The IE support Team

Comments (6)

  1. Chris says:

    Hello,

    This document is excellent and I refer tech support staff to it all of the time, however.

    We are finding that 100’s of users have confirmed the check in the ‘auto detect settings’ (which is forced by Group Policy), yet the machine still attempts to send traffic to the internet direct and is blocked by our firewall.

    The work around is to remove the check and the put it back in and all works well for a short time. Then the users find they are not reading the wpad file again.

    Are there any known issues with auto detect settings and wpad ?

    Many thanks

    Chris

  2. Anshu_vas says:

    @ Chris: Did you check the WPAD file downloaded in temporary internet files folder?

  3. Anshu_vas says:

    To know more about "Automatically detect settings and WPAD" refer to the following blog:

    https://blogs.msdn.com/anshu/archive/2010/04/06/internet-explorer-and-wpad.aspx

  4. Capricorn says:

    I have similar problem. Last week i read lot of forums and blogs. I found your one and at that time i didnt have the Wpad.dat file as you mentioned. Than i found that i should have a registry value under IE with Wpad.

    After resetting the browser it started working with wpad.dat placed and registry file was created.

    Today i cant browse via IE. I can see wpad file in temp internet files folder and registry value for wpad.

    Its really frustrating and not getting any solution to why its happening.

    Thanks,

    Capricorn

  5. Sam says:

    I added an extra few lines to my wpad.dat file to do some testing regarding this – when I go to http://debug/ I will get information about the host.

    if (host == 'debug') {
    
        debugPAC ="PAC Debug Informationn";
    
        debugPAC +="-----------------------------------n";
    
        debugPAC +="Machine IP: " + myIpAddress() + "n";
    
        debugPAC +="Hostname: " + host + "n";
    
        if (isResolvable(host)) {resolvableHost = "True"} else {resolvableHost = "False"};
    
        debugPAC +="Host Resolvable: " + resolvableHost + "n";
    
        debugPAC +="Hostname IP: " + dnsResolve(host) + "n";
    
        if (isPlainHostName(host)) {plainHost = "True"} else {plainHost = "False"};
    
        debugPAC +="Plain Hostname: " + plainHost + "n";
    
        debugPAC +="Domain Levels: " + dnsDomainLevels(host) + "n";
    
        debugPAC +="URL: " + url + "n";
    
        // Protocol can only be determined by reading the entire URL.
    
        if (url.substring(0,5)=="http:") {protocol="HTTP";} else
    
            if (url.substring(0,6)=="https:") {protocol="HTTPS";} else
    
                if (url.substring(0,4)=="ftp:") {protocol="FTP";}
    
                    else {protocol="Unknown";}
    
        debugPAC +="Protocol: " + protocol + "n";
    
        alert(debugPAC);
    
    }
    
  6. axelr says:

    @Sam    

    You can look at the IE TIF folder and see if the file is downloaded.

    You can also get network trace and see where the WPAD file is requested.