.      How to articles       Windows Services       Group Policy             Donate        
Computer step by step

Timeout for inactive BITS jobs


This policy setting specifies the number of days a pending BITS job can remain inactive before the job is considered abandoned. By default BITS will wait 90 days
before considering an inactive job abandoned. After a job is determined to be abandoned, the job is deleted from BITS and any downloaded files for the job are
deleted from the disk.

Note: Any property changes to the job or any successful download action will reset this timeout.

Consider increasing the timeout value if computers tend to stay offline for a long period of time and still have pending jobs.

Consider decreasing this value if you are concerned about orphaned jobs occupying disk space.

If you enable this policy setting, you can configure the inactive job timeout to specified number of days.

If you disable or do not configure this policy setting, the default value of 90 (days) will be used for the inactive job timeout.

Supported on:

Windows XP or Windows Server 2003, or computers with BITS 1.5 installed.

GPO PowerShell Regedit CMD

We can use Command Prompt to add or delete the registry key(s):

For Enabled, Add the registry key:

REG add "HKLM\Software\Policies\Microsoft\Windows\BITS" /v JobInactivityTimeout /t REG_DWORD /d 90 /f

For Disabled, Delete the registry key:

REG DELETE "HKLM\Software\Policies\Microsoft\Windows\BITS" /v JobInactivityTimeout /f

For Not Configured, Delete the registry key:

REG DELETE "HKLM\Software\Policies\Microsoft\Windows\BITS" /v JobInactivityTimeout /f