Solved

WSUS Error - WSUS Diagnostic Tool - WinhttpDownloadFiletoMemory Error

Posted on 2008-10-16
13
5,467 Views
Last Modified: 2008-11-19
I'm trying to set up a WSUS 3.0 SP1 on my network. This is the Diagnostic tool's output from the client PC:



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.2.6001.784. . . . . . . . . . . . PASS
                This version is WSUS 2.0

Checking AU Settings
        AU Option is 3 : Notify Prior to 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 = http://server2:8530
                WUStatusServer = http://server2:8530
        UseWuServer is enabled. . . . . . . . . . . . . . . . . PASS
        Connection to server. . . . . . . . . . . . . . . . . . PASS

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

No Error description could be found

Press Enter to Complete



Any ideas?

0
Comment
Question by:Anti-Mhz
  • 7
  • 6
13 Comments
 
LVL 76

Expert Comment

by:arnold
ID: 22733210
This might be the issue:
"Wuaueng.dll version 7.2.6001.784. . . . . . . . . . . . PASS
                This version is WSUS 2.0
"
The error does not say what file it tried to download/load.

Test one system by changing the system's local policy to use the WSUS server for windows update.  The system after a few check ins should bring the windows update components to a more recent version which might cure the issue.
Do not approve any updates.  Just let the system check in and see which of the available updates on your system it needs.
0
 
LVL 1

Author Comment

by:Anti-Mhz
ID: 22787012
After waiting for some time , the computers checked in and show up under All computers in WSUS admin interface, however im facing the next issue.


None of the computers report in with the status automatically or manually.  Im now tryin to figure out why is that happening.


All PC's show status: Not Yet Reported
0
 
LVL 76

Expert Comment

by:arnold
ID: 22789738
It depends on what you set in the GPO for frequency of checks.  Are you managing the computer group membership through GPO/registry or through WSUS?

I think the systems have to connect at least twice.
Try this on one of the computers, run wuauclt /detectnow.

Also check the contents of c:\windows\windowsupdate.log or something like that.
0
 
LVL 1

Author Comment

by:Anti-Mhz
ID: 22831734
now i got 2 system at 99% and like 13 systems at 0%

i ran wuauclt /detectnow on the test client and restarted/reconnected the system twice

Here's a copy of windowsupdate.log from that machine (last 50 lines)

2008-10-29      09:45:56:406      1416      bc4      AU      Triggering AU detection through DetectNow API
2008-10-29      09:45:56:406      1416      bc4      AU      Triggering Online detection (non-interactive)
2008-10-29      09:45:56:406      1416      544      AU      #############
2008-10-29      09:45:56:406      1416      544      AU      ## START ##  AU: Search for updates
2008-10-29      09:45:56:406      1416      544      AU      #########
2008-10-29      09:45:56:406      1416      544      AU      <<## SUBMITTED ## AU: Search for updates [CallId = {2CEEEFA0-1D08-4C4B-9B99-1DC71A3121A6}]
2008-10-29      09:45:56:406      1416      ff0      Agent      *************
2008-10-29      09:45:56:406      1416      ff0      Agent      ** START **  Agent: Finding updates [CallerId = AutomaticUpdates]
2008-10-29      09:45:56:406      1416      ff0      Agent      *********
2008-10-29      09:45:56:406      1416      ff0      Agent        * Online = Yes; Ignore download priority = No
2008-10-29      09:45:56:406      1416      ff0      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-10-29      09:45:56:406      1416      ff0      Agent        * ServiceID = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7}
2008-10-29      09:45:56:406      1416      ff0      Agent        * Search Scope = {Machine}
2008-10-29      09:45:56:437      1416      ff0      Misc      Validating signature for C:\WINDOWS\SoftwareDistribution\SelfUpdate\Default\wuident.cab:
2008-10-29      09:45:56:468      1416      ff0      Misc       Microsoft signed: Yes
2008-10-29      09:45:58:750      1416      ff0      Misc      WARNING: WinHttp: SendRequestToServerForFileInformation failed with 0x80190194
2008-10-29      09:45:58:750      1416      ff0      Misc      WARNING: WinHttp: ShouldFileBeDownloaded failed with 0x80190194
2008-10-29      09:45:58:750      1416      ff0      Misc      WARNING: DownloadFileInternal failed for http://server2:8530/selfupdate/wuident.cab: error 0x80190194
2008-10-29      09:45:58:750      1416      ff0      Setup      FATAL: IsUpdateRequired failed with error 0x80244019
2008-10-29      09:45:58:750      1416      ff0      Setup      WARNING: SelfUpdate: Default Service: IsUpdateRequired failed: 0x80244019
2008-10-29      09:45:58:750      1416      ff0      Setup      WARNING: SelfUpdate: Default Service: IsUpdateRequired failed, error = 0x80244019
2008-10-29      09:45:58:750      1416      ff0      Agent        * WARNING: Skipping scan, self-update check returned 0x80244019
2008-10-29      09:45:59:218      1416      ff0      Agent        * WARNING: Exit code = 0x80244019
2008-10-29      09:45:59:218      1416      ff0      Agent      *********
2008-10-29      09:45:59:218      1416      ff0      Agent      **  END  **  Agent: Finding updates [CallerId = AutomaticUpdates]
2008-10-29      09:45:59:218      1416      ff0      Agent      *************
2008-10-29      09:45:59:218      1416      ff0      Agent      WARNING: WU client failed Searching for update with error 0x80244019
2008-10-29      09:45:59:218      1416      6a8      AU      >>##  RESUMED  ## AU: Search for updates [CallId = {2CEEEFA0-1D08-4C4B-9B99-1DC71A3121A6}]
2008-10-29      09:45:59:218      1416      6a8      AU        # WARNING: Search callback failed, result = 0x80244019
2008-10-29      09:45:59:218      1416      6a8      AU        # WARNING: Failed to find updates with error code 80244019
2008-10-29      09:45:59:218      1416      6a8      AU      #########
2008-10-29      09:45:59:218      1416      6a8      AU      ##  END  ##  AU: Search for updates [CallId = {2CEEEFA0-1D08-4C4B-9B99-1DC71A3121A6}]
2008-10-29      09:45:59:218      1416      6a8      AU      #############
2008-10-29      09:45:59:218      1416      6a8      AU      AU setting next detection timeout to 2008-10-29 19:45:59
2008-10-29      09:46:03:750      1416      ff0      Report      REPORT EVENT: {AFA7D298-4851-4AC0-94FB-DAD97108D908}      2008-10-29 09:45:58:750-0500      1      148      101      {D67661EB-2423-451D-BF5D-13199E37DF28}      0      80244019      SelfUpdate      Failure      Software Synchronization      Windows Update Client failed to detect with error 0x80244019.

last status reported: not yet reported
0
 
LVL 76

Expert Comment

by:arnold
ID: 22832470
your GPO does not seem to properly define the URL for the updates.

What happens if you place the following in your browser on any of those systems?
http://server2:8530/selfupdate/wuident.cab
Do you get a prompt to save the file?
You might want to change the server2 to server2.addomain.

Double check the IIS configuration on server2 to make sure the URL where the wsus virtual directories such as selfupdate, is accessible through  the http://server2:8530.
0
 
LVL 1

Author Comment

by:Anti-Mhz
ID: 22834230
no prompt on http://server2:8530/selfupdate/wuident.cab
i get 404

http://server2:8530 = directory listing denied


this is what i have in GPO:

Set the intranet update service for detecting updates: http://server2:8530
Set the intranet statistics server: http://server2:8530

This is how my IIS looks like

http://i36.tinypic.com/2zgyw0l.jpg

This is how security is set up for WSUS Administration on 8530
http://i33.tinypic.com/dg536f.jpg
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 76

Expert Comment

by:arnold
ID: 22834359
Please post an image of the expanded WSUS administration site?
If you look in the selfupdate virtual site/folder through iis mmc, what do you have there?

Error 404 deals with missing file or directory.
Check the default site if you have selfupdate virtual folder there.

The missing access to the files might be a symptom that other WSUS related folder/virtual folders are not present under the http://server2:8530 URL.
0
 
LVL 1

Author Comment

by:Anti-Mhz
ID: 22878833
WSUS Admin, Computers view - http://i33.tinypic.com/2pyrkb7.jpg

IIS View for WSUS Folder: http://i35.tinypic.com/4j8i9e.jpg
0
 
LVL 76

Expert Comment

by:arnold
ID: 22888676
Unfortunately, it is not clear whether the file wuident.cab exists in the selfupdate virtual directory.  What does the selfupdate virtual directory point?
The files that should exist there are AU, WSUS3, wuident.cab and iuident.cab

It should point to the installation path of the WSUS ending in:
Update Services\Selfupdate i.e. if you installed in on C drive, the default would be:
c:\program files\Update Services\Selfupdate

Double check whether the two servers that have reported are members of a different OU using a different AU target.
0
 
LVL 1

Author Comment

by:Anti-Mhz
ID: 22897026
i changed selfupdate virtual directory and now it points to c:\program files\Update Services\Selfupdate where I can see the files AU, WSUS3, wuident.cab and iuident.cab

"Double check whether the two servers that have reported are members of a different OU using a different AU target. "

how would I check that?
0
 
LVL 76

Expert Comment

by:arnold
ID: 22898815
Do you use a GPO to differentiate to which WSUS computer group a system belongs?
Or do you use WSUS to specify to which WSUS group (under the computers topic in the WSUS admin)?
What are your WSUS settings?

In a GPO where you set the URL there is a target specification option as well.

 
0
 
LVL 1

Author Comment

by:Anti-Mhz
ID: 22951719
I got most of the workstations to 99% and some to 97%. What does 99% mean in WSUS case? Is it a specific number implying something like "restart required"?
0
 
LVL 76

Accepted Solution

by:
arnold earned 300 total points
ID: 22953038
A percentage less then 100% simply means that there are updates available that have not been installed/approved. An option for updates you do not want to install is to decline the update making the update unavailable.

You should not worry about the percentage reported.  Selecting either computer will provide you with the information as to which updates are still needed.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

#Citrix #POC #XenDesktop #vCenter #VMware #ESX
I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now