Archive

Posts Tagged ‘BITS’

BITS and SCCM Software Updates

2010-Apr-21 1 comment

Recently I had an SCCM client with several errors related to WSUS 6703 saying something to the effect of “License agreement not ready” or “Failed to sync some of the updates”. After making sure that the WSUS server was set to save the update files locally and the various folders has the correct permissions, I started looking into some of the other log files.

Now I should segway for a moment here and suggest, strongly, that you use the Trace32 utility which is part of the System Center Configuration Manager 2007 Toolkit. It will add years to your life. Honest.

Looking at C:\Program Files\Update Services\LogFiles\SoftwareDistribution.log I saw errors like this:
Content file download failed. Reason: The server does not support the necessary HTTP protocol. Background Intelligent Transfer Service (BITS) requires that the server support the Range protocol header.

Here’s a good KB article on that topic.

I wanted to test this outside the context of SCCM, so I dug around a bit until I discovered BITSAdmin.exe. This awesome app is baked right into Vista, Windows 7 and Windows Server 2008 so there nothing to install, just run it. And it’s easy too:

> BITSAdmin /TRANSFER test http://somesite.com/path/to/file.exe d:\download\file.exe

When it’s working it looks like this:

When it’s not, you might see something like this:

In the end, the fix was to modify the client’s Fortigate firewall and re-run the Update Sync (twice) and then then errors were gone.

Advertisements