Friday, September 08, 2006 9:33 AM
I recentlty installed Vista build 5536 from my MSDN subscription. My corporate network has an ISA server used as proxyserver.
When I connect to the Internet with Internet Explorer with the correct settings for the ISA Server under Tools/Internet Options/Connections/LAN Settings/Proxy Server, I can connect successfully to any site.
When I use Windows Update from Internet Explorer, I see a notification that there are updates available, but I cannot get these updates downloaded to my PC.
Looking at %windir%\Windowsupdate.log, I see the following error:
Warning: SendRequest failed with hr = 80072efd. Proxy List used : <(null)> Bypass List used : <(null)> Auth Schemes used : <>
Windows Update does not (of course) use the proxy settings from the currently logged on user, but should use a system-wide proxyserver setting. With Windows XP I resolved this issue by using the command-line tool Proxycfg.exe -p 10.10.10.10:8080,10.* to use that specified proxyserver address and tcp-port, and including a bypass list for local addresses.
In Vista I cannot find this tool, nor can I find a GUI equivalent of it.
Is there any way to specify to theWindows Update service to use a proxyserver?
Thanx in advance for any suggestions and help
Friday, September 08, 2006 7:29 PM
I am unable to find a workaround in any database, I would try installing RC1, and if the problem still persists submit it as a bug because many people will be working under an isa proxy and they will need to download updates.
Wednesday, September 13, 2006 5:59 AM
Thanks for your response. I will install RC1 asap.
Friday, September 15, 2006 7:30 AMHi there
I'm testing currently the RC1 of Windows Vista. Here at my Site the Windowsupdate won't work trough a Proxy.
Are there new workarounds since the last time?
Friday, September 15, 2006 3:14 PMI ran into the same problem. Instead of proxycfg.exe you will have to use netsh.exe instead. Go then to the winhttp section and set the proxy from there. Restart the Windows Update service and delete the c:\WINDOWS|SoftwareDistribution folder.
For a few more details, please check my blog.
- Marked As Answer by Arnold H Tuesday, November 23, 2010 7:32 AM
Tuesday, September 19, 2006 8:10 AM
I tested this yesterday(netsh, then winhttp then set proxy) and it didn't run ok, so I thought a long while and let it back until today when I read the help logs: I tried this and it worked at least :
open a command prompt with "admin rights" (right click on "command prompt" in "accessories", then choose "run as adminstrator") then type in "netsh" then "winhttp" then "import": this will "import" (copy) your internet explorer proxy settings...
it's ok for me: windows update now asks for id and password and then downloads update...
- Proposed As Answer by Craig Humphrey Friday, June 26, 2009 3:40 AM
Wednesday, November 15, 2006 12:33 PMinternet explorer doesn't connect to the internet coupled with some other software in vista rc1 and if you now import the proxy settings of internet explorer it(windows update) still wont work because the settings for ie isnt working in the first place.
u want to make ur ie connect to the internet first.
then import the proxy settings using command prompt.
Friday, June 26, 2009 3:43 AM> open a command prompt with "admin rights" (right click on "command prompt" in
> "accessories", then choose "run as adminstrator") then type in "netsh" then "winhttp"
> then "import": this will "import" (copy) your internet explorer proxy settings...
The thing to watch for is that because the cmd shell is being run as administrator, it will pick up the administrator's IE proxy settings. Or at least it should, though in my experience today with Vista SP2, it picked up <direct> which was wrong.
But by using (as administrator) netsh winhttp set proxy MYPROXYSERVER;PORT "MYEXCLUSIONLIST"
things worked a treat.
Hopefully the forum moderator updates which answer is correct.
- Proposed As Answer by Craig Humphrey Monday, February 22, 2010 9:37 PM
Saturday, June 16, 2012 10:53 AM
Question: How to updae windows (Windows7) if you are using Proxy with login ID and password?
Press 'windows' key and type 'command' in search box
Right click and select 'Run as administrator'
use the commands mentioned in the image below
Provide the network proxy
When you will click on 'check for updates' you will be asked for login ID and password
Now you are done
This worked perfectly for my Windows7 home basic
Note: I did not test yet how to get the original settings back if you want to use internet/windows update without proxy. May be the udate work normaly but I do not know at the moment.
About the copyright: I am only summarizing the information I got from various internet sites including Microsoft. I do not claim anything on the idea and technology etc. THis is to help only the microsoft product user.
- Edited by uttam_bhu Saturday, June 16, 2012 10:57 AM Update
Sunday, September 30, 2012 10:27 PM
you can also use another command,
netsh winhttp>import proxy source=ie
It will import all proxy settings from IE ;-)
Branislav Pastorek SEAL IT services