-102: Failed to execute the search. HRESULT: -2145107921

BatchPatch Forums Home Forums BatchPatch Support Forum -102: Failed to execute the search. HRESULT: -2145107921

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #8889
    doug
    Moderator

    Today when I executed ‘Check for available updates’ with server selection set to ‘Windows Update’ I received the following error on my Windows 10 v1607 machine:

    -102: Failed to execute the search. HRESULT: -2145107921

    This error is equivalent to:

    0x8024402F -2145107921WU_E_PT_ECP_SUCCEEDED_WITH_ERRORS

    I have never seen this error before today, and things were working fine two days ago with the exact same settings. The only thing that I did between two days ago and today was install the ‘Meltdown’ patch that Microsoft published on Jan 3 2018 KB4056890.

    My computer is opted-in to ‘Microsoft Update’ and if I switch the server selection radio button to ‘Microsoft Update’ the check for updates works fine, but as soon as I switch back to ‘Windows Update’ the check fails again with the error above.

    #10253
    doug
    Moderator

    I ended up resolving this error by opting-out of Microsoft Update and then opting-in once again. I used ‘Actions > Windows Update > Opt-out’ followed by ‘Actions > Windows Update > Opt-in’. Now things work properly regardless of whether the server selection is set to ‘Windows Update’ or ‘Microsoft Update’. I have no idea why this fixed the problem or why the problem was happening in the first place, but I’m posting it here now in case anyone else runs into a similar issue.

    EDIT/UPDATE 2021 – We have had a few reports of this issue over the past few years, and the above suggestion worked in each case.

    #10046
    tkoch
    Participant

    Thank you for this post. I had that exact error and your solution of opt-out/opt-in worked for me too.

    Thanks again.

    #11944
    doug
    Moderator

    For all other -102 HRESULT values, please see batchpatch-error-102-failed-to-execute-the-search-hresult-xxxxxxxxxx

    #12086
    doug
    Moderator

    This below link has another possible resolution for this error: -102: Failed to execute the search. HRESULT: -2145107921

    https://serverfault.com/questions/741083/unable-to-update-windows-server-2012

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.