BatchPatch Forums Home › Forums › BatchPatch Support Forum › Copy To Cache: Failed. HRESULT: -2146467818 – Offline Cached Windows 11 Updates
- This topic has 3 replies, 2 voices, and was last updated 1 week, 1 day ago by doug.
-
AuthorPosts
-
December 4, 2024 at 2:06 pm #14321dougModerator
The most recent version of BatchPatch is able to patch Windows 11 in offline mode without issues. We have not ever encountered the particular HRESULT value that you’re seeing (-2146467818), and I’m not quite sure what that HRESULT value means. That said, typically when there is an issue with CopyToCache it’s caused by not all of the required files being available in the cache. The offline mode procedure requires that you scan for updates on the target offline computer with Actions > Windows updates > Retrieve consolidated URL list of available updates. Then save that list and move it to a BatchPatch instance that has internet access. Use BatchPatch to download the 16 files that appear in that URL list. Then transfer those 16 files to the offline network in the BatchPatch cache folder, and then use Actions > Download and install updates
It seems to me like you probably did not follow the above process in one way or another. It seems like maybe your cache file was not populated with all of the correct/needed files for the operation to complete. I can’t say for sure.
You said that you manually installed two .MSU files. That’s fine. However, for reasons that are not clear to me, it does not look like you installed the November 2024 cumulative update even though you installed the two files that Microsoft had posted on the catalog for that KB number. My guess is that this might be part of an issue that Microsoft apparently had in November where they cataloged the updates incorrectly. I thought it had been all resolved, but maybe there is still something lingering that it’s incorrect on their end. I’m not sure.
It looks like the .MSU you installed is the SSU (servicing stack update), which is why BatchPatch is still telling you that the cumulative update is not installed. I would suggest you go back and follow the tutorial for scenario 4 at this link to get the remaining update installed: https://batchpatch.com/cached-mode-and-offline-updates
Alternatively, maybe try installing this update directly from the Microsoft Catalog: 2024-11 Cumulative Update for Windows 11 Version 24H2 for x64-based Systems (KB5046740)
December 4, 2024 at 2:30 pm #14322PhilTaylorParticipantHi Doug.
I have been following the offline update process and it has worked flawlessly since we install BatchPatch, we installed it specifically for our AirGapped enviroment.
Process I follow is this and ill write it from memory so you can point out any errors:
1: Download Windows cat file on an internet connect machine from:
https://learn.microsoft.com/en-gb/windows/win32/wua_sdk/using-wua-to-scan-for-updates-offline?redirectedfrom=MSDN&tabs=vbscript2: Take catalog file and place on airgapped server where batchpatch is installed
3: Retrieve consolidated URL list of available updates and save out url file
4: Take URL file to internet machine and load into batchpatch
5: Download all files listed within URL file
6: Take downloaded content from URL list back into air gapped network and place in the folder designated for offline updates
7: Download and install updates
At which point batchpatch goes through its process of copying the update files to the target machine, this works fine as they appear in the working directory on the target machine and then in the past on windows 10 they just install and have done without issue for years.
Since upgrading to Windows 11 the files copy to the target but then fail with the above logs. I think after they copy to the batchpatch working directory they are then support to copy to windows distribution folder, that part never happens. I have never had to install such a long list of updates, to be honest when it was windows 10 I dont remember really ever having to perform such a large list, it was only ever 1 or 2. Cumulative updates and servicing stack updates have come in one file, not this long list.
Maybe youre right and windows did have some issue in november, maybe December update will resolve all of this and it was just a coincidence.
I am going to take another look at it tomorrow and maybe ill dump out some screenshots to assist.
April 17, 2025 at 12:13 am #14353dougModeratorInitially when this forum thread was started the issue only occurred on Windows 11 Enterprise. However, it’s now an issue with standard versions of Windows 11 too.
For anyone who comes across this forum thread, we’ve posted the details and workaround here: Windows 11 Monthly Cumulative Update Fails to Install in Offline Mode: Copy To Cache: Failed. HRESULT: -2145095681 or HRESULT: -2146467818
-
AuthorPosts
- You must be logged in to reply to this topic.