Occasionally the BITS queue will have jobs that are in a Transient Error state. This will prevent new jobs from being downloaded and cause Barracuda RMM Patch Management to not function. First, verify this by following the guide on Using the WSUS Diagnostic Tool as it will inform you if BITS is stuck or not.
To delete the BITS queue
- 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 - Save the file as a .bat.
- Open Command prompt as an administrator.
- 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.
- Verify that the BITS queue is now empty by running, PowerShell
-command “Get-BITSTransfer -Allusers