Scenario:
BatchPatch ‘cached mode’ is enabled. You execute “Download and install updates” (or similar action). The updates are downloaded to the BatchPatch local cache successfully, and then they are copied to the target computer. However, during the installation process on the target computer BatchPatch reports “There are no applicable updates.”
Upon inspection of the BatchPatch.log file you see the following error appear one or more times:
Copy To Cache: Failed. HRESULT: -2145099774
-2145099774 or 0x80246002 translates to
WU_E_DM_INCORRECTFILEHASH The file digest did not match the expected value
The issue here is that the file that BatchPatch downloaded to its local cache, which it is now trying to copy into the Windows Update cache on the target computer, is corrupt or has been modified.
We have seen this occur only one time for a single customer. In his case it turned out that the corporate web proxy in his environment was the culprit. It was somehow modifying the files or causing them to become corrupt during the download process. As soon as he had BatchPatch bypass the proxy during file download operations, the problem disappeared.