﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>IE - Automatically Detect Settings - SOLVED</title><link>http://www.visualbasicscript.com/</link><description /><copyright>(c) VBScript Forum</copyright><ttl>30</ttl><item><title>RE: IE - Automatically Detect Settings (makader)</title><description>  ----Update-----  &lt;br&gt;  Ignore the link from the 1st page's last post. Please consider the previous post instead. &lt;br&gt;    &lt;br&gt;  Regards, &lt;br&gt;  M. A. Kader &lt;br&gt;  </description><link>http://www.visualbasicscript.com/fb.ashx?m=93499</link><pubDate>Thu, 08 Sep 2011 15:36:37 GMT</pubDate></item><item><title>Re:IE - Automatically Detect Settings - SOLVED (makader)</title><description>  &lt;font face="comic sans ms,sans-serif"&gt; ----Updated------&lt;/font&gt;  &lt;br&gt;  &lt;font face="comic sans ms,sans-serif"&gt;Setting &lt;b&gt;&lt;a href="http://www.techtopeace.com/2011/08/script-to-set-ie-automatically-detect.html" target="_blank" rel="nofollow"&gt;IE Automatically Detect Settings &lt;/a&gt;&lt;/b&gt;via registry or script is simple but essential for system administrator to parse a large number of computers at a while. The script works for IE 6.0, to IE-8 tested by mine. &lt;a href="http://www.techtopeace.com/2011/08/script-to-set-ie-automatically-detect.html" target="_blank" rel="nofollow"&gt;&lt;b&gt;Know More details &amp;amp; Download the Script&lt;/b&gt;.&lt;/a&gt;&lt;/font&gt; &lt;br&gt;  </description><link>http://www.visualbasicscript.com/fb.ashx?m=93498</link><pubDate>Thu, 08 Sep 2011 14:44:38 GMT</pubDate></item><item><title>Re:IE - Automatically Detect Settings - SOLVED (makader)</title><description>  IE automatically detect settings  via registry or script is simple. I have created a simple tools using registry file &amp;amp; vb-script named "IE Auto Detect Settings" allows user to check &amp;amp; uncheck the IE “Automatically Detect Settings” option. For detail &amp;amp; download please follow the link &lt;a href="http://techsolutionpoint.blogspot.com/2010/12/set-ie-automatically-detect-settings.html." target="_blank" rel="nofollow"&gt;http://techsolutionpoint....-detect-settings.html.&lt;/a&gt; &lt;br&gt;  </description><link>http://www.visualbasicscript.com/fb.ashx?m=87800</link><pubDate>Sun, 05 Dec 2010 16:12:44 GMT</pubDate></item><item><title>RE: IE - Automatically Detect Settings (Munawwar Firoz)</title><description>  Thanks for the update, lando. The auto detect byte was a bit mask! How come I didnt notice? &lt;img src="http://www.visualbasicscript.com/upfiles/smiley/s1.gif" alt="" /&gt; &lt;br&gt;  And 4 bytes for proxy server address length? Does the length ever cross 256? &lt;br&gt;   &lt;br&gt;  The last 32 or more bytes contains junk values in most PCs.I have seen a PC that had more than a 100 random bytes appended.As far as I have seen, removing these values does not affect any settings.(Correct me if I am wrong about this). &lt;br&gt;   &lt;br&gt;   &lt;br&gt;  </description><link>http://www.visualbasicscript.com/fb.ashx?m=76866</link><pubDate>Wed, 30 Sep 2009 07:43:34 GMT</pubDate></item><item><title>RE: IE - Automatically Detect Settings (lando)</title><description>  &lt;a href="http://www.visualbasicscript.com/showprofile.aspx?memid=20882" target="_blank" rel="nofollow"&gt;Munawwar Firoz&lt;/a&gt;, thanks for the posting!! I was wondering what these values mean, but a few updates to what you wrote: &lt;br&gt;   &lt;br&gt;  first byte 3c (which is 60) or 46 (which is 70)...probably just some kinda version info, then 3 0s, so this is probably an integer...but like you, haven't found the answer &lt;br&gt;   &lt;br&gt;  next 4 bytes are a counter. (set the first byte to FF, and then open and close the connections window, you get 00 01 00 00) &lt;br&gt;   &lt;br&gt;  next, the auto detect settings byte, seems to be a bit mask, probably an integer as well because the next 3 bytes are 0s. &lt;br&gt;   &lt;br&gt;  the mask consists of 4 bits, the lsb is always 1. &lt;br&gt;  first bit = AutoDetect &lt;br&gt;  2nd = AutoConfig &lt;br&gt;  3rd = Manual settings &lt;br&gt;  4th -&amp;gt; this is the one that's always 1...not sure &lt;br&gt;   &lt;br&gt;  next &lt;b&gt;4&lt;/b&gt; bytes are the length of the proxy server address.&amp;nbsp; This is another integer.&amp;nbsp; Though probably rarely longer than 256 characters, if someone is expecting this to be a byte, it could really mess them up. &lt;br&gt;   &lt;br&gt;  Next X bytes, are the address itself followed immediately by: &lt;br&gt;   &lt;br&gt;  Next 4 bytes are another integer specifying the length of the extra data (+;&amp;lt;local&amp;gt; if the bypass for local data is checked or +&amp;lt;local&amp;gt; if it's just the box checked) &lt;br&gt;   &lt;br&gt;  Next X bytes are the extra data, (advanced tab, Exceptions). (;&amp;lt;local&amp;gt; gets appended at the end of this data if the box is checked) &lt;br&gt;   &lt;br&gt;  Next 4 bytes are an integer for the length of the auto config script, followed by the address of the script &lt;br&gt;   &lt;br&gt;  Lastly, there is some additional information of 32bytes (not all 0s for me) but I don't know what it is. &lt;br&gt;  </description><link>http://www.visualbasicscript.com/fb.ashx?m=76839</link><pubDate>Tue, 29 Sep 2009 14:03:43 GMT</pubDate></item><item><title>RE: IE - Automatically Detect Settings (Munawwar Firoz)</title><description>  This thread never gets old! hah!  &lt;br&gt;      I would like to add some more information&amp;nbsp;for people who might be interested in other&amp;nbsp;connection settings.(Its nice to have all related infomation on one page)  &lt;br&gt;      Many other settings can be changed using HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections\DefaultConnectionSettings.  &lt;br&gt;      &amp;nbsp;  &lt;br&gt;      I dissected the registry value and found a little about its format.  &lt;br&gt;      Heres how it is (in hexadecimals - in sequence):  &lt;br&gt;      1)&amp;nbsp;Byte number zero&amp;nbsp;always&amp;nbsp;has a&amp;nbsp;3C or 46 - I couldnt find more information about this byte.The next three bytes are zeros.  &lt;br&gt;      2) Byte number 4 is a counter used by the 'Internet Options' property sheet (Internet explorer-&amp;gt;Tools-&amp;gt;Internet Options...).  &lt;br&gt;      As you manually change the internet setting (such as LAN settings in the Connections tab), this counter increments.Its not very useful byte.But it&amp;nbsp;MUST have a value.I keep it zero always.The next three bytes are zeros (Bytes 5 to 7).  &lt;br&gt;      &amp;nbsp;  &lt;br&gt;      3) Byte number 8 can take different values as per your settings.  &lt;br&gt;      The value is :  &lt;br&gt;      09 when only 'Automatically detect settings' is enabled  &lt;br&gt;      03 when only 'Use a proxy server for your LAN'&amp;nbsp;is enabled  &lt;br&gt;      0B when both are enabled  &lt;br&gt;      05 when only 'Use automatic configuration script' is enabled  &lt;br&gt;      0D when 'Automatically detect settings' and 'Use automatic configuration script' are enabled  &lt;br&gt;      07 when 'Use a proxy server for your LAN' and 'Use automatic configuration script' are enabled  &lt;br&gt;      0F when all the three are enabled.  &lt;br&gt;      01 when none of them are enabled.  &lt;br&gt;      The next three bytes are zeros (Bytes&amp;nbsp;9 to B).  &lt;br&gt;      &amp;nbsp;  &lt;br&gt;      4)&amp;nbsp;Byte number C (12 in decimal)&amp;nbsp;contains the length of the proxy server address.For example&amp;nbsp;a proxy server '127.0.0.1:80' has length 12 (length includes the dots and the colon).The next three bytes are zeros (Bytes&amp;nbsp;D to F).  &lt;br&gt;      5) Byte 10 (or 16 in decimal) contains the proxy server address - like '127.0.0.1:80' (where 80 is obviously the port number)  &lt;br&gt;      6) the byte immediatley after the address contians the length of additional information.The next three bytes are zeros.  &lt;br&gt;      For example if the 'Bypass proxy server for local addresses' is ticked, then this byte is 07,the next three bytes are zeros and then comes a string i.e. '&amp;lt;local&amp;gt;' (&amp;lt;local&amp;gt; indicates that you are bypassing the proxy server.Now since &amp;lt;local&amp;gt; has 7 characters, the length is 07!).  &lt;br&gt;      You will have to experiment on your own for finding more about this.  &lt;br&gt;      If you dont have any additional info then the length is 0 and no information is added.  &lt;br&gt;      7) The byte immediately after the additional info, is the length of the automatic configuration script address (If you dont have a script address then you dont need to add anything,skip this step and goto step 8).The next three bytes are zeros,then comes the address.  &lt;br&gt;      8)&amp;nbsp;Finally, 32 zeros are appended.(I dont know why!)  &lt;br&gt;      &amp;nbsp;  &lt;br&gt;      Knowing all these helps in&amp;nbsp;changing proxy server settings programatically.But the changes in proxy settings doesnt&amp;nbsp;take&amp;nbsp;effect immediatly.(There might&amp;nbsp;be a way to refresh the settings.Couldnt find any.)  &lt;br&gt;      These registry value should also be changed for the proxy settings to take effect. &lt;br&gt;      &amp;nbsp;HKEY_LOCAL_MACHINE&lt;font color="#666600"&gt;\&lt;/font&gt;SOFTWARE&lt;font color="#666600"&gt;\&lt;/font&gt;&lt;font color="#660066"&gt;Microsoft&lt;/font&gt;&lt;font color="#666600"&gt;\&lt;/font&gt;&lt;font color="#660066"&gt;Windows&lt;/font&gt;&lt;font color="#666600"&gt;\&lt;/font&gt;&lt;font color="#660066"&gt;CurrentVersion&lt;/font&gt;&lt;font color="#666600"&gt;\&lt;/font&gt;&lt;font color="#660066"&gt;Internet&lt;/font&gt; &lt;font color="#660066"&gt;Settings&lt;/font&gt; &lt;br&gt;      &amp;nbsp; &amp;nbsp; &lt;font color="#666600"&gt;[&lt;/font&gt;REG_DWORD&lt;font color="#666600"&gt;]&lt;/font&gt; &amp;nbsp;ProxyHttp1&lt;font color="#006666"&gt;.1&lt;/font&gt;&lt;font color="#666600"&gt;=&lt;/font&gt;&#x2;28&lt;font color="#666600"&gt;29&#x2; &lt;br&gt;      &amp;nbsp; &amp;nbsp; &lt;font color="#666600"&gt;[&lt;/font&gt;REG_DWORD&lt;font color="#666600"&gt;]&lt;/font&gt; &amp;nbsp;&lt;font color="#660066"&gt;MigrateProxy&lt;/font&gt;&lt;font color="#666600"&gt;=&lt;/font&gt;&#x2;38&lt;/font&gt;39&#x2; &lt;br&gt;      &amp;nbsp; &amp;nbsp; &lt;font color="#666600"&gt;[&lt;/font&gt;REG_DWORD&lt;font color="#666600"&gt;]&lt;/font&gt; &amp;nbsp;&lt;font color="#660066"&gt;ProxyEnable&lt;/font&gt;&lt;font color="#666600"&gt;=&lt;/font&gt;&#x2;48&lt;font color="#666600"&gt;49&#x2; &lt;br&gt;      &amp;nbsp; &amp;nbsp; &lt;font color="#666600"&gt;[&lt;/font&gt;REG_SZ&lt;font color="#666600"&gt;]&lt;/font&gt; &amp;nbsp;&lt;font color="#660066"&gt;ProxyServer&lt;/font&gt;&lt;font color="#666600"&gt;=&amp;lt;&lt;/font&gt;proxy server address&lt;font color="#666600"&gt;&amp;gt;&amp;nbsp;&lt;/font&gt; &lt;br&gt;      &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color="#666600"&gt;[&lt;/font&gt;REG_SZ&lt;font color="#666600"&gt;]&lt;/font&gt; &amp;nbsp;&lt;font color="#660066"&gt;ProxyOverride&lt;/font&gt;&lt;font color="#666600"&gt;=&amp;lt;&lt;/font&gt;proxy &lt;font color="#000088"&gt;override&lt;/font&gt; settings&lt;font color="#666600"&gt;&amp;gt; &lt;/font&gt; &lt;br&gt;      &lt;font color="#666600"&gt;&lt;/font&gt; &lt;br&gt;      If anyone finds any more information please let me know.  &lt;br&gt;  </description><link>http://www.visualbasicscript.com/fb.ashx?m=76412</link><pubDate>Sun, 13 Sep 2009 15:38:48 GMT</pubDate></item><item><title> RE: IE - Automatically Detect Settings (howeasyisthat)</title><description>  &lt;font size="5"&gt;&lt;font color="#FF9933"&gt;I was hunting for a solution to the automatically configure IE settings dilemma and came across this forum. It inspired me to write a nice subroutine to both set and query this setting...&lt;/font&gt; &lt;br&gt;   &lt;br&gt;  &lt;font color="#0066CC"&gt;Some users found a binary registry key that slightly changed when the autodect setting is changed in IE,  and proposed a solution of recording the entire contents of that registry in an array, and then writing it back using a script to multiple PCs.   However, it's not a good idea to do that because you really need an understanding of every setting you are changing before letting that loose on your production PCs.  The last entry gives the best clue how to do it safely by identifying the specific byte within HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Connections\DefaultConnectionSettings,  and then went further to use the AND boolean operation to read the single binary bit .&lt;/font&gt; &lt;br&gt;   &lt;br&gt;  &lt;font color="#990066"&gt;We can not only read that binary bit,  but we can turn it on and off, and then write it back without affecting any of the other settings, whatever they were !  That is the safest way to make changes to these kind of registry settings.... So finally, here's a subroutine + example use that provies Turn on,  Turn off and a show status facility for  IE Automatically Detect settings :&lt;/font&gt; &lt;br&gt;   &lt;br&gt;  &lt;pre class="prettyprint"&gt;'Example use of IEautomaticallydetect
 IEautomaticallydetect  "off"
 IEautomaticallydetect  "show"
 IEautomaticallydetect  "on"
 IEautomaticallydetect  "show"
 wscript.quit
 
 SUB IEautomaticallydetect (status)
 
 'howeasyisthat.com
 'The parameter shold be set to 'off', 'on' or 'show'.
 'This reads and writes to  HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections\DefaultConnectionSettings in order to
 'set or read the Internet Explorer Automatically Detect facility. When a proxy is set, this should normally be off. When no proxy settings are set,
 'it's usually best to have this setting turned on.[/size]
 
 DIM sKey,sValue,binaryVal
 Dim oReg
 Set oReg=GetObject( "winmgmts:{impersonationLevel=impersonate}!\\.\root\default:StdRegProv")    'For registry operations througout
 
 Const HKCU=&amp;H80000001
 
 sKey = "Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections"
 sValue = "DefaultConnectionSettings"
 
 oReg.GetBinaryValue HKCU, sKey, sValue, binaryVal
 
 select case lcase(status)
   case "on"    binaryVal(8) = binaryVal(8) OR 8        'Force Autodetect on
   case "off"    binaryVal(8) = binaryVal(8) XOR 8        'Force Autodetect off
   case "show"    wscript.echo "Automatically detect is set to " &amp; ((binaryVal(8) and 8) = 8)
   case else    wscript.echo "Invalid parameter - IEautomaticallydetect  on, off or show"
 end select
 
 if lcase(status)="on" or lcase(status)="off" then oReg.SetBinaryValue HKCU, sKey, sValue, binaryVal
 
 end sub&lt;/pre&gt; &lt;br&gt;   &lt;br&gt;  &lt;font size="5"&gt;&lt;font color="#FF3333"&gt;Take a look at &lt;a href="http://howeasyisthat.com" target="_blank" rel="nofollow"&gt;howeasyisthat.com&lt;/a&gt;  (when it's ready!) for more scripting solutions &lt;br&gt;  All the best,  ... Tim So&lt;/font&gt;&lt;/font&gt; </description><link>http://www.visualbasicscript.com/fb.ashx?m=73386</link><pubDate>Wed, 17 Jun 2009 01:15:41 GMT</pubDate></item><item><title> RE: IE - Automatically Detect Settings (spiderharper)</title><description>  So being the pedant that I am, here is a script which will do the job: &lt;br&gt;   &lt;br&gt;  &lt;blockquote&gt; &lt;br&gt;  &lt;font face="times new roman"&gt;Const HKEY_CURRENT_USER = &amp;amp;H80000001 &lt;/font&gt; &lt;br&gt;  &lt;font face="times new roman"&gt;strComputer = "."  &lt;br&gt;  &lt;/font&gt; &lt;br&gt;  &lt;font face="times new roman"&gt;Set objRegistry = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" &amp;amp; strComputer &amp;amp; "\root\default:StdRegProv") &lt;/font&gt; &lt;br&gt;  &lt;font face="times new roman"&gt;&lt;/font&gt;&amp;nbsp; &lt;br&gt;  &lt;font face="times new roman"&gt;strKeyPath = "SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Connections"  &lt;br&gt;  strValueName = "DefaultConnectionSettings" &lt;/font&gt; &lt;br&gt;  &lt;font face="times new roman"&gt;&lt;/font&gt;&amp;nbsp; &lt;br&gt;  &lt;font face="times new roman"&gt;rtn = objRegistry.GetBinaryValue(HKEY_CURRENT_USER, strKeyPath, strValueName, binValue)&lt;/font&gt; &lt;br&gt;  &lt;font face="times new roman"&gt; &lt;br&gt;  If rtn = 0 then &lt;br&gt;  &amp;nbsp; If (binValue(8) and 8)=8 Then &lt;br&gt;  &amp;nbsp;&amp;nbsp;&amp;nbsp; Msgbox "Autodetect is checked" &lt;br&gt;  &amp;nbsp; Else &lt;br&gt;  &amp;nbsp;&amp;nbsp;&amp;nbsp; Msgbox "Autodetect is unchecked" &lt;br&gt;  &amp;nbsp; End If &lt;br&gt;  Else &lt;br&gt;  &amp;nbsp; MsgBox "Error retreving registry value for host " &amp;amp; strcomputer &lt;br&gt;  End if &lt;br&gt;   &lt;br&gt;  &lt;/font&gt;&lt;/blockquote&gt; </description><link>http://www.visualbasicscript.com/fb.ashx?m=68446</link><pubDate>Mon, 12 Jan 2009 04:36:49 GMT</pubDate></item><item><title> RE: IE - Automatically Detect Settings (Munawwar Firoz)</title><description>  Very usefull information have been collected here! nice work! &lt;br&gt;   &lt;br&gt;  I am interested in changing the Dial-Up IP (what do you call it?) which is ADSL USB MODEM DIAL-UP registry value located in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections in my XPSP2. &lt;br&gt;  Its in binary&amp;nbsp;unfortunatly. I have been searching the net on how to mutate this value without crashing my internet explorer.But couldnt find any useful info. Probably you people might know! &lt;br&gt;   &lt;br&gt;  All&amp;nbsp;I know about the value is that , If you change the address and port in Internet Options-&amp;gt;Connections tab-&amp;gt;ADSL USB MODEM DIAL-UP settings (you would see the "Proxy server" group box) this registry value changes and the address:port combination&amp;nbsp;starts from the 16th byte of this value.I dont know about the other hex values. &lt;br&gt;   &lt;br&gt;  Any help would be appreciated! </description><link>http://www.visualbasicscript.com/fb.ashx?m=67464</link><pubDate>Sat, 06 Dec 2008 01:27:54 GMT</pubDate></item><item><title> RE: IE - Automatically Detect Settings (MyITGuy)</title><description>  Excellent find Gary, but this only disables the ability to set the feature. &lt;br&gt;   &lt;br&gt;  &lt;b&gt;NOTE: Each REG ADD command is a single line.&lt;/b&gt; &lt;br&gt;   &lt;br&gt;  This command can be used to clear all connection settings for the currently logged-in user, but will be overwritten by group policy:  &lt;br&gt;    &lt;br&gt;  reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections" /v DefaultConnectionSettings /t REG_BINARY /d 460000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 /f &lt;br&gt;    &lt;br&gt;  The following can be used to clear all connection settings for all users and will not be overwritten by group policy (requires admin access to the system): &lt;br&gt;    &lt;br&gt;  reg add "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections" /v DefaultConnectionSettings /t REG_BINARY /d 46000000020000000100000000000000070000003c6c6f63616c3e000000000000000000000000000000000000000000000000000000000000000000000000 /f &lt;br&gt;   &lt;br&gt;  reg add "HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxySettingsPerUser /t REG_DWORD /d 0 /f &lt;br&gt;   &lt;br&gt;   &lt;br&gt;  In addition, a quick way to disable modification of auto-configuration settings (will require administrative privileges): &lt;br&gt;   &lt;br&gt;  For the currently logged-in user only, use the following command: &lt;br&gt;   &lt;br&gt;  reg add "HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Internet Explorer\Control Panel\Autoconfig" /v AutoConfig /t REG_DWORD /d 1 &lt;br&gt;   &lt;br&gt;  For all users (machine-level), use the following command: &lt;br&gt;   &lt;br&gt;  reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Internet Explorer\Control Panel\Autoconfig" /v AutoConfig /t REG_DWORD /d 1 </description><link>http://www.visualbasicscript.com/fb.ashx?m=67448</link><pubDate>Fri, 05 Dec 2008 08:14:28 GMT</pubDate></item><item><title> RE: IE - Automatically Detect Settings (garygbm)</title><description>  Assuming you have XP sp2 installed. &lt;br&gt;  &amp;nbsp; &lt;br&gt;  HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Internet Explorer\Control Panel\Autoconfig &lt;br&gt;   &lt;br&gt;  To disable the Automatically Detect Settings&lt;/b&gt; check box, set the value of this DWORD (Autoconfig)&amp;nbsp;to 1.  &lt;br&gt;  &amp;nbsp; &lt;br&gt;  Create the keys for IE and control panel if they dont exist. &lt;br&gt;  &amp;nbsp; &lt;br&gt;  This disables both the "auto check box" and the "auto script" That area becomes greyed out. &lt;br&gt;  &amp;nbsp; &lt;br&gt;  Regards, &lt;br&gt;  &amp;nbsp; &lt;br&gt;  Gary &lt;br&gt;   </description><link>http://www.visualbasicscript.com/fb.ashx?m=55741</link><pubDate>Mon, 21 Jan 2008 04:28:37 GMT</pubDate></item><item><title> RE: IE - Automatically Detect Settings (LMichel)</title><description>  Cybex,  &lt;br&gt;  &amp;nbsp; &lt;br&gt;  My experience show that there is sometings wrong in your conclusion. &lt;br&gt;  5th hex set is incremented each time you go te LAN settings. It's a counter.  &lt;br&gt;  Look at the 9th hex. Bit 3 of the 9th hex contains the state of the check box. In your exemple it changes from 9 to 1. &lt;br&gt;  &amp;nbsp; &lt;br&gt;  &amp;nbsp; &lt;br&gt;  &amp;nbsp; &lt;br&gt;  &lt;blockquote class="quote"&gt;&lt;i&gt;&lt;/i&gt;&lt;br&gt;ORIGINAL: Cybex &lt;br&gt;   &lt;br&gt;  It is located in this key under the "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections" value.&amp;nbsp; The data string is a collection of all the current settings.&amp;nbsp; I isolated the section for that check box to the 5th hex set.&amp;nbsp; Everytime you turn it on or off it increments up by one.&amp;nbsp; setting it to an even number sets it to checked, odd numbers set it to unchecked.&amp;nbsp; I would set everthing the way you want it and just rewrite the entire REG_BINARY the way it exports when configured correctly. &lt;br&gt;   &lt;br&gt;  Checked: &lt;br&gt;  &lt;font color="#cc0000"&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections] &lt;br&gt;  "DefaultConnectionSettings"=hex:3c,00,00,00,&lt;font color="#3300cc"&gt;14&lt;/font&gt;,00,00,00,&lt;font color="#669900"&gt;09&lt;/font&gt;,00,00,00,0e,00,00,\ &lt;br&gt;  00,31,32,37,2e,30,2e,30,2e,31,3a,38,30,38,30,09,00,00,00,6c,6f,63,61,6c,68,\ &lt;br&gt;  6f,73,74,0b,00,00,00,31,31,31,2e,31,31,2e,31,31,31,31,01,00,00,00,00,00,00,\ &lt;br&gt;  00,30,fd,35,de,8d,27,c6,01,03,00,00,00,c0,a8,01,73,c0,a8,b8,01,c0,a8,85,01,\ &lt;br&gt;  00,00,00,00,00,00,00,00 &lt;br&gt;  &lt;/font&gt; &lt;br&gt;  Unchecked &lt;br&gt;  &lt;font color="#cc0000"&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections] &lt;br&gt;  "DefaultConnectionSettings"=hex:3c,00,00,00,&lt;font color="#3300cc"&gt;15&lt;/font&gt;,00,00,00,&lt;font color="#669900"&gt;01&lt;/font&gt;,00,00,00,0e,00,00,\ &lt;br&gt;  00,31,32,37,2e,30,2e,30,2e,31,3a,38,30,38,30,09,00,00,00,6c,6f,63,61,6c,68,\ &lt;br&gt;  6f,73,74,0b,00,00,00,31,31,31,2e,31,31,2e,31,31,31,31,01,00,00,00,00,00,00,\ &lt;br&gt;  00,30,fd,35,de,8d,27,c6,01,03,00,00,00,c0,a8,01,73,c0,a8,b8,01,c0,a8,85,01,\ &lt;br&gt;  00,00,00,00,00,00,00,00&lt;/font&gt; &lt;br&gt;   &lt;br&gt;   &lt;br&gt;  Cybex &lt;br&gt;  &lt;/blockquote&gt;  &lt;br&gt;   </description><link>http://www.visualbasicscript.com/fb.ashx?m=46540</link><pubDate>Wed, 02 May 2007 07:25:38 GMT</pubDate></item><item><title> RE: IE - Automatically Detect Settings (Country73)</title><description>  Last registry entry that took care of my remaining issue: &lt;br&gt;  &amp;nbsp; &lt;br&gt;  HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\Internet Settings &lt;br&gt;  &amp;nbsp; [REG_DWORD] Security_HKLM_only=1 &lt;br&gt;  &amp;nbsp; &lt;br&gt;  &amp;nbsp; &lt;br&gt;  1 = Workstation settings &lt;br&gt;  0 = User settings &lt;br&gt;  &amp;nbsp; &lt;br&gt;  &lt;a href="http://www.winguides.com/registry/display.php/1133/" target="_blank" rel="nofollow"&gt;http://www.winguides.com/registry/display.php/1133/&lt;/a&gt; &lt;br&gt;  &amp;nbsp; &lt;br&gt;  &lt;img src="http://www.visualbasicscript.com/upfiles/smiley/s4.gif" alt="" /&gt;&lt;img src="http://www.visualbasicscript.com/upfiles/smiley/s5.gif" alt="" /&gt;&lt;img src="http://www.visualbasicscript.com/upfiles/smiley/s2.gif" alt="" /&gt; &lt;br&gt;   </description><link>http://www.visualbasicscript.com/fb.ashx?m=31436</link><pubDate>Wed, 22 Feb 2006 13:31:26 GMT</pubDate></item><item><title> RE: IE - Automatically Detect Settings (Country73)</title><description>  Just an update on the progress of this "little" project I've been working on. &lt;br&gt;  &amp;nbsp; &lt;br&gt;  It looks like we will not be using GPO to make these changes across our network.  &lt;br&gt;  (GPO Administrator will not allow this due to more overhead he will have to deal with to set all of this up for our area) &lt;br&gt;  &amp;nbsp; &lt;br&gt;  The other issue is that we will not be making the changes through the HKEY_CURRENT_USER key. &lt;br&gt;  (Handed down from management) &lt;br&gt;  &amp;nbsp; &lt;br&gt;  I've found a way to fix all of these settings on a W2K machine, but the same settings do not take care of them on an XP Machine. &lt;br&gt;  Here are the registry keys that will be &lt;b&gt;created&lt;/b&gt; to make the changes: &lt;br&gt;  &amp;nbsp; &lt;br&gt;  &lt;pre class="prettyprint"&gt;
 HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\Internet Settings
 &amp;nbsp;&amp;nbsp; [REG_DWORD]&amp;nbsp; ProxySettingsPerUser=0
 &amp;nbsp;
 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings
 &amp;nbsp;&amp;nbsp; [REG_DWORD]&amp;nbsp; ProxyHttp1.1=0
 &amp;nbsp;&amp;nbsp; [REG_DWORD]&amp;nbsp; MigrateProxy=1
 &amp;nbsp;&amp;nbsp; [REG_DWORD]&amp;nbsp; ProxyEnable=0
 &amp;nbsp;&amp;nbsp; [REG_SZ]&amp;nbsp;&amp;nbsp;ProxyServer=&amp;lt;our proxy settings&amp;gt;
 &amp;nbsp;&amp;nbsp; [REG_SZ]&amp;nbsp;&amp;nbsp;ProxyOverride=&amp;lt;our proxy override settings&amp;gt;
 &lt;/pre&gt; &lt;br&gt;  &amp;nbsp; &lt;br&gt;  If these keys are created&amp;nbsp;on an XP Machine, then all of the settings are taken care of except for the "Automatically detect settings", this is still checked. &lt;br&gt;  (Yes, a lot of those entries are created so that they will be in place once we enable the proxy) &lt;br&gt;  Anyone have any other ideas as to how to fix this on an XP Machine? (SP2) &lt;br&gt;  &amp;nbsp; &lt;br&gt;   </description><link>http://www.visualbasicscript.com/fb.ashx?m=31360</link><pubDate>Tue, 21 Feb 2006 10:17:19 GMT</pubDate></item><item><title> RE: IE - Automatically Detect Settings (Cybex)</title><description>  I believe so. &lt;br&gt;   &lt;br&gt;  Cybex &lt;br&gt;   </description><link>http://www.visualbasicscript.com/fb.ashx?m=30562</link><pubDate>Thu, 02 Feb 2006 08:14:43 GMT</pubDate></item><item><title> RE: IE - Automatically Detect Settings (Country73)</title><description>  Thanks for that bit of information Cybex! &lt;br&gt;  I came across that registry key last night, but I did not have a chance to go in and start messing with it. &lt;br&gt;  I'll start looking into this a little more when I get a chance today. &lt;br&gt;  &amp;nbsp; &lt;br&gt;  One other question, &lt;br&gt;  I havne't really messed around with GPO, but if my group will be setting up our "future" proxy with GPO; wouldn't they also be able to make this change as well? &lt;br&gt;  &amp;nbsp; &lt;br&gt;  &amp;nbsp; &lt;br&gt;  Anyways, thanks for the info &lt;img src="http://www.visualbasicscript.com/upfiles/smiley/s5.gif" alt="" /&gt; &lt;br&gt;   </description><link>http://www.visualbasicscript.com/fb.ashx?m=30551</link><pubDate>Thu, 02 Feb 2006 07:19:58 GMT</pubDate></item><item><title> RE: IE - Automatically Detect Settings (Cybex)</title><description>  It is located in this key under the "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections" value.&amp;nbsp; The data string is a collection of all the current settings.&amp;nbsp; I isolated the section for that check box to the 5th hex set.&amp;nbsp; Everytime you turn it on or off it increments up by one.&amp;nbsp; setting it to an even number sets it to checked, odd numbers set it to unchecked.&amp;nbsp; I would set everthing the way you want it and just rewrite the entire REG_BINARY the way it exports when configured correctly. &lt;br&gt;   &lt;br&gt;  Checked: &lt;br&gt;  &lt;font color="#cc0000"&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections] &lt;br&gt;  "DefaultConnectionSettings"=hex:3c,00,00,00,&lt;font color="#3300cc"&gt;14&lt;/font&gt;,00,00,00,09,00,00,00,0e,00,00,\ &lt;br&gt;   00,31,32,37,2e,30,2e,30,2e,31,3a,38,30,38,30,09,00,00,00,6c,6f,63,61,6c,68,\ &lt;br&gt;   6f,73,74,0b,00,00,00,31,31,31,2e,31,31,2e,31,31,31,31,01,00,00,00,00,00,00,\ &lt;br&gt;   00,30,fd,35,de,8d,27,c6,01,03,00,00,00,c0,a8,01,73,c0,a8,b8,01,c0,a8,85,01,\ &lt;br&gt;   00,00,00,00,00,00,00,00 &lt;br&gt;  &lt;/font&gt; &lt;br&gt;  Unchecked &lt;br&gt;  &lt;font color="#cc0000"&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections] &lt;br&gt;  "DefaultConnectionSettings"=hex:3c,00,00,00,&lt;font color="#3300cc"&gt;15&lt;/font&gt;,00,00,00,01,00,00,00,0e,00,00,\ &lt;br&gt;   00,31,32,37,2e,30,2e,30,2e,31,3a,38,30,38,30,09,00,00,00,6c,6f,63,61,6c,68,\ &lt;br&gt;   6f,73,74,0b,00,00,00,31,31,31,2e,31,31,2e,31,31,31,31,01,00,00,00,00,00,00,\ &lt;br&gt;   00,30,fd,35,de,8d,27,c6,01,03,00,00,00,c0,a8,01,73,c0,a8,b8,01,c0,a8,85,01,\ &lt;br&gt;   00,00,00,00,00,00,00,00&lt;/font&gt; &lt;br&gt;   &lt;br&gt;   &lt;br&gt;  Cybex </description><link>http://www.visualbasicscript.com/fb.ashx?m=30535</link><pubDate>Wed, 01 Feb 2006 17:27:59 GMT</pubDate></item><item><title> RE: IE - Automatically Detect Settings (Country73)</title><description>  Yes, that works fine for checking the Proxy setting, but that is &lt;b&gt;not&lt;/b&gt; what I'm trying to check. &lt;br&gt;  &amp;nbsp; &lt;br&gt;  I'm wanting to check&amp;nbsp;"Automatically detect settings"&amp;nbsp; &lt;b&gt;not&amp;nbsp;&lt;/b&gt;the "Use a proxy server for your LAN" &lt;br&gt;   </description><link>http://www.visualbasicscript.com/fb.ashx?m=30531</link><pubDate>Wed, 01 Feb 2006 14:52:57 GMT</pubDate></item><item><title> RE: IE - Automatically Detect Settings (ziminski)</title><description>  If strValueName = "ProxyEnable"  &lt;br&gt;  dwValue = 1  &lt;br&gt;  then the box is checked &lt;br&gt;  if strValueName = "ProxyEnable"  &lt;br&gt;  dwValue = 0 &lt;br&gt;  Then the box is not checked. &lt;br&gt;   </description><link>http://www.visualbasicscript.com/fb.ashx?m=30529</link><pubDate>Wed, 01 Feb 2006 14:28:30 GMT</pubDate></item><item><title> RE: IE - Automatically Detect Settings (Country73)</title><description>  Thanks for the reply, but I'm not looking at actually setting the Proxy up by script, that will be handled through GPO. &lt;br&gt;  &amp;nbsp; &lt;br&gt;  I'm needing a script that can check for the "Automatically Detect Settings" and whether it is enabled or not. &lt;br&gt;  This may cause issues when we add our Proxy settings. &lt;br&gt;  &amp;nbsp; &lt;br&gt;  I know that you can physically check this through Internet Options, but I'm needing to check this on remote computers. &lt;br&gt;   </description><link>http://www.visualbasicscript.com/fb.ashx?m=30525</link><pubDate>Wed, 01 Feb 2006 13:02:15 GMT</pubDate></item></channel></rss>
