Skip to main content
Barracuda MSP Partner Toolkit

How to Clear BITS queue with jobs in a Transient Error state

How to Clear BITS Queue with jobs in a Transient Error State

Occasionally the BITS queue will have jobs that are in a Transient Error state. This will prevent new jobs from being downloaded and cause MW patch management to not function.

To delete the BITS queue, follow these steps

1.       Open Notepad and paste the following.

@echo off

net stop BITS

ipconfig /flushdns

ren "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr0.dat" qmgr0.dat.old

ren "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr1.dat" qmgr1.dat.old

net start BITS

2.       Save the file as a .bat

3.       Open Command prompt as an administrator

4.       Execute the batch file that was just created either by entering the full patch and file name or dragging and dropping the batch file into the command prompt window.

5.       Verify that the BITS queue is now empty by running, powersehll -command “Get-BITSTransfer -Allusers

  • Was this article helpful?