none
WinHttpDownloadFileToMemory 0x80072efd error in ClientDiag.exe RRS feed

  • Question

  • Hello.

     

    I get this error message when i check my Windows SCE Server.

    The selfupdate folder is there.

     

    https://SCEVHDSERVER.domain:8531/selfupdate/wuident.cab

    https://SCEVHDSERVER.domain:8531/simpleauthwebservice/simpleauth.asmx

     

    when i try to visit thise links, i get a wuident.cab downlaod file on the first one.

    The 2nd one i get this message:

     

    SimpleAuth


     

    The following operations are supported. For a formal definition, please review the Service Description.

     

    What is wrong here?

    Some computers are getting connected, and reports operating system and diskspace etc. 

     

    Thanks.

    Rune.

     

     

    Copy'nPaste from clientdiag.exe

     

    WSUS Client Diagnostics Tool

    Checking Machine State
            Checking for admin rights to run tool . . . . . . . . . PASS
            Automatic Updates Service is running. . . . . . . . . . PASS
            Background Intelligent Transfer Service is running. . . PASS
            Wuaueng.dll version 7.1.6001.65 . . . . . . . . . . . . PASS
                    This version is WSUS 2.0

    Checking AU Settings
            AU Option is 4: Scheduled Install . . . . . . . . . . . PASS
                    Option is from Policy settings

    Checking Proxy Configuration
            Checking for winhttp local machine Proxy settings . . . PASS
                    Winhttp local machine access type
                            <Direct Connection>
                    Winhttp local machine Proxy. . . . . . . . . .  NONE
                    Winhttp local machine ProxyBypass. . . . . . .  NONE
            Checking User IE Proxy settings . . . . . . . . . . . . PASS
                    User IE Proxy. . . . . . . . . . . . . . . . .  NONE
                    User IE ProxyByPass. . . . . . . . . . . . . .  NONE
                    User IE AutoConfig URL Proxy . . . . . . . . .  NONE
                    User IE AutoDetect
                    AutoDetect not in use

    Checking Connection to WSUS/SUS Server
                    WUServer = https://SCEVHDSERVER.domain.com:8531
                    WUStatusServer = https://SCEVHDSERVER.domain.com:8531
            UseWuServer is enabled. . . . . . . . . . . . . . . . . PASS
            Connection to server. . . . . . . . . . . . . . . . . . PASS

    WinHttpDownloadFileToMemory(szURLDest, NULL, 0, NULL, NULL, NULL, &downloadBuffe
    r) failed with hr=0x80072efd

    A connection with the server could not be established


    Press Enter to Complete

    Thursday, April 10, 2008 4:37 PM

Answers

  •  

    Looking over the snippet of log file in this post, it appears that the Windows Update Agent was able to perform a successful sync.  Other than using ClientDiag.exe to see this error, do your managed systems appear to be syncing successfully?

     

    That specific error generates when the ClientDiag.exe application was unable to connect to the self-update tree.  There are a number of reasons why this happened; an internet search on this string indicates variants from IPSec through ClientDiag not honoring the same connection settings the Windows Update Agent uses. 

     

    Your intial steps (checking the self-update tree directly), as well as seeing what appears to be a successful dectection from an agent lead me to believe that the tool is throwing a false negative to you.  I can let the owners of the tool know this, but before deeper diagnostics happen, let's determine if your agents have a problem. 

     

    /Ty

     

     

    Wednesday, May 21, 2008 8:03 PM

All replies

  • A log from one of our client.

     

     

     

    2008-04-11 12:59:18:982 1356 9b0 AU #############
    2008-04-11 12:59:19:014 1356 884 Inv #############
    2008-04-11 12:59:19:014 1356 884 Inv ## START ##  Inv: Inventory Collection
    2008-04-11 12:59:19:014 1356 884 Inv #########
    2008-04-11 12:59:19:014 1356 884 Inv   # Talking to WSUS server = https://SCEVHDSERVER.domain:8531
    2008-04-11 12:59:19:170 1356 884 Inv   # Downloading Rule file from = https://SCEVHDSERVER.domain.com:8531/Inventory/InventoryRules.cab
    2008-04-11 12:59:19:451 1356 9b0 AU AU setting next detection timeout to 2008-04-12 04:57:16
    2008-04-11 12:59:19:467 1356 9b0 AU Setting AU scheduled install time to 2008-04-12 01:00:00
    2008-04-11 12:59:23:606 1356 884 Misc Validating signature for C:\WINNT\SoftwareDistribution\Inventory\InventoryRule\InventoryRules.cab:
    2008-04-11 12:59:23:996 1356 884 Misc  Microsoft signed: Yes
    2008-04-11 12:59:24:387 1356 884 Inv   # Inventory Rule id = 8226C3A1-70D4-4848-B441-1555AC820A23, version = 1.0
    2008-04-11 12:59:53:893 1356 884 Inv #########
    2008-04-11 12:59:53:893 1356 884 Inv ##  END  ##  Inv: Inventory Collection
    2008-04-11 12:59:53:893 1356 884 Inv #############
    2008-04-11 12:59:53:909 1356 884 Report REPORT EVENT: {F437F4D3-A784-43D3-B688-889066A858EC} 2008-04-11 12:59:18:576+0200 1 147 101 {00000000-0000-0000-0000-000000000000} 0 0 AutomaticUpdates Success Software Synchronization Windows Update Client successfully detected 0 updates.
    2008-04-11 12:59:53:909 1356 884 Report REPORT EVENT: {29F470CD-4C24-4E29-B1D3-E49FA9044221} 2008-04-11 12:59:18:686+0200 1 156 101 {00000000-0000-0000-0000-000000000000} 0 0 AutomaticUpdates Success Pre-Deployment Check Reporting client status.
    2008-04-11 12:59:58:891 1356 884 Report REPORT EVENT: {F66E92DB-D955-4630-AEC9-FDA596487669} 2008-04-11 12:59:53:893+0200 1 126 104 {00000000-0000-0000-0000-000000000000} 0 0 InventoryEngine Success Inventory processing Inventory: Successfully collected the inventory data
    2008-04-11 13:10:48:444 1356 884 Report Uploading 3 events using cached cookie, reporting URL = https://SCEVHDSERVER.domain.com:8531/ReportingWebService/ReportingWebService.asmx
    2008-04-11 13:10:51:084 1356 884 Report Reporter successfully uploaded 3 events.
    2008-04-11 13:58:45:725 1356 3a0 AU ###########  AU: Uninitializing Automatic Updates  ###########
    2008-04-11 13:58:47:912 1356 3a0 Service *********
    2008-04-11 13:58:47:912 1356 3a0 Service **  END  **  Service: Service exit [Exit code = 0x240001]
    2008-04-11 13:58:47:912 1356 3a0 Service *************
    2008-04-11 13:58:49:021 1356 a30 Misc ===========  Logging initialized (build: 7.1.6001.65, tz: +0200)  ===========
    2008-04-11 13:58:49:021 1356 a30 Misc   = Process: C:\WINNT\System32\svchost.exe
    2008-04-11 13:58:49:021 1356 a30 Misc   = Module: C:\WINNT\system32\wuaueng.dll
    2008-04-11 13:58:49:021 1356 a30 Service *************
    2008-04-11 13:58:49:021 1356 a30 Service ** START **  Service: Service startup
    2008-04-11 13:58:49:021 1356 a30 Service *********
    2008-04-11 13:58:49:099 1356 a30 Agent   * WU client version 7.1.6001.65
    2008-04-11 13:58:49:115 1356 a30 Agent   * Base directory: C:\WINNT\SoftwareDistribution
    2008-04-11 13:58:49:130 1356 a30 Agent   * Access type: No proxy
    2008-04-11 13:58:49:130 1356 a30 Agent   * Network state: Connected
    2008-04-11 13:58:51:239 1356 e40 Agent ***********  Agent: Initializing Windows Update Agent  ***********
    2008-04-11 13:58:51:255 1356 e40 Agent ***********  Agent: Initializing global settings cache  ***********
    2008-04-11 13:58:51:255 1356 e40 Agent   * WSUS server: https://SCEVHDSERVER.domain.com:8531
    2008-04-11 13:58:51:255 1356 e40 Agent   * WSUS status server: https://SCEVHDSERVER.domain.com:8531
    2008-04-11 13:58:51:255 1356 e40 Agent   * Target group: (Unassigned Computers)
    2008-04-11 13:58:51:255 1356 e40 Agent   * Windows Update access disabled: No
    2008-04-11 13:58:52:192 1356 a30 Report ***********  Report: Initializing static reporting data  ***********
    2008-04-11 13:58:52:192 1356 a30 Report   * OS Version = 5.1.2600.2.0.65792
    2008-04-11 13:58:52:786 1356 a30 Report   * Computer Brand = VIA Technologies, Inc.
    2008-04-11 13:58:52:786 1356 a30 Report   * Computer Model = P4M266-8233
    2008-04-11 13:58:52:817 1356 a30 Report   * Bios Revision = 6.00 PG
    2008-04-11 13:58:52:817 1356 a30 Report   * Bios Name = Phoenix - AwardBIOS v6.00PG
    2008-04-11 13:58:52:817 1356 a30 Report   * Bios Release Date = 2004-12-23T00:00:00
    2008-04-11 13:58:52:817 1356 a30 Report   * Locale ID = 1044
    2008-04-11 13:58:52:895 1356 e40 DnldMgr Download manager restoring 0 downloads
    2008-04-11 13:58:52:942 1356 e40 AU ###########  AU: Initializing Automatic Updates  ###########
    2008-04-11 13:58:52:957 1356 e40 AU AU setting next detection timeout to 2008-04-11 11:58:52
    2008-04-11 13:58:53:004 1356 e40 AU   # WSUS server: https://SCEVHDSERVER.domain.com:8531
    2008-04-11 13:58:53:004 1356 e40 AU   # Detection frequency: 22
    2008-04-11 13:58:53:004 1356 e40 AU   # Approval type: Scheduled (Policy)
    2008-04-11 13:58:53:004 1356 e40 AU   # Scheduled install day/time: Every day at 3:00
    2008-04-11 13:58:53:004 1356 e40 AU   # Auto-install minor updates: Yes (User preference)
    2008-04-11 13:58:53:004 1356 e40 AU Setting AU scheduled install time to 2008-04-12 01:00:00
    2008-04-11 13:58:53:004 1356 e40 AU AU finished delayed initialization
    2008-04-11 13:58:53:004 1356 e40 AU Triggering AU detection through DetectNow API
    2008-04-11 13:58:53:020 1356 e40 AU Triggering Online detection (non-interactive)
    2008-04-11 13:58:53:082 1356 a30 AU #############
    2008-04-11 13:58:53:098 1356 a30 AU ## START ##  AU: Search for updates
    2008-04-11 13:58:53:098 1356 a30 AU #########
    2008-04-11 13:58:53:192 1356 a30 AU <<## SUBMITTED ## AU: Search for updates [CallId = {0401E66E-5F59-4378-ACA4-7211497D6974}]
    2008-04-11 13:58:54:394 1356 f68 Agent *************
    2008-04-11 13:58:54:394 1356 f68 Agent ** START **  Agent: Finding updates [CallerId = AutomaticUpdates]
    2008-04-11 13:58:54:410 1356 f68 Agent *********
    2008-04-11 13:58:54:410 1356 f68 Agent   * Online = Yes; Ignore download priority = No
    2008-04-11 13:58:54:410 1356 f68 Agent   * Criteria = "IsHidden=0 and IsInstalled=0 and DeploymentAction='Installation' and IsAssigned=1 or IsHidden=0 and IsPresent=1 and DeploymentAction='Uninstallation' and IsAssigned=1 or IsHidden=0 and IsInstalled=1 and DeploymentAction='Installation' and IsAssigned=1 and RebootRequired=1 or IsHidden=0 and IsInstalled=0 and DeploymentAction='Uninstallation' and IsAssigned=1 and RebootRequired=1"
    2008-04-11 13:58:54:410 1356 f68 Agent   * ServiceID = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7}
    2008-04-11 13:58:54:441 1356 f68 Misc Validating signature for C:\WINNT\SoftwareDistribution\SelfUpdate\Default\wuident.cab:
    2008-04-11 13:58:54:644 1356 f68 Misc  Microsoft signed: Yes
    2008-04-11 13:58:54:832 1356 f68 Misc Validating signature for C:\WINNT\SoftwareDistribution\SelfUpdate\Default\wuident.cab:
    2008-04-11 13:58:54:832 1356 f68 Misc  Microsoft signed: Yes
    2008-04-11 13:58:54:926 1356 f68 Misc Validating signature for C:\WINNT\SoftwareDistribution\SelfUpdate\Default\wsus3setup.cab:
    2008-04-11 13:58:54:941 1356 f68 Misc  Microsoft signed: Yes
    2008-04-11 13:58:54:957 1356 f68 Setup ***********  Setup: Checking whether self-update is required  ***********
    2008-04-11 13:58:54:957 1356 f68 Setup   * Inf file: C:\WINNT\SoftwareDistribution\SelfUpdate\Default\wsus3setup.inf
    2008-04-11 13:58:55:019 1356 f68 Setup Update NOT required for C:\WINNT\system32\cdm.dll: target version = 7.1.6001.65, required version = 7.0.6000.374
    2008-04-11 13:58:55:019 1356 f68 Setup Update NOT required for C:\WINNT\system32\wuapi.dll: target version = 7.1.6001.65, required version = 7.0.6000.374
    2008-04-11 13:58:55:066 1356 f68 Setup Update NOT required for C:\WINNT\system32\wuapi.dll.mui: target version = 7.1.6001.65, required version = 7.0.6000.374
    2008-04-11 13:58:55:066 1356 f68 Setup Update NOT required for C:\WINNT\system32\wuauclt.exe: target version = 7.1.6001.65, required version = 7.0.6000.374
    2008-04-11 13:58:55:066 1356 f68 Setup Update NOT required for C:\WINNT\system32\wuaucpl.cpl: target version = 7.1.6001.65, required version = 7.0.6000.374
    2008-04-11 13:58:55:082 1356 f68 Setup Update NOT required for C:\WINNT\system32\wuaucpl.cpl.mui: target version = 7.1.6001.65, required version = 7.0.6000.374
    2008-04-11 13:58:55:082 1356 f68 Setup Update NOT required for C:\WINNT\system32\wuaueng.dll: target version = 7.1.6001.65, required version = 7.0.6000.374
    2008-04-11 13:58:55:113 1356 f68 Setup Update NOT required for C:\WINNT\system32\wuaueng.dll.mui: target version = 7.1.6001.65, required version = 7.0.6000.374
    2008-04-11 13:58:55:113 1356 f68 Setup Update NOT required for C:\WINNT\system32\wucltui.dll: target version = 7.1.6001.65, required version = 7.0.6000.374
    2008-04-11 13:58:55:144 1356 f68 Setup Update NOT required for C:\WINNT\system32\wucltui.dll.mui: target version = 7.1.6001.65, required version = 7.0.6000.374
    2008-04-11 13:58:55:144 1356 f68 Setup Update NOT required for C:\WINNT\system32\wups.dll: target version = 7.1.6001.65, required version = 7.0.6000.374
    2008-04-11 13:58:55:144 1356 f68 Setup Update NOT required for C:\WINNT\system32\wups2.dll: target version = 7.1.6001.65, required version = 7.0.6000.374
    2008-04-11 13:58:55:207 1356 f68 Setup Update NOT required for C:\WINNT\system32\wuweb.dll: target version = 7.1.6001.65, required version = 7.0.6000.374
    2008-04-11 13:58:55:207 1356 f68 Setup   * IsUpdateRequired = No
    2008-04-11 13:59:06:594 1356 f68 PT +++++++++++  PT: Synchronizing server updates  +++++++++++
    2008-04-11 13:59:06:594 1356 f68 PT   + ServiceId = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7}, Server URL = https://SCEVHDSERVER.domain.com:8531/ClientWebService/client.asmx
    2008-04-11 13:59:06:703 1356 f68 PT WARNING: Cached cookie has expired or new PID is available
    2008-04-11 13:59:06:703 1356 f68 PT Initializing simple targeting cookie, clientId = d54d285a-6593-4549-a497-f58a4db13ceb, target group = , DNS name = client.com
    2008-04-11 13:59:06:719 1356 f68 PT   Server URL = https://SCEVHDSERVER.domain.com:8531/SimpleAuthWebService/SimpleAuth.asmx
    Friday, April 11, 2008 12:23 PM
  • Hi,

     

    Please check if there is a firewall which blocks the WSUS server. Try to diable the Firewall for a test.

     

    For your infomation, if you are using an ISA server, please configure it by following instructions in the article below:

     

    How to Configure an ISA Server 2004 Firewall on Small Business Server for System Center Essentials
    http://technet.microsoft.com/en-us/library/bb422892.aspx

     

    Thanks.

    Monday, April 14, 2008 11:34 AM
    Moderator
  • No firewalls in use.
    No isa server
    No proxy server
    Everything on the same LAN

    Monday, April 14, 2008 3:10 PM
  • Hi RVenes,

     

    Please give us some more details about this issue except the error message from WSUS Client Diagnostics Tool.  Every SCE agent cannot update?

     

    Are the managed computers in the same domain with SCE server? Have you installed the agents manually? Could you find the agents in SCE console and what is the status of them?

     

    Besides, please also check the ffollowing:

     

    Have you ever modified the IIS configurations?
    Can you make sure the DNS works properly?

     

    Thanks.

    Tuesday, April 15, 2008 9:47 AM
    Moderator
  •  

    Hi.

     

    I'm back, been away for a  few days.

    I've not modified the IIS, and the DNS is working properly i think. Have no other issues on the network.

    This is a fresh VHD image, so i have not modified anything except from what is says in the PDF doc. (add the scevhdserver to the domain etc)

    Every client gives me the error message.

    I have just a few computers in the SCE group since i am testing this only (Evaluation)

    I have installed the client from the SCEVHDSERVER and i can see all the clients there.

    They who i am testing on (witch is in the right OU), have contacted the server.

     

    They all is in the same Domain.

    Tuesday, April 22, 2008 12:51 PM
  • Hi,

     

    Please open the Application Event Log and look for errors whose source is Windows Server Update Services. You can post the errors here or send it to scedata@microsoft.com, with the following text in the E-mail. I hope that would be helpful.

     

    WinHttpDownloadFileToMemory 0x80072efd error in ClientDiag.exe
    http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=3154463&SiteID=17
    For Yog.Li - MSFT


    Please also send me the following log files:

     

    1. C:\Windows\WindowsUpdate.log file from one of the client
    2. C:\Program Files\Update Services\LogFiles\SoftwareDistribution.log from SCE server
    3. C:\Program Files\Update Services\LogFiles\Change.log from SCE server

     

    Thanks.

    Thursday, April 24, 2008 10:59 AM
    Moderator
  •  

    Looking over the snippet of log file in this post, it appears that the Windows Update Agent was able to perform a successful sync.  Other than using ClientDiag.exe to see this error, do your managed systems appear to be syncing successfully?

     

    That specific error generates when the ClientDiag.exe application was unable to connect to the self-update tree.  There are a number of reasons why this happened; an internet search on this string indicates variants from IPSec through ClientDiag not honoring the same connection settings the Windows Update Agent uses. 

     

    Your intial steps (checking the self-update tree directly), as well as seeing what appears to be a successful dectection from an agent lead me to believe that the tool is throwing a false negative to you.  I can let the owners of the tool know this, but before deeper diagnostics happen, let's determine if your agents have a problem. 

     

    /Ty

     

     

    Wednesday, May 21, 2008 8:03 PM
  • Was there ever a solution to this problem? I am having the same exact problem.
    I successfully deployed SCE agents to the clients. I can scan the clients through SCE and it shows they need updates. However the clients cannot download the updates.
    I can visit the WSUS URL as RVenes was able to but I can't get the updates. Whenever it tries to download one it gets error 0x80072efd.

    Help?

    No firewalls anywhere, this problem even occurs on the SCE/WSUS server itself.
    Tuesday, July 7, 2009 9:09 PM
  • I have the same issue except some updates will install while others will not. There doesn't seem to be a pattern. Very frustrated with the SCE product.


    Monday, July 13, 2009 7:54 PM
  • Hello,

    Error 0x80072efd translates to ERROR_INTERNET_CANNOT_CONNECT which means 'The attempt to connect to the server failed'.

    Open the WindowsUpdate.log and find out on which server the agent was looking for updates. Is it the FQDN name of your SCE server? If yes, navigate to https://<SCEServerFQDN>:8531/SimpleAuthWebService/SimpleAuth.asmx. If you do not see a page with ping and getauthorizationcookie displayed then your proxy server settings are the root cause of this issue. Use the following commands to delete the proxy. Press ENTER after each command.

    Proxycfg -u
    proxycfg -d
    net stop wuauserv
    net start wuauserv


    If it is not your SCE server, I'm afraid some other GPOs or program changed the configuration. Run rsop.msc on clients to check whether the GPOs: SCE Managed Computers Group Policy& System Center Essentials All Computers Policy had been applied correctly on clients.

    Check that the client is configured to use the SCE server for Windows Updates.  The following registry entries should be set to https://<SCEServerFQDN>:8531

    HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\windows\WindowsUpdate\WUServer
    HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\windows\WindowsUpdate\WUStatusServer


    After everything done, run wuauclt /detectnow and wuauclt /reportnow on the SCE agents.

    Besides, we'd recommend that you start up a new thread for this issue. We generally focus on one topic in one thread because in this way it will be better for other community members to participate in the discussion, and to search/find specific answers more efficiently in the future.


    Thanks,


    Yog Li - MSFT
    Tuesday, July 14, 2009 8:51 AM
    Moderator
  • Hi everybody,

    i was stuck on this issue for 2 days, i read every posts on this forum and i've tried all your suggestions above...finally i found how to solve the Client Diagnostic "WinHttpDownloadFileToMemory" error and the windowsupdate.log 0x80072efd error !

    Manually install the Windows Update Agent (i used vers 6.2.29.0), you can download it from microsoft, then stop and restart wuauserv service. on the next sync the agent will upgrade and resync, starting downloading updates !

    I solve the issue on 3 different machines of my network reporting that error !

    Bye

    Thursday, September 20, 2012 9:15 AM