2010-12-27 18 views

cevap

8

Internet Explorer için proxy sunucu ayarlarını sen

yapabileceği (Microsoft'tan ücretsiz) PowerShell ile

"Microsoft \ Windows \ CurrentVersion \ Internet Settings \ Software" altında kayıt defterinde depolanır teşekkürler

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 

Bu yalnızca Internet Explorer'ı etkileyecek ve yeni bir sekme ya da belki de IE'nin yeniden başlatılmasını gerektirebilecek olsa da, althopugh bu olası değildir.

+0

Set-ItemProperty tarafından kullanılır: parametresi için bir argüman eksik 'Ad'. 'System.String' türünde bir parametre belirtin ve tekrar deneyin. satırında : 1 karakter: 91 + ... rnet Ayarlar" -adı + ~~~~~ + CategoryInfo: InvalidArgument: (:) ParameterBindingException + FullyQualifiedErrorId [-ItemProperty Set]: MissingArgument, Microsoft.PowerShell .Commands.SetItemPropertyCommand – Toolkit

5

Başka bir seçenek, eğer Powershell'i yüklemek istemiyorsanız, REG.exe komutunu kullanmaktır.

Yani, bu durumda size toplu komut eklemek gerekir:

bilgi için
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 

, vekil Internet Explorer ayarları da Google Chrome

İlgili konular