• Welcome to Support Forum: Get Support for Patch My PC Products and Services.
 

Download Error 0x80070191 - The Thread is not in Background Processs

Started by Justin Chalfant (Patch My PC), November 18, 2018, 03:23:09 PM

Previous topic - Next topic

Justin Chalfant (Patch My PC)

SCCM Update Download Error 0x80070191 - The Thread is not in Background Processing Mode



We have been seeing some instances where third-party software updates will fail to download into a deployment package when WSUS is configured to use a UNC share for the WSUS Content folder.

More Details About this Issue


When attempting to download a third-party update from the Configuration Manager console, you receive the following message in the console "Error: The thread is not in background processing mode."

SCCM Download Failed The thread is not in background processing mode. 0x80070191

If you open the PatchDownloader.log in the %temp% folder, you can also find the following errors.

HttpSendRequest failed HTTP_STATUS_FORBIDDEN or HTTP_STATUS_DENIEDERROR: DownloadContentFiles() failed with hr=0x80070191

This error happens because the WSUSPool:NetworkService used in IIS can't authenticate to remote UNC shares.

This is most commonly the case when you are using a network share for the UNC path or have multiple software update points using a shared SUSDB, but the shared context folder and the permissions haven't been configured properly.

How to Fix this Issue



The video guide below goes into more details about why the downloads fail with error 0x80070191 and the possible resolutions.

Please start at 20:18



Resources



IIS LoginMethodhttps://docs.microsoft.com/en-us/iis/configuration/system.applicationhost/sites/site/application/virtualdirectory#configuration

IIS 401.3 Error Codehttps://support.microsoft.com/en-us/help/943891/the-http-status-code-in-iis-7-0-iis-7-5-and-iis-8-0

Managing WSUS from the Command Line - https://docs.microsoft.com/de-de/security-updates/windowsupdateservices/18127395