2010-12-27 17 views

答えて

8

Internet Explorerのプロキシサーバーの設定は、あなたが

を行うことができます(マイクロソフトから無償)PowerShellを使用し

の "Microsoft \ Windowsの\ CurrentVersionの\インターネットの設定\ソフトウェア" の下のレジストリに格納されているありがとう

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 

これはInternet Explorerにのみ影響し、新しいタブが必要な場合や、IEの再起動が必要な場合もありますが、その可能性は低いです。

+0

でも使用されているのSet-ItemProperty:パラメータの引数がありません'名'。 'System.String'型のパラメータを指定して、やり直してください。ラインで :1つの文字:91 + ... RNET設定」-name + ~~~~~ + CategoryInfo:InvalidArgument:(:)、ParameterBindingException + FullyQualifiedErrorId [-ItemProperty設定]:MissingArgument、のMicrosoft.PowerShell .Commands.SetItemPropertyCommand – Toolkit

5

Powershellをインストールしない場合は、REG.exeというコマンドを使用することもできます。

ので、その場合には、あなたのバッチスクリプトを追加する必要がありますについては

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 

を、プロキシInternet Explorerの設定は、Google Chromeの

関連する問題