views:

53

answers:

2

I'd like to set the tick box options within the LAN settings of the Internet Options:

LAN Settings screenshot

I'd prefer the code in a script or C#, but C/C++ would be fine as well. Please answer with the code/script to at least untick the "Use automatic configuration script" option.

THANKS!

+1  A: 

They answer appears to be here if you dont mind using powershell

Setting Proxy settings in ie using powershell

Kev Hunter
A: 

The name of the auto config file is stored in this registry key:

HKCU\Software\Microsoft\windows\CurrentVersion\Internet Settings\AutoConfigURL

You can use the Registry Functions to access the key: http://msdn.microsoft.com/en-us/library/ms724875(VS.85).aspx

Vicky