Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 5989
  • Last Modified:

WSUS Error - WSUS Diagnostic Tool - WinhttpDownloadFiletoMemory Error

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
Anti-Mhz
Asked:
Anti-Mhz
  • 7
  • 6
1 Solution
 
arnoldCommented:
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
 
Anti-MhzAuthor Commented:
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
 
arnoldCommented:
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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
Anti-MhzAuthor Commented:
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
 
arnoldCommented:
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
 
Anti-MhzAuthor Commented:
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
 
arnoldCommented:
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
 
Anti-MhzAuthor Commented:
WSUS Admin, Computers view - http://i33.tinypic.com/2pyrkb7.jpg

IIS View for WSUS Folder: http://i35.tinypic.com/4j8i9e.jpg
0
 
arnoldCommented:
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
 
Anti-MhzAuthor Commented:
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
 
arnoldCommented:
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
 
Anti-MhzAuthor Commented:
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
 
arnoldCommented:
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 7
  • 6
Tackle projects and never again get stuck behind a technical roadblock.
Join Now