IT Consultant Everyday Notes

Just some problems/solutions storage

Category Archives: Proxy

SCCM 2012: Software Update Download failed with ERROR: There was an error downloading the software update. (12029)

Issue: I tried to download updates creating a new Software Update Package using a remote SCCM console. SCCM created a folder for the first update under the Package Source folder, but could not download content – failed with ERROR: There was an error downloading the software update. (12029)

Resolution: I checked PatchDownloader.log located in %UserProfile%\AppData\Local\Temp\3 folder and found the error saying the content cannot be downloaded from Microsoft Update site.

There is a proxy in the environment. I set proxy settings in IE and content was downloaded successfully.

Note: There is a Proxy Settings in properties of Software Update Point in SCCM. Do not forget to set it up if there is no direct connection to Microsoft Update sites from your SCCM SUP. This settings affects SUP/Microsoft synchronization process only!

To download Software Update Content you have to have proxy configured in IE on the machine you use to run the SCCM console. At least that solve the issue for me.

Advertisements

Windows 7: Internet Connection detection

Problem: If you use a proxy to connect to Internet you may see an annoying exclamation point on your Network connection icon in Task bar.

Basically it says you do not have Internet connection. 

The matter in fact Windows 7 tries to

1. Resolve FQDN of www.msftncsi.com. It should be resolved into 131.107.255.255

2. sends HTTP request to get a plain text file at URL: http://www.msftncsi.com/ncsi.txt

This technique is called Network Connectivity Status Indicator(NCSI) service and was introduced in Vista. It is described here.

Wireshark shows that NCSI goes directly to MS site (bypassing proxy) even though proxy is properly set in Internet Explorer.

Resolution: Kyle pointed to an NETSH command to force NCSI use proxy:

netsh winhttp set proxy <your_proxy:port>

you can verify settings using

netsh winhttp show proxy

After that on Wireshark trace you see traffic from NCSI goes to proxy and preperly replied. Indication in task bar is ok.