Skip to content
The Chat Archive
stablelm-tuned-alpha-7b Arena Human Preference 55K

write a powershell script to set the proxy pac file for internet options connections lan…

  1. User

    write a powershell script to set the proxy pac file for internet options connections lan settings use automatic configuration script

  2. Assistant

    You can use the following PowerShell script to set the proxy PAC file for Internet Options connections Lan settings:

    $proxyPAC = (Get-Item 'C:\ProgramData\Microsoft\Windows\INetDll\PACFiles\*.pac').pac
    Set-ItemProperty -Path $proxyPAC.pac -Name lanSettings -Value "Automatic"
    Set-ItemProperty -Path $proxyPAC.pac -Name httpVersion -Value "2"
    Set-ItemProperty -Path $proxyPAC.pac -Name httpLbVer -Value "1"
    Set-ItemProperty -Path $proxyPAC.pac -Name httpLcVer -Value "1"
    Set-ItemProperty -Path $proxyPAC.pac -Name httpLdVer -Value "1"
    Set-ItemProperty -Path $proxyPAC.pac -Name httpRespTimeout -Value "60"
    Set-ItemProperty -Path $proxyPAC.pac -Name httpLfVer -Value "1"
    Set-ItemProperty -Path $proxyPAC.pac -Name httpLgVer -Value "1"
    Set-ItemProperty -Path $proxyPAC.pac -Name httpLhVer -Value "1"
    Set-ItemProperty -Path $proxyPAC.pac -Name httpLkVer -Value "1"
    Set-ItemProperty -Path $proxyPAC.pac -Name tcpKeepAlive -Value "true"
    Set-ItemProperty -Path $proxyPAC.pac -Name tcpKeepClosed -Value "true"
    Set-ItemProperty -Path $proxyPAC.pac -Name tcpKeepDrain -Value "true"
    Set-ItemProperty -Path $proxyPAC.pac -Name tcpKeepOpen -Value "true"
    Set-ItemProperty -Path $proxyPAC.pac -Name tcpKeepSent -Value "true"
    Set-ItemProperty -Path $proxyPAC.pac -Name tcpKeepRejected -Value "true"
    Set-ItemProperty -Path $proxyPAC.pac -Name tcpKeepBandwidth -Value "10M"
    Set-ItemProperty -Path $proxyPAC.pac -Name tcpKeepBps -Value "100M"
    Set-ItemProperty -Path $proxyPAC.pac -Name tcpKeepBurst -Value "100M"
    Set-
    

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.