Discussione:
attivare/disattivare 'rileva automaticamente impostazioni' nel reg
(troppo vecchio per rispondere)
alessandro
2008-08-28 09:59:01 UTC
Permalink
Ciao a tutti,
sto scrivendo un file batch per switchare le impostazioni della lan.
in parole povere ho la neccessità di passare da un proxy settato ad un
rileva automaticamente impostazioni

Nn riesco a trovare qual'è la chiave di registro per attivare l'opzioni
rileva automaticamente le impostazioni.

Grazie

Ale
Edoardo Benussi [MVP]
2008-08-28 10:42:56 UTC
Permalink
Post by alessandro
Ciao a tutti,
sto scrivendo un file batch per switchare le impostazioni della lan.
in parole povere ho la neccessità di passare da un proxy settato ad un
rileva automaticamente impostazioni
Nn riesco a trovare qual'è la chiave di registro per attivare
l'opzioni rileva automaticamente le impostazioni.
con questo
http://en.wikipedia.org/wiki/Web_Proxy_Autodiscovery_Protocol ?
--
Edoardo Benussi - ***@mvps.org
Microsoft® MVP - Most Valuable Professional
Management Infrastructure - Systems Administration
https://mvp.support.microsoft.com/Profile/Benussi
alessandro
2008-08-29 08:43:01 UTC
Permalink
Grazie 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.

Ale
Post by Edoardo Benussi [MVP]
Post by alessandro
Ciao a tutti,
sto scrivendo un file batch per switchare le impostazioni della lan.
in parole povere ho la neccessità di passare da un proxy settato ad un
rileva automaticamente impostazioni
Nn riesco a trovare qual'è la chiave di registro per attivare
l'opzioni rileva automaticamente le impostazioni.
con questo
http://en.wikipedia.org/wiki/Web_Proxy_Autodiscovery_Protocol ?
--
Microsoft® MVP - Most Valuable Professional
Management Infrastructure - Systems Administration
https://mvp.support.microsoft.com/Profile/Benussi
Edoardo Benussi [MVP]
2008-09-01 12:08:33 UTC
Permalink
Post by alessandro
Grazie 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
Loading...