How to setup automatic proxy configuration via pac file windows server core r2

28,735

You can simply export registry based on this article:

http://support.microsoft.com/kb/819961/EN-US

Here is simple script

REGEDIT /e c:\proxysetup.reg "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings"

After that you may remove rest of file content after section

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]

Share:
28,735

Related videos on Youtube

Vonn
Author by

Vonn

I spend most of my day helping clients solve business problems mostly in the Data and Advanced Analytics spaces. Sometimes this involves various and sundry cloud technologies including Azure Data Factory, Azure SQL Data Warehouse, Azure Data Lake Store, Azure Databricks, HDInsight and Azure SQL Database. I'm fluent in several languages including: SQL, C#, Python, and PowerShell. I'm a Microsoft Certified Master of SQL Server (MCM) and have been recognized for my technical excellence and evangelism efforts by Microsoft by being awarded the Most Valuable Professional (MVP) for the last 5+ years. In my off hours I like to snowboard, karaoke, ride roller coasters and play arcade games My primary area's of expertise are: Azure Data Platform SQl Server Integration Services (SSIS) SQL Server Analysis Services (SSAS) SQL Server Reporting Services (SSRS) Data Warehousing TSQL PowerShell

Updated on September 17, 2022

Comments

  • Vonn
    Vonn almost 2 years

    I'm looking for the syntax to setup windows server core R2 to take its proxy configuration from a script(.pac file)

    for example in my LAN settings dialog:

    Automatic configuration
    use automatic configuration script(checked) address http://foo.bar/proxy.pac (text box)

    any thoughts on how I can set this netsh doesn't appear to support this unless I'm missing something.

    • fission
      fission over 14 years
      I noodled around with this for a bit, but I can't see a way, either. I tried to set it in IE (on a non-SC box) and then ran "netsh winhttp import proxy ie" but it had no effect.
  • Greg Bray
    Greg Bray over 11 years
    This only works to import settings from IE to the system services proxy used by services like windows update. It will not work for setting the proxy used by Internet Explorer.