LMichel
-
Total Posts
:
1
- Scores: 0
-
Reward points
:
0
- Joined: 5/2/2007
-
Status: offline
|
RE: IE - Automatically Detect Settings
Wednesday, May 02, 2007 2:25 AM
( permalink)
Cybex, My experience show that there is sometings wrong in your conclusion. 5th hex set is incremented each time you go te LAN settings. It's a counter. 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. ORIGINAL: Cybex It is located in this key under the "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections" value. The data string is a collection of all the current settings. I isolated the section for that check box to the 5th hex set. Everytime you turn it on or off it increments up by one. setting it to an even number sets it to checked, odd numbers set it to unchecked. I would set everthing the way you want it and just rewrite the entire REG_BINARY the way it exports when configured correctly. Checked: [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections] "DefaultConnectionSettings"=hex:3c,00,00,00,14,00,00,00,09,00,00,00,0e,00,00,\ 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,\ 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,\ 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,\ 00,00,00,00,00,00,00,00 Unchecked [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections] "DefaultConnectionSettings"=hex:3c,00,00,00,15,00,00,00,01,00,00,00,0e,00,00,\ 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,\ 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,\ 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,\ 00,00,00,00,00,00,00,00 Cybex
|