Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 (text box)

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

share|improve this question
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. – fission Feb 27 '10 at 10:04

You can simply export registry based on this article:

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|improve this answer

netsh winhttp

I'd use netsh winhttp import proxy - this should import from IE and take a PAC hopefully.

share|improve this answer
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. – Greg Bray Sep 27 '12 at 18:39

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.