Event ID 16402 — Jobs

Applies To: Windows Server 2008

A BITS job represents one application’s request to transfer a set of files from a server or to a server. A job contains one or more files to transfer, and properties that specify how BITS transfers the files and interacts with an application (such as the priority of the job, the number of files allowed, and the network credentials used to authenticate to a server).

Event Details

Product: Windows Operating System
ID: 16402
Source: Microsoft-Windows-Bits-Client
Version: 7.0
Symbolic Name: EVT_EXCEEDED_RANGELIMIT_PER_FILE
Message: BITS could not add ranges to %1 file. The range count for %1 file (%2) has exceeded the per-file range limit (%3) specified through Group Policy. To correct the problem, increase the per-file range limit Group Policy setting and restart the BITS service.

Resolve

Modify the range limit Group Policy setting

To resolve this issue, do the following:

  • Modify the Maximum number of ranges that can be added to the file in a BITS job Group Policy setting to increase the value for the maximum ranges per file that a BITS jobs can contain. By default, files in a BITS job are limited to 500 ranges per file.
  • Ensure that the update to Group Policy is applied.

Modify the "Maximum number of ranges that can be added to the file in a BITS job" Group Policy setting

To change Group Policy settings for a domain or an organizational unit (OU), you must be logged on as a member of the Domain Admins, Enterprise Admins, or the Group Policy Creator Owners group, or have been delegated the appropriate control over Group Policy.

To modify the Maximum number of ranges that can be added to the file in a BITS job Group Policy setting:

  1. Do one of the following:
    • To edit a domain-based policy, start the GPMC. To start the GPMC, click Start, point to Administrative Tools, and then click Group Policy Management.
    • To edit a local policy, start Local Group Policy Editor. To start Local Group Policy Editor, click Start, and in the Start Search box, type gpedit.msc. In the left pane, under Computer Configuration, expand Administrative Templates, expand Network, and then click Background Intelligent Transfer Service (BITS). Then skip to step 5.
  2. In the left pane, locate the OU that you want to edit.
  3. To modify an existing Group Policy object (GPO) for the OU, expand the OU, expand Group Policy Objects, right-click the GPO, and then click Edit.
  4. In the left pane, under Computer Configuration, expand Policies, expand Administrative Templates, expand Network, and then click Background Intelligent Transfer Service (BITS).
  5. In the right pane, double-click Maximum number of ranges that can be added to the file in a BITS job.
  6. On the Settings tab, in Maximum number of ranges that can be added to the file in a BITS job, increase the value as appropriate for your environment.
  7. Click OK.
  8. Close the GPMC.

Ensure that the update to Group Policy is applied

To perform this procedure, you must have membership in the local Administrators group, or you must have been delegated the appropriate authority.

To ensure that the update to Group Policy is applied:

  1. Open an elevated command prompt. To open an elevated command prompt, click Start, right-click Command Prompt, and then click Run as Administrator.
  2. Type gpupdate /force, and then press ENTER.

After you ensure that the update to Group Policy is applied, retry the BITS job, and then verify that there are no errors in the event logs.

For more information about configuring Group Policy settings by using the GPMC, see the GPMC Help in the Windows Server 2008 Technical Library (https://go.microsoft.com/fwlink/?LinkId=101634).

Verify

To view jobs in the job queue:

  • From an elevated command prompt, type bitsadmin /list /allusers

Jobs

BITS Infrastructure