Labels

Dienstag, 21. Juni 2011

Wrong proxy settings cause WSUS Issues

In recent days I have had a serious problem with my WSUS server. A few of my clients are submitted no more status report to the server. I could not remember to made changes ​​to the server or the group policy. In all the forums and WSUS web pages I read "Use the WSUS server and client diagnostic programs". I've made​​. Everything perfect.
After the tip once again to look into the event log and another few minutes searching, I came across the log files generated by the client in C: \ Windows named "WindowsUpdate.log". Who would have thought.
Okay let's see.

Here is a small excerpt from the interesting part, where it can be assumed the error.


 
2011-06-15          07:35:09:180      1056      a7c         Agent     ** START **  Agent: Finding updates [CallerId = AutomaticUpdates]
2011-06-15          07:35:09:180      1056      a7c         Agent     *********
2011-06-15          07:35:09:180      1056      a7c         Agent       * Online = Yes; Ignore download priority = No
2011-06-15          07:35:09:180      1056      a7c         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"
2011-06-15          07:35:09:180      1056      a7c         Agent       * ServiceID = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7} Managed
2011-06-15          07:35:09:180      1056      a7c         Agent       * Search Scope = {Machine}
2011-06-15          07:35:09:223      1056      a7c         Misc       Validating signature for C:\WINDOWS\SoftwareDistribution\SelfUpdate\Default\wuident.cab:
2011-06-15          07:35:09:325      1056      a7c         Misc       Microsoft signed: Yes
2011-06-15          07:35:09:339      1056      a7c         Misc       WARNING: WinHttp: SendRequestToServerForFileInformation failed with 0x801901f6
2011-06-15          07:35:09:339      1056      a7c         Misc       WARNING: WinHttp: ShouldFileBeDownloaded failed with 0x801901f6
2011-06-15          07:35:09:339      1056      a7c         Misc       WARNING: DownloadFileInternal failed for http://WsusServer/selfupdate/wuident.cab: error 0x801901f6
2011-06-15          07:35:09:339      1056      a7c         Setup     FATAL: IsUpdateRequired failed with error 0x80244021
2011-06-15          07:35:09:339      1056      a7c         Setup     WARNING: SelfUpdate: Default Service: IsUpdateRequired failed: 0x80244021
2011-06-15          07:35:09:339      1056      a7c         Setup     WARNING: SelfUpdate: Default Service: IsUpdateRequired failed, error = 0x80244021
2011-06-15          07:35:09:339      1056      a7c         Agent       * WARNING: Skipping scan, self-update check returned 0x80244021
2011-06-15          07:35:09:513      1056      a7c         Agent       * WARNING: Exit code = 0x80244021
2011-06-15          07:35:09:513      1056      a7c         Agent     *********
2011-06-15          07:35:09:513      1056      a7c         Agent     **  END  **  Agent: Finding updates [CallerId = AutomaticUpdates]
2011-06-15          07:35:09:513      1056      a7c         Agent     *************
2011-06-15          07:35:09:513      1056      a7c         Agent     WARNING: WU client failed Searching for update with error 0x80244021
2011-06-15          07:35:09:528      1056      aa0         AU          >>##  RESUMED  ## AU: Search for updates [CallId = {158642B7-F0E4-4156-BA96-C96488FA0A2E}]
2011-06-15          07:35:09:528      1056      aa0         AU            # WARNING: Search callback failed, result = 0x80244021
2011-06-15          07:35:09:542      1056      aa0         AU            # WARNING: Failed to find updates with error code 80244021
2011-06-15          07:35:09:542      1056      aa0         AU          #########
2011-06-15          07:35:09:542      1056      aa0         AU          ##  END  ##  AU: Search for updates [CallId = {158642B7-F0E4-4156-BA96-C96488FA0A2E}]
2011-06-15          07:35:09:542      1056      aa0         AU          #############
2011-06-15          07:35:09:542      1056      aa0         AU          AU setting next detection timeout to 2011-06-15 10:35:09
2011-06-15          07:35:12:341      1056      a7c         Report   REPORT EVENT: {7F2FBAC8-EBF6-4682-A973-ACB4EC583C80}               2011-06-15 07:35:09:339+0200              1             148         101         {D67661EB-2423-451D-BF5D-13199E37DF28}           0             80244021                SelfUpdate            Failure   Software Synchronization Windows Update Client failed to detect with error 0x80244021.
2011-06-15          07:39:28:782      1056      30c         AU          Forced install timer expired for scheduled install
2011-06-15          07:39:28:797      1056      30c         AU          UpdateDownloadProperties: 0 download(s) are still in progress.
2011-06-15          07:39:28:797      1056      30c         AU          Setting AU scheduled install time to 2011-06-16 01:00:00
2011-06-15          07:54:23:148      1056      98          PT           WARNING: Cached cookie has expired or new PID is available
2011-06-15          07:54:23:148      1056      98          PT           Initializing simple targeting cookie, clientId = d0e66c72-dba6-41ed-b7f5-fbf5b854606b, target group = , DNS name = PC.Domäne
2011-06-15          07:54:23:148      1056      98          PT             Server URL = http://WsusServer/SimpleAuthWebService/SimpleAuth.asmx
2011-06-15          07:54:23:163      1056      98          PT           WARNING: GetAuthorizationCookie failure, error = 0x80244021, soap client error = 10, soap error code = 0, HTTP status code = 502
2011-06-15          07:54:23:163      1056      98          PT           WARNING: Failed to initialize Simple Targeting Cookie: 0x80244021
2011-06-15          07:54:23:163      1056      98          PT           WARNING: PopulateAuthCookies failed: 0x80244021
2011-06-15          07:54:23:163      1056      98          PT           WARNING: RefreshCookie failed: 0x80244021
2011-06-15          07:54:23:163      1056      98          PT           WARNING: RefreshPTState failed: 0x80244021
2011-06-15          07:54:23:163      1056      98          PT           WARNING: PTError: 0x80244021
2011-06-15          07:54:23:163      1056      98          Report   WARNING: Reporter failed to upload events with hr = 80244021.
2011-06-15          08:17:34:180      1056      940         PT           WARNING: Cached cookie has expired or new PID is available
2011-06-15          08:17:34:180      1056      940         PT           Initializing simple targeting cookie, clientId = d0e66c72-dba6-41ed-b7f5-fbf5b854606b

So I got the idea for the error code "0x80244021" to search.
Here are the results.
http://support.microsoft.com/kb/896226/de
The first surprise was big, because WSUS is at the same network as the clients. Then I remembered a setting that I had recently changed.
It is called Proxy Auto Configuration. I activated it and gave the information to further the goal of wpad.dat files via DHCP to the computer. After disabling the feature and then "wuauclt / detectnow" could be seen the next day that the clients could pull back your diligent updates.

Now I'll probably employ me again with the script to the WPAD file.
I hope I could help you with your troubleshooting a bit.

Greetings Sascha