Occasionally the BITS queue will have jobs that are in a Transient Error state. This will prevent new jobs from being downloaded and cause Managed Workplace 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, follow these steps
1. Open Notepad and paste the following.
net stop BITS
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, PowerShell -command “Get-BITSTransfer -Allusers