BatchPatch Forums Home › Forums › BatchPatch Support Forum › -102: Failed to execute the search. HRESULT: -2145107921
- This topic has 4 replies, 2 voices, and was last updated 6 years ago by doug.
-
AuthorPosts
-
January 10, 2018 at 3:36 am #8889dougModerator
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: -2145107921This error is equivalent to:
0x8024402F -2145107921WU_E_PT_ECP_SUCCEEDED_WITH_ERRORSI 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.
January 10, 2018 at 3:37 am #10253dougModeratorI 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.
September 19, 2018 at 8:10 pm #10046tkochParticipantThank you for this post. I had that exact error and your solution of opt-out/opt-in worked for me too.
Thanks again.
September 19, 2019 at 12:06 am #11944dougModeratorFor all other -102 HRESULT values, please see batchpatch-error-102-failed-to-execute-the-search-hresult-xxxxxxxxxx
October 30, 2019 at 4:00 pm #12086dougModeratorThis below link has another possible resolution for this error:
-102: Failed to execute the search. HRESULT: -2145107921https://serverfault.com/questions/741083/unable-to-update-windows-server-2012
-
AuthorPosts
- You must be logged in to reply to this topic.