Event ID 307 — Job Database Integrity
Applies To: Windows Server 2008
BITS stores the job database on disk. BITS reads the database during service startup and writes updates to disk periodically. If the database is corrupted, BITS will discard it and create an empty one.
Event Details
Product: | Windows Operating System |
ID: | 307 |
Source: | Microsoft-Windows-Bits-Client |
Version: | 7.0 |
Symbolic Name: | EVT_WRITE_STATEFILE |
Message: | It took %1 seconds to write a change file to the BITS job list. If the time required is excessive, the number of BITS jobs may be larger than this machine can handle quickly. |
Resolve
Modify the Maximum number of BITS jobs for the computer Group Policy setting
To resolve this issue, do the following:
- Modify the Maximum number of BITS jobs for this computer Group Policy setting to allow fewer jobs on the computer.
- Ensure that the update to Group Policy is applied.
Modify the "Maximum number of BITS jobs for this computer" Group Policy setting to allow fewer jobs on the computer
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 BITS jobs for this computer Group Policy setting to allow fewer jobs on the computer:
- 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). Skip to step 5.
- In the left pane, locate the OU that you want to edit.
- 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.
- In the left pane, under Computer Configuration, expand Policies, expand Administrative Templates, expand Network, and then click Background Intelligent Transfer Service (BITS).
- In the right pane, double-click Maximum number of BITS job for this computer.
- On the Settings tab, in Maximum number of BITS jobs for this computer, reduce the value as needed.
- Click OK.
- 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:
- Open an elevated command prompt. To open an elevated command prompt, click Start, right-click Command Prompt, and then click Run as Administrator.
- 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
- From an elevated command prompt, type bitsadmin /list /allusers
- Ensure that the command completes successfully.
- Additionally, verify that qmgr0.dat and qmgr1.dat exist in the %allusersprofile%\Microsoft\Network\Downloader folder.