2010-12-27 30 views

Respuesta

8

La configuración del servidor proxy para Internet Explorer se almacenan en el registro bajo "Software \ Microsoft \ Windows \ CurrentVersion \ Internet Settings"

Con Powershell (libre de Microsoft) que podría hacer

set-itemproperty -path "hkcu:Software\Microsoft\Windows\CurrentVersion\Internet Settings" -name ProxyServer -value "http=proxy-url:port;https=proxy-url:port;ftp=proxy-url:port;socks=proxy-url:port;" -type string 

Aunque eso solo afectará a Internet Explorer y puede requerir una nueva pestaña o incluso reiniciar IE, sin embargo, eso es poco probable.

+0

Set-ItemProperty: Falta un argumento para el parámetro 'Nombre'. Especifique un parámetro de tipo 'System.String' y vuelva a intentarlo. En línea: 1 carácter: 91 + ... RNET Configuración" -nombre + ~~~~~ + CategoryInfo: InvalidArgument: (:) [Set-ItemProperty], ParameterBindingException + FullyQualifiedErrorId: MissingArgument, Microsoft.PowerShell .Commands.SetItemPropertyCommand – Toolkit

5

Otra opción, si no desea instalar Powershell, es usar el comando REG.exe.

Por lo tanto, en ese caso se debe añadir en su secuencia de comandos por lotes:

REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /d "http=proxy-url:port;https=proxy-url:port;ftp=proxy-url:port;socks=proxy-url:port;" /t REG_SZ /f 

Para obtener información, la configuración de proxy de Internet Explorer también son utilizados por Google Chrome

Cuestiones relacionadas