Código: Selecionar todos
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"ProxyEnable"=dword:00000001
"ProxyServer"="servidor-proxy.dominio.local:porta"
"ProxyOverride"="<local>*.exceção.com.br"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections]
"DefaultConnectionSettings"=hex:46,00,00,00,40,00,00,00,0b,00,00,00,17,00,00,\
00,65,74,61,62,2d,67,77,2e,65,74,61,62,2e,6c,6f,63,61,6c,3a,33,31,32,38,35,\
00,00,00,65,2d,76,69,73,69,2e,6c,6f,63,61,6c,3b,70,6f,72,74,61,6c,2e,65,2d,\
76,69,73,69,2e,6c,6f,63,61,6c,3b,2a,2e,65,74,61,62,2e,6c,6f,63,61,6c,3b,3c,\
6c,6f,63,61,6c,3e,00,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
Crie um .BAT no seu NETLOGON com o seguinte código editando os campos para seu ambiente:
Código: Selecionar todos
@ECHO OFF
cmd.exe /c reg import \\servidor\netlogon\proxy.reg
Crie uma GPO para executar o .BAT na "OU" dos seu usuários em:
User Configuration/Windows Settings/Policies/Scripts (logon/Logoff)/Logon e adicione o caminho do .BAT