-102: Failed to execute the search.

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

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #8565
    firewind
    Participant

    Hi,

    I am running Batch Patch on a XP computer which is part of a domain. I add several Windows 2003 R2 SP2 computers to Batch Patch, which also belong to the same domain. I am a domain administrator and have logged onto the XP computer with my account. When I select check for updates, I get an Error: -102 –

    Details in BatchPatch.log:

    ::Begin online search

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

    Can you please advise what I am doing wrong?

    #9425
    doug
    Moderator

    firewind –

    -2147012867 ERROR_INTERNET_CANNOT_CONNECT

    This error would occur when the target computers are not able to contact the update server. If you’re using WSUS, make sure that the WSUS server is online and that the machines can connect to it. Also make sure that they are configured to connect to the WSUS server you’re expecting them to connect to and not some other machine. If you’re using Windows Update instead of WSUS, make sure the machines have access to the internet so that they can communicate with Microsoft’s servers.

    As a starting point you can look at the “Actions > Get information > Get Windows update configuration” to confirm how the target computers are configured to receive updates. This action looks for the presence of the following key, which would get created if you’re using Group Policy to configure the WSUS location/settings on the target computers.

    HKLMSOFTWAREPoliciesMicrosoftWindowsWindowsUpdateWUServer

    Additionally, please take a look at C:WindowsWindowsUpdate.log on the target machines for additional information that might help find the culprit.

    Lastly, are you using any sort of proxy configuration on the target computers?

    Let me know how it goes.

    -Doug

    #9426
    firewind
    Participant

    Hi Doug, thanks for the reply.

    I have run the Get Windows Update Configuration and it’s returned Microsoft Update, which is what I would have expected.

    We are using a proxy here. It is configured on the target computer and if I log onto the target computer, I can get onto the internet, I can run windows update manually.

    I am going through the windowsupdate.log now.

    #9427
    firewind
    Participant

    Hi Doug, did you want me to dump the contents of windowsupdate.log here? for your review?

    #9428
    firewind
    Participant

    I added a couple of XP destops which we use WSUS to update and they seemed to pick up OK in Batch Patch.

    So does Batch Patch work with using a proxy?

    #9429
    firewind
    Participant

    Here is my windowsupdate.log

    2012-08-08 13:48:30:539 3412 7d0 Misc =========== Logging initialized (build: 7.6.7600.256, tz: +1000) ===========

    2012-08-08 13:48:30:539 3412 7d0 Misc = Process: C:Program FilesBatchPatchBatchPatchRemoteAgent.exe

    2012-08-08 13:48:30:539 3412 7d0 Misc = Module: C:WINDOWSsystem32SoftwareDistributionSetupServiceStartupwuapi.dll7.6.7600.256wuapi.dll

    2012-08-08 13:48:30:539 3412 7d0 COMAPI


    2012-08-08 13:48:30:539 3412 7d0 COMAPI — START — COMAPI: Search [ClientId = <NULL>]

    2012-08-08 13:48:30:539 3412 7d0 COMAPI


    2012-08-08 13:48:30:539 804 bb0 Agent *************

    2012-08-08 13:48:30:539 804 bb0 Agent ** START ** Agent: Finding updates [CallerId = ]

    2012-08-08 13:48:30:539 804 bb0 Agent *********

    2012-08-08 13:48:30:539 804 bb0 Agent * Online = Yes; Ignore download priority = No

    2012-08-08 13:48:30:539 804 bb0 Agent * Criteria = “IsInstalled=0 and Type=’Software'”

    2012-08-08 13:48:30:539 804 bb0 Agent * ServiceID = {00000000-0000-0000-0000-000000000000} Third party service

    2012-08-08 13:48:30:539 804 bb0 Agent * Search Scope = {Machine}

    2012-08-08 13:48:30:539 3412 7d0 COMAPI <<– SUBMITTED — COMAPI: Search [ClientId = <NULL>]

    2012-08-08 13:48:32:602 804 bb0 Misc Validating signature for C:WINDOWSSoftwareDistributionWuRedir9482F4B4-E343-43B6-B170-9A65BC822C77muv4wuredir.cab:

    2012-08-08 13:48:32:602 804 bb0 Misc Microsoft signed: Yes

    2012-08-08 13:48:37:633 804 bb0 Misc WARNING: Send failed with hr = 80072efd.

    2012-08-08 13:48:37:633 804 bb0 Misc WARNING: SendRequest failed with hr = 80072efd. Proxy List used: <(null)> Bypass List used : <(null)> Auth Schemes used : <>

    2012-08-08 13:48:37:633 804 bb0 Misc WARNING: WinHttp: SendRequestUsingProxy failed for <http://download.windowsupdate.com/v9/1/windowsupdate/redir/muv4wuredir.cab&gt;. error 0x80072efd

    2012-08-08 13:48:37:633 804 bb0 Misc WARNING: WinHttp: SendRequestToServerForFileInformation MakeRequest failed. error 0x80072efd

    2012-08-08 13:48:37:633 804 bb0 Misc WARNING: WinHttp: SendRequestToServerForFileInformation failed with 0x80072efd

    2012-08-08 13:48:37:633 804 bb0 Misc WARNING: WinHttp: ShouldFileBeDownloaded failed with 0x80072efd

    2012-08-08 13:48:42:008 804 bb0 Misc WARNING: Send failed with hr = 80072efd.

    2012-08-08 13:48:42:008 804 bb0 Misc WARNING: SendRequest failed with hr = 80072efd. Proxy List used: <(null)> Bypass List used : <(null)> Auth Schemes used : <>

    2012-08-08 13:48:42:008 804 bb0 Misc WARNING: WinHttp: SendRequestUsingProxy failed for <http://download.windowsupdate.com/v9/1/windowsupdate/redir/muv4wuredir.cab&gt;. error 0x80072efd

    2012-08-08 13:48:42:008 804 bb0 Misc WARNING: WinHttp: SendRequestToServerForFileInformation MakeRequest failed. error 0x80072efd

    2012-08-08 13:48:42:008 804 bb0 Misc WARNING: WinHttp: SendRequestToServerForFileInformation failed with 0x80072efd

    2012-08-08 13:48:42:008 804 bb0 Misc WARNING: WinHttp: ShouldFileBeDownloaded failed with 0x80072efd

    2012-08-08 13:48:46:383 804 bb0 Misc WARNING: Send failed with hr = 80072efd.

    2012-08-08 13:48:46:383 804 bb0 Misc WARNING: SendRequest failed with hr = 80072efd. Proxy List used: <(null)> Bypass List used : <(null)> Auth Schemes used : <>

    2012-08-08 13:48:46:383 804 bb0 Misc WARNING: WinHttp: SendRequestUsingProxy failed for <http://download.windowsupdate.com/v9/1/windowsupdate/redir/muv4wuredir.cab&gt;. error 0x80072efd

    2012-08-08 13:48:46:383 804 bb0 Misc WARNING: WinHttp: SendRequestToServerForFileInformation MakeRequest failed. error 0x80072efd

    2012-08-08 13:48:46:383 804 bb0 Misc WARNING: WinHttp: SendRequestToServerForFileInformation failed with 0x80072efd

    2012-08-08 13:48:46:383 804 bb0 Misc WARNING: WinHttp: ShouldFileBeDownloaded failed with 0x80072efd

    2012-08-08 13:48:50:977 804 bb0 Misc WARNING: Send failed with hr = 80072efd.

    2012-08-08 13:48:50:977 804 bb0 Misc WARNING: SendRequest failed with hr = 80072efd. Proxy List used: <(null)> Bypass List used : <(null)> Auth Schemes used : <>

    2012-08-08 13:48:50:977 804 bb0 Misc WARNING: WinHttp: SendRequestUsingProxy failed for <http://download.windowsupdate.com/v9/1/windowsupdate/redir/muv4wuredir.cab&gt;. error 0x80072efd

    2012-08-08 13:48:50:977 804 bb0 Misc WARNING: WinHttp: SendRequestToServerForFileInformation MakeRequest failed. error 0x80072efd

    2012-08-08 13:48:50:977 804 bb0 Misc WARNING: WinHttp: SendRequestToServerForFileInformation failed with 0x80072efd

    2012-08-08 13:48:50:977 804 bb0 Misc WARNING: WinHttp: ShouldFileBeDownloaded failed with 0x80072efd

    2012-08-08 13:48:50:977 804 bb0 Misc WARNING: DownloadFileInternal failed for http://download.windowsupdate.com/v9/1/windowsupdate/redir/muv4wuredir.cab: error 0x80072efd

    2012-08-08 13:48:50:977 804 bb0 Misc Validating signature for C:WINDOWSSoftwareDistributionWuRedir9482F4B4-E343-43B6-B170-9A65BC822C77muv4wuredir.cab:

    2012-08-08 13:48:50:977 804 bb0 Misc Microsoft signed: Yes

    2012-08-08 13:48:55:352 804 bb0 Misc WARNING: Send failed with hr = 80072efd.

    2012-08-08 13:48:55:352 804 bb0 Misc WARNING: SendRequest failed with hr = 80072efd. Proxy List used: <(null)> Bypass List used : <(null)> Auth Schemes used : <>

    2012-08-08 13:48:55:352 804 bb0 Misc WARNING: WinHttp: SendRequestUsingProxy failed for <http://download.microsoft.com/v9/1/windowsupdate/redir/muv4wuredir.cab&gt;. error 0x80072efd

    2012-08-08 13:48:55:352 804 bb0 Misc WARNING: WinHttp: SendRequestToServerForFileInformation MakeRequest failed. error 0x80072efd

    2012-08-08 13:48:55:352 804 bb0 Misc WARNING: WinHttp: SendRequestToServerForFileInformation failed with 0x80072efd

    2012-08-08 13:48:55:352 804 bb0 Misc WARNING: WinHttp: ShouldFileBeDownloaded failed with 0x80072efd

    2012-08-08 13:48:59:836 804 bb0 Misc WARNING: Send failed with hr = 80072efd.

    2012-08-08 13:48:59:836 804 bb0 Misc WARNING: SendRequest failed with hr = 80072efd. Proxy List used: <(null)> Bypass List used : <(null)> Auth Schemes used : <>

    2012-08-08 13:48:59:836 804 bb0 Misc WARNING: WinHttp: SendRequestUsingProxy failed for <http://download.microsoft.com/v9/1/windowsupdate/redir/muv4wuredir.cab&gt;. error 0x80072efd

    2012-08-08 13:48:59:836 804 bb0 Misc WARNING: WinHttp: SendRequestToServerForFileInformation MakeRequest failed. error 0x80072efd

    2012-08-08 13:48:59:836 804 bb0 Misc WARNING: WinHttp: SendRequestToServerForFileInformation failed with 0x80072efd

    2012-08-08 13:48:59:836 804 bb0 Misc WARNING: WinHttp: ShouldFileBeDownloaded failed with 0x80072efd

    2012-08-08 13:49:04:321 804 bb0 Misc WARNING: Send failed with hr = 80072efd.

    2012-08-08 13:49:04:321 804 bb0 Misc WARNING: SendRequest failed with hr = 80072efd. Proxy List used: <(null)> Bypass List used : <(null)> Auth Schemes used : <>

    2012-08-08 13:49:04:321 804 bb0 Misc WARNING: WinHttp: SendRequestUsingProxy failed for <http://download.microsoft.com/v9/1/windowsupdate/redir/muv4wuredir.cab&gt;. error 0x80072efd

    2012-08-08 13:49:04:321 804 bb0 Misc WARNING: WinHttp: SendRequestToServerForFileInformation MakeRequest failed. error 0x80072efd

    2012-08-08 13:49:04:321 804 bb0 Misc WARNING: WinHttp: SendRequestToServerForFileInformation failed with 0x80072efd

    2012-08-08 13:49:04:321 804 bb0 Misc WARNING: WinHttp: ShouldFileBeDownloaded failed with 0x80072efd

    2012-08-08 13:49:09:040 804 bb0 Misc WARNING: Send failed with hr = 80072efd.

    2012-08-08 13:49:09:040 804 bb0 Misc WARNING: SendRequest failed with hr = 80072efd. Proxy List used: <(null)> Bypass List used : <(null)> Auth Schemes used : <>

    2012-08-08 13:49:09:040 804 bb0 Misc WARNING: WinHttp: SendRequestUsingProxy failed for <http://download.microsoft.com/v9/1/windowsupdate/redir/muv4wuredir.cab&gt;. error 0x80072efd

    2012-08-08 13:49:09:040 804 bb0 Misc WARNING: WinHttp: SendRequestToServerForFileInformation MakeRequest failed. error 0x80072efd

    2012-08-08 13:49:09:040 804 bb0 Misc WARNING: WinHttp: SendRequestToServerForFileInformation failed with 0x80072efd

    2012-08-08 13:49:09:040 804 bb0 Misc WARNING: WinHttp: ShouldFileBeDownloaded failed with 0x80072efd

    2012-08-08 13:49:09:040 804 bb0 Misc WARNING: DownloadFileInternal failed for http://download.microsoft.com/v9/1/windowsupdate/redir/muv4wuredir.cab: error 0x80072efd

    2012-08-08 13:49:09:040 804 bb0 Misc Validating signature for C:WINDOWSSoftwareDistributionWuRedir9482F4B4-E343-43B6-B170-9A65BC822C77muv4wuredir.cab:

    2012-08-08 13:49:09:040 804 bb0 Misc Microsoft signed: Yes

    2012-08-08 13:49:12:196 804 bb0 Misc WARNING: Send failed with hr = 80072efd.

    2012-08-08 13:49:12:196 804 bb0 Misc WARNING: SendRequest failed with hr = 80072efd. Proxy List used: <(null)> Bypass List used : <(null)> Auth Schemes used : <>

    2012-08-08 13:49:12:196 804 bb0 Misc WARNING: WinHttp: SendRequestUsingProxy failed for <http://www.update.microsoft.com/v9/1/windowsupdate/redir/muv4wuredir.cab&gt;. error 0x80072efd

    2012-08-08 13:49:12:196 804 bb0 Misc WARNING: WinHttp: SendRequestToServerForFileInformation MakeRequest failed. error 0x80072efd

    2012-08-08 13:49:12:196 804 bb0 Misc WARNING: WinHttp: SendRequestToServerForFileInformation failed with 0x80072efd

    2012-08-08 13:49:12:196 804 bb0 Misc WARNING: WinHttp: ShouldFileBeDownloaded failed with 0x80072efd

    2012-08-08 13:49:15:477 804 bb0 Misc WARNING: Send failed with hr = 80072efd.

    2012-08-08 13:49:15:477 804 bb0 Misc WARNING: SendRequest failed with hr = 80072efd. Proxy List used: <(null)> Bypass List used : <(null)> Auth Schemes used : <>

    2012-08-08 13:49:15:477 804 bb0 Misc WARNING: WinHttp: SendRequestUsingProxy failed for <http://www.update.microsoft.com/v9/1/windowsupdate/redir/muv4wuredir.cab&gt;. error 0x80072efd

    2012-08-08 13:49:15:477 804 bb0 Misc WARNING: WinHttp: SendRequestToServerForFileInformation MakeRequest failed. error 0x80072efd

    2012-08-08 13:49:15:477 804 bb0 Misc WARNING: WinHttp: SendRequestToServerForFileInformation failed with 0x80072efd

    2012-08-08 13:49:15:477 804 bb0 Misc WARNING: WinHttp: ShouldFileBeDownloaded failed with 0x80072efd

    2012-08-08 13:49:18:868 804 bb0 Misc WARNING: Send failed with hr = 80072efd.

    2012-08-08 13:49:18:868 804 bb0 Misc WARNING: SendRequest failed with hr = 80072efd. Proxy List used: <(null)> Bypass List used : <(null)> Auth Schemes used : <>

    2012-08-08 13:49:18:868 804 bb0 Misc WARNING: WinHttp: SendRequestUsingProxy failed for <http://www.update.microsoft.com/v9/1/windowsupdate/redir/muv4wuredir.cab&gt;. error 0x80072efd

    2012-08-08 13:49:18:868 804 bb0 Misc WARNING: WinHttp: SendRequestToServerForFileInformation MakeRequest failed. error 0x80072efd

    2012-08-08 13:49:18:868 804 bb0 Misc WARNING: WinHttp: SendRequestToServerForFileInformation failed with 0x80072efd

    2012-08-08 13:49:18:868 804 bb0 Misc WARNING: WinHttp: ShouldFileBeDownloaded failed with 0x80072efd

    2012-08-08 13:49:22:055 804 bb0 Misc WARNING: Send failed with hr = 80072efd.

    2012-08-08 13:49:22:055 804 bb0 Misc WARNING: SendRequest failed with hr = 80072efd. Proxy List used: <(null)> Bypass List used : <(null)> Auth Schemes used : <>

    2012-08-08 13:49:22:055 804 bb0 Misc WARNING: WinHttp: SendRequestUsingProxy failed for <http://www.update.microsoft.com/v9/1/windowsupdate/redir/muv4wuredir.cab&gt;. error 0x80072efd

    2012-08-08 13:49:22:055 804 bb0 Misc WARNING: WinHttp: SendRequestToServerForFileInformation MakeRequest failed. error 0x80072efd

    2012-08-08 13:49:22:055 804 bb0 Misc WARNING: WinHttp: SendRequestToServerForFileInformation failed with 0x80072efd

    2012-08-08 13:49:22:055 804 bb0 Misc WARNING: WinHttp: ShouldFileBeDownloaded failed with 0x80072efd

    2012-08-08 13:49:22:055 804 bb0 Misc WARNING: DownloadFileInternal failed for http://www.update.microsoft.com/v9/1/windowsupdate/redir/muv4wuredir.cab: error 0x80072efd

    2012-08-08 13:49:22:055 804 bb0 PT WARNING: PTError: 0x80072efd

    2012-08-08 13:49:22:055 804 bb0 PT WARNING: PTError: 0x80072efd

    2012-08-08 13:49:22:055 804 bb0 PT WARNING: Initialization failed for Protocol Talker Context: 0x80072efd

    2012-08-08 13:49:22:055 804 bb0 Agent * WARNING: Failed to synchronize, error = 0x80072EFD

    2012-08-08 13:49:22:055 804 bb0 Agent * WARNING: Exit code = 0x80072EFD

    2012-08-08 13:49:22:055 804 bb0 Agent *********

    2012-08-08 13:49:22:055 804 bb0 Agent ** END ** Agent: Finding updates [CallerId = ]

    2012-08-08 13:49:22:055 804 bb0 Agent *************

    2012-08-08 13:49:22:055 804 bb0 Agent WARNING: WU client failed Searching for update with error 0x80072efd

    2012-08-08 13:49:22:086 3412 f28 COMAPI >>– RESUMED — COMAPI: Search [ClientId = <NULL>]

    2012-08-08 13:49:22:086 3412 f28 COMAPI – Updates found = 0

    2012-08-08 13:49:22:086 3412 f28 COMAPI – WARNING: Exit code = 0x00000000, Result code = 0x80072EFD

    2012-08-08 13:49:22:086 3412 f28 COMAPI


    2012-08-08 13:49:22:086 3412 f28 COMAPI — END — COMAPI: Search [ClientId = <NULL>]

    2012-08-08 13:49:22:086 3412 f28 COMAPI


    2012-08-08 13:49:22:086 3412 7d0 COMAPI WARNING: Operation failed due to earlier error, hr=80072EFD

    2012-08-08 13:49:22:086 3412 7d0 COMAPI FATAL: Unable to perform synchronous search. (hr=80072EFD)

    2012-08-08 13:49:27:055 804 bb0 Report REPORT EVENT: {91251E2D-00DD-4632-8E6E-79699DDB34CA} 2012-08-08 13:49:22:055+1000 1 148 101 {00000000-0000-0000-0000-000000000000} 0 80072efd Failure Software Synchronization Windows Update Client failed to detect with error 0x80072efd.

    #9430
    doug
    Moderator

    I believe the issue you’re having is explained here:

    http://support.microsoft.com/kb/900935

    You’re successful when you manually go to the Windows update site is because in that case the proxy discovery mechanism is actually not the same as when the service handles it.

    According to the link above:

    The Automatic Updates service can only discover a proxy server by using ONE of the following methods:

    The proxy server is manually configured by using the Proxycfg.exe tool for Windows XP and Windows Server 2003. For Windows Vista and newer OS, Netsh command is available to manually configure the proxy server. For more information about how to use the Proxycfg.exe tool, click the following article number to view the article in the Microsoft Knowledge Base:

    http://support.microsoft.com/kb/289481

    OR

    Web Proxy Auto Detect (WPAD) settings are configured in either of the following locations in the network environment:

    The Domain Name System (DNS) options

    The Dynamic Host Configuration Protocol (DHCP) options

    For more information about a related topic, click the following article number to view the article in the Microsoft Knowledge Base:

    http://support.microsoft.com/kb/816320

    Let me know how it goes.

    Thanks,

    Doug

    #9432
    firewind
    Participant

    Thanks Doug for the information. I will look into your suggestions.

    Cheers!

    #11941
    doug
    Moderator

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

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