none
Netsh and Automatically Detect settings RRS feed

  • Question

  • Hi All,

    I have 'Automatically detect settings' checked in IE and the browser is picking the wpad file as expected. Having said that, I have been unsuccessful trying to set this proxy setting on a system wide level using netsh.

    I have executed the following command in netsh: "winhttp import proxy source=ie"

    I would have expected netsh to pick up the proxy from the auto detect settings but unfortunately no proxy is set as a result of executing that netsh command. Strange enough, if I were to set the proxy settings manually in IE, the netsh import command would pick this change and set the proxy successfully.

    Please note that I have attempted this on Windows XP and Windows 7 (using both 32 and 64 versions of netsh) and the 'winhttp import source=ie' only works on XP when automatically detect settings is set in IE.

    Any reason why netsh isn't picking up my auto detect settings on Win7?

    Thanks

    mskh

    Friday, September 26, 2014 10:44 AM

Answers

  • Thanks for the clarification. 

    The aforementioned reply doesn't provide a solution to my initial question which is: When Automatically detect settings is checked, should 'winhttp import source=ie' import the automatically detected settings in IE?


    The last paragraph in this article (WinHTTP Considerations) may be helpful:
    http://blogs.msdn.com/b/ieinternals/archive/2013/10/11/web-proxy-configuration-and-ie11-changes.aspx

    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)


    • Edited by DonPick Monday, September 29, 2014 10:26 AM
    • Marked as answer by Roger LuModerator Wednesday, October 8, 2014 12:40 PM
    Monday, September 29, 2014 10:25 AM

All replies