Windows Update and WSUS error 80244019

Some colleagues had recently performed a migration from an old Windows Server 2003 WSUS server to a new Server 2012 R2 one. I had just upgraded a new tablet from Windows 8.1 Professional to Enterprise, and was trying to update it as the update process doe not retain updates applied to the original OS. Group policy was telling the tablet to talk to my WSUS server (the one that had just been migrated). Windows Update on the tablet was finding updates, but getting an error 80244019 when trying to downlad them. Searching against Windows Update on the internet both found and was able to download updates.

I had a look in the Windows Update log file (C:\Windows\WindowsUpdate.log) and found some of the following:

2014-10-28	13:13:36:140	 368	1558	DnldMgr	***********  DnldMgr: New download job [UpdateId = {7F8FDE4D-B17B-4093-915E-A807DA18A2DE}.204]  ***********
2014-10-28	13:13:36:140	 368	1558	DnldMgr	WARNING: CheckIfDirExists returned error 0x80070002.
2014-10-28	13:13:36:140	 368	1558	DnldMgr	  * Queueing update for download handler request generation.
2014-10-28	13:13:36:140	 368	1558	DnldMgr	Generating download request for update {7F8FDE4D-B17B-4093-915E-A807DA18A2DE}.204
2014-10-28	13:13:36:140	 368	1558	IdleTmr	WU operation (GenerateAllDownloadRequests) started; operation # 635; does not use network; is at background priority
2014-10-28	13:13:36:140	 368	18ec	IdleTmr	Decremented idle timer priority operation counter to 2
2014-10-28	13:13:36:156	 368	1558	Handler	Generating request for CBS update 7F8FDE4D-B17B-4093-915E-A807DA18A2DE in sandbox C:\WINDOWS\SoftwareDistribution\Download\5cbfe1eec732bb919f7239386a1b893b
2014-10-28	13:13:36:156	 368	1558	Handler	Selected payload type is ptExpress
2014-10-28	13:13:36:156	 368	1558	Handler	Detected download state is dsStart
2014-10-28	13:13:36:156	 368	1558	Handler	Adding windows8.1-kb2975719-x64-express.cab (entire file) to request list.
2014-10-28	13:13:36:156	 368	1558	Handler	Request generation for CBS update complete with hr=0x0 and pfResetSandbox=0 
2014-10-28	13:13:36:156	 368	1558	IdleTmr	WU operation (GenerateAllDownloadRequests, operation # 635) stopped; does not use network; is at background priority
2014-10-28	13:13:36:156	 368	1558	DnldMgr	***********  DnldMgr: New download job [UpdateId = {7F8FDE4D-B17B-4093-915E-A807DA18A2DE}.204]  ***********
2014-10-28	13:13:36:156	 368	1558	DnldMgr	WARNING: CheckIfDirExists returned error 0x80070002.
2014-10-28	13:13:36:156	 368	1558	DnldMgr	  * BITS job initialized, JobId = {EC94DB72-43C2-4A3D-9972-62715BD76BBF}
2014-10-28	13:13:36:156	 368	1558	DnldMgr	  * Downloading from http://wsus.rcmtech.co.uk/Content/08/40D35A609AE17FA88A39A1E98420A646FE750A08.cab to C:\WINDOWS\SoftwareDistribution\Download\5cbfe1eec732bb919f7239386a1b893b\windows8.1-kb2975719-x64-express.cab (full file).
2014-10-28	13:13:36:171	 368	1558	IdleTmr	WU operation (DownloadManagerDownloadJob) started; operation # 637; does use network; is not at background priority; will NOT stop idle timer
2014-10-28	13:13:36:171	 368	1558	IdleTmr	Incremented idle timer priority operation counter to 3
2014-10-28	13:13:36:171	 368	1558	DnldMgr	*********
2014-10-28	13:13:36:171	 368	1558	DnldMgr	**  END  **  DnldMgr: Begin Downloading Updates [CallerId = AutomaticUpdatesWuApp]
2014-10-28	13:13:36:171	 368	1558	DnldMgr	*************
2014-10-28	13:13:36:171	 368	18ec	AU	AU checked download status and it changed: Downloading is paused
2014-10-28	13:13:36:171	 368	148c	DnldMgr	WARNING: BITS job {EC94DB72-43C2-4A3D-9972-62715BD76BBF} failed, updateId = {7F8FDE4D-B17B-4093-915E-A807DA18A2DE}.204, hr = 0x80190194, BG_ERROR_CONTEXT = 5
2014-10-28	13:13:36:171	 368	148c	DnldMgr	  Progress failure bytes total = 177805422, bytes transferred = 0
2014-10-28	13:13:36:171	 368	148c	DnldMgr	  Failed job file: URL = http://wsus.rcmtech.co.uk/Content/08/40D35A609AE17FA88A39A1E98420A646FE750A08.cab, local path = C:\WINDOWS\SoftwareDistribution\Download\5cbfe1eec732bb919f7239386a1b893b\windows8.1-kb2975719-x64-express.cab
2014-10-28	13:13:36:171	 368	148c	DnldMgr	CUpdateDownloadJob::GetNetworkCostSwitch() Neither unrestricted or restricted network cost used, so using current cost
2014-10-28	13:13:36:187	 368	148c	IdleTmr	WU operation (DownloadManagerDownloadJob, operation # 637) stopped; does use network; is not at background priority; will NOT start idle timer (task did not previously stop it
2014-10-28	13:13:36:187	 368	148c	IdleTmr	Decremented idle timer priority operation counter to 2
2014-10-28	13:13:36:187	 368	148c	DnldMgr	Error 0x80244019 occurred while downloading update; notifying dependent calls.

and also several of these:

2014-10-28	13:12:10:040	 368	1294	Misc	WARNING: WinHttp: SendRequestToServerForFileInformation failed with 0x80190194
2014-10-28	13:12:10:040	 368	1294	Misc	WARNING: WinHttp: ShouldFileBeDownloaded failed with 0x80190194
2014-10-28	13:12:10:040	 368	1294	Agent	WARNING: Fail to download eula file http://wsus.rcmtech.co.uk/Content/78/5FB2FB1198FAF0871AF09DAE0EF815C92642FD78.txt with error 0x80244019
2014-10-28	13:12:10:040	 368	1294	Misc	WARNING: WinHttp: SendRequestToServerForFileInformation failed with 0x80190194
2014-10-28	13:12:10:040	 368	1294	Misc	WARNING: WinHttp: ShouldFileBeDownloaded failed with 0x80190194
2014-10-28	13:12:10:040	 368	1294	Agent	WARNING: Fail to download eula file http://wsus.rcmtech.co.uk/Content/78/5FB2FB1198FAF0871AF09DAE0EF815C92642FD78.txt with error 0x80244019

I tried to retrieve one of the EULA text files referenced via Internet Explorer and got a 404 page not found error.

So then I did a bit of digging and came across this thread, where the guy fixed the problem by moving the location of his (misconfigured) WsusContent folder.

I checked out my new WSUS server and sure enough found a WsusContent folder within a WsusContent folder on the drive that had been specified during the WSUS migration/configuration.

D:\WsusContent had about 240GB of data in it, whereas D:\WsusContent\WsusContent only had about 1.6GB of data. D:\WsusData did include the EULA text file that I’d seen referenced in the log, and had received a 404 for via IE.

I didn’t like the idea copying the 240GB of data into the nested WsusContent folder, so thought I’d try fixing the problem by reconfiguring WSUS instead. It was actually fairly easy:

Change the following two registry values:

  1. HKLM\Software\Microsoft\Update Services\Server\Setup\ContentDir
    Change the REG_EXPAND_SZ to D:\ and restart the WsusService service. (note that this step may not be necessary due to the naming of the registry ke, i.e. “Setup”, but I’m doing it anyway to be tidy.
  2. HKLM\System\CurrentControlSet\Services\LanmanServer\Shares\WsusContent
    Change the REG_MULTI_SZ from D:\wsuscontent\WsusContent to D:\WsusContent and restart the lanmanserver service.

Next, in IIS Manager, expand <Servername>, Sites, Default Web Site, right-click Content, Manage virtual directory, Advanced Settings and change Physical Path to D:\WsusContent\ – I did an iisreset after this, but that may not be necessary.

Finally, I moved the contents of the erroneous D:\WsusContent\WsusContent folder into D:\WsusContent.

After those steps were completed, the text file was avaible via IE and my tablet is now happily updating itself from the WSUS server.

Incidentally, I like keeping the WsusContent folder on a separate drive as a) it can get quite big and I don’t want to risk my C: drive filling up, and b) it means I can use Windows Data Deduplication on it, where I’m currently getting about a 43% space reduction.

 

 

This entry was posted in Windows and tagged , , , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s