72

When Windows Internet Properties -> Connections -> LAN Settings -> Automatic Configuration is set to "Automatically detect settings" how does Windows actually determine/discover what the settings are? Is it a network broadcast or some kind of targeted query to a server configured somewhere in the registry, or something else?

Martin Prikryl
  • 188,800
  • 56
  • 490
  • 992
Craig Day
  • 2,525
  • 1
  • 24
  • 26
  • This is because in your organization proxy settings are probably distributed through DHCP (or maybe group policy), whereas Chrome only supports the discovery through DNS described in my answer. – Tomalak Aug 08 '13 at 18:27

5 Answers5

87

Its simple: Browsers (Firefox works the same) query GET http://wpad/wpad.dat.

If a web server named wpad is resolveable, it should serve wpad.dat, a script file analog to netscape PAC files. MIME type must also be "application/x-ns-proxy-autoconfig".

Tomalak
  • 332,285
  • 67
  • 532
  • 628
9

This info about WPAD (Web Proxy Auto Discovery) seems to describe the process in detail, though I have confirmed that what Tomalak says is also actually occurring.

Glenn
  • 8,932
  • 2
  • 41
  • 54
Craig Day
  • 2,525
  • 1
  • 24
  • 26
8

The IE configuration described enables a WPAD implementation. Here's the Microsoft explanation of the entire mechanism (probably too much detail for a single post).

benc
  • 1,381
  • 5
  • 31
  • 39
8

It's a network broadcast, usually using DHCP.

That there wikipedia page should tell you all you need to know.

Ryan
  • 9,918
  • 7
  • 42
  • 57
-5

•Go to Tools > Options > General > Connection Settings > •Set to “Manual Proxy Configuration”