BatchPatch reports -102 any time the Windows Update agent tells it that it is not able to reach the target machine’s configured update server. The -2147023838 error is the actual error code that Windows Update passes to BatchPatch as the reason. That said, if you were to go onto one of these computers and try to use Windows Update at the GUI, it would give you the same error. It’s not a BatchPatch problem per se.
Typical reasons that you might see -102 are because the target machine is having a network problem or lost internet access. In the case of WSUS it can be related to a port problem (wrong port configured for accessing WSUS) or the WSUS server not accepting connections or being down/offline altogether.
For the -2147023838 HRESULT, the only time we have seen this occur is when the Windows Update service on the target machine is stopped/disabled. Please take a look at the services.msc console and make sure it is set to automatic and started.
-Doug