Post by alessandroGrazie Edoardo per la risposta,
nel link che mi hai postato non trovo la chiave per settare
l'impostazione 'rileva automaticamente impostazioni'
io dal file bat vorrei andare a settare il flag, cosicchè quando
utilizzo il proxy disattivo l'impostazione mentre quando nn uso il
proxy lo attivo.
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
--
Edoardo Benussi - ***@mvps.org
Microsoft® MVP - Most Valuable Professional
Management Infrastructure - Systems Administration
https://mvp.support.microsoft.com/Profile/Benussi