Showing posts with label WSUS. Show all posts
Showing posts with label WSUS. Show all posts

Friday, July 4, 2008

0x8024402C or 0x8024502D error

The 0x8024402C or 0x8024502D error codes typically occur because an incorrect character exists in the proxy override settings
To resolve these errors, remove characters from the proxy exception list, and then clear the proxy cache. To do this, follow these steps:
1. Open Internet Explorer.
2. On the Tools menu, click Internet Options.
3. Click the Connections tab, click LAN Settings, and then click Advance.
4. Delete any entry in the Exceptions section.
5. Quit Internet Explorer.
6. Click Start, click Run, type cmd, and then click OK.
7. Type the following commands. Press ENTER after each command. • proxycfg -d
• net stop wuauserv
• net start wuauserv

Tuesday, July 1, 2008

Error 0x80080008

DnldMgr FATAL: DM:CBitsJob::SetCallbackHandler: SetNotifyInterface failed with 0x80080008.

"%Windir%\WindowsUpdate.log" shows - AU AU Restart required

Restart the service and forced update detection and the error is gone.

DnldMgr Download manager restoring 2 downloads
Agent * Succeeded to load 2 persisted download calls
DnldMgr Retrieved 2 persisted download jobs
DnldMgr * Restored download job.

The computer succesfully updated.

Error 0xC800021F

It looks like the client datastore failed to initialize.

1. Open a CMD prompt on the client.
2. Type "net stop wuauserv" (without quotes) .
3. Type "cd %Windir%\SoftwareDistribution".
4. Type "RD /s /q Datastore" (this will remove the client datastore).
5. Type "net start wuauserv" (without quotes) .
6. Type "wuauclt /detectnow" then check %Windir%\WindowsUpdate.log if it is successful.

OR, just stop the Automatic Updates Service and delete "%Windir%\SoftwareDistribution\DataStore" folder and start Automatic Updates Service and force the update detection (wuauclt /detectnow)

Error 0x80004002

You see the following errors in "%Windir%\WindowsUpdate.log".

FATAL: Failed to get session from datastore, error = 0x80004002
FATAL: Failed to Unserialize from data store, error = 0x80004002
WARNING: Exit code = 0x80004002
WARNING: InitAUComponents Failed, will restart AU in 30 mins, error = 0x80004002
DnldMgr FATAL: DM:CAgentDownloadManager::CheckAllCallDownloadStates: GetSession failed with 0x80004002.

1. If you have a proxy server -

Stop Automatic Update Service - "Net stop wuauserv".
Run the following command: "proxycfg.exe -u".
Start Automatic Update Service - "Net start wuauserv".
Force update detection and see if that works.
2. Re-create the Datastore -

Stop Automatic Update Service - "Net stop wuauserv".
Rename/delete "%Windir%\SoftwareDistribution" folder.
Start Automatic Update Service - "Net start wuauserv".
Force update detection and see if that works.
3. Try to force install WUA.

Download WUA WindowsUpdateAgent20-x86.exe from http://go.microsoft.com/fwlink/?LinkId=43264.
and run the following command: "WindowsUpdateAgent20-x86.exe /wuforce".

Thursday, June 26, 2008

VerifyWUServerURL() failed with hr=0x800710dd

Check in the IIS Manager to see what authentication type is enabled on the directories that are part of the WSUS Server. Windows Integrated Authentication needs to be enabled on the "SimpleAuthWebService", "Content", "ClientWebService", "ReportingWebService" and the "SelfUpdate" folders. After correcting this, all my clients are making successful connections and downloading approved updates, as well as reporting to the server that the client exists and is using the Windows Server Update Services server.

Friday, April 4, 2008

How to Configure Automatic Updates

Configuring Automatic Updates by using Group Policy

The easiest way to configure automatic updates is through the group policy, in environments where this is possible. If group policies (AD) are not available, you can use the registry file which has to be deployed to every machine. This registry file, or group policy template if you're using Active Directory, enables advanced features available with the new WSUS client.

In order to configure client machines using group policy it is necessary to load the latest version of the wuau.adm administrative template. This template is available on Windows 2003 servers or Windows XP machines with Service Pack 2 installed. By default it is stored in C:\WINDOWS\Inf directory.


Configuring automatic updates in a non-AD environment

There are three ways of configuring automatic updates in non-Active Directory environments:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate]

; Define WSUS update server and the status server
"WUServer"="http://msupdate.auckland.ac.nz/"
"WUStatusServer"="http://msupdate.auckland.ac.nz"

; Users in the Users security group are not allowed to approve or
; disapprove changes (change this to 00000001 if you want them to be
; able to approve changes)
"ElevateNonAdmins"=dword:00000000

; Define client target group – important for reports
"TargetGroup"="ITSS"
; This option has to be 1 if client-side targeting is enabled.
"TargetGroupEnabled"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU]

"UseWUServer"=dword:00000001

; Logged users can choose if they want to restart the computer
"NoAutoRebootWithLoggedOnUsers"=dword:00000001

; Enable automatic updates (1 for disable)
"NoAutoUpdate"=dword:00000000

; Following options are available:
; 2 – notify before download
; 3 – automatic download and notify of installation
; 4 – automatic download and scheduled installation
; 5 – automatic updates required, but end users can configure them
"AUOptions"=dword:00000004

; Every day is scheduled (0, otherwise days defined from Sunday – 1, to
; Saturday – 7)
"ScheduledInstallDay"=dword:00000000

; Time of day to install updates – 10 AM (0a in hexadecimal)
"ScheduledInstallTime"=dword:0000000a

; Silently install minor updates
"AutoInstallMinorUpdates"=dword:00000001

; Detection frequency in hours – every 20 hours (14 in hexadecimal)
"DetectionFrequency"=dword:00000014
"DetectionFrequencyEnabled"=dword:00000001

; Time between prompting again for a scheduled restart – 30 minutes (1e
; in hexadecimal)
"RebootRelaunchTimeout"=dword:0000001e
"RebootRelaunchTimeoutEnabled"=dword:00000001

; Warning time after installing updates with a deadline or scheduled
; updates – 15 minutes
"RebootWarningTimeout"=dword:0000000f
"RebootWarningTimeoutEnabled"=dword:00000001

; Time that the WSUS client will wait at startup before applying
; updates from a missed scheduled installation time. This applies only
; to scheduled installations.
"RescheduleWaitTime"=dword:0000001e
"RescheduleWaitTimeEnabled"=dword:00000001

WSUS 2.0 Updation Errors

WSUS 2.0 Updation Errors

The following events are occured while updating wsus 2.0 to wsus 3.0

Event Type: Error
Event Source: Windows Server Update Services
Event Category: Web Services
Event ID: 12012
Description:
The API Remoting Web Service is not working.

Event Type: Error
Event Source: Windows Server Update Services
Event Category: Web Services
Event ID: 12032
Description:
The Server Synchronization Web Service is not working.


Event Type: Error
Event Source: Windows Server Update Services
Event Category: Web Services
Event ID: 12022
Description:
The Client Web Service is not working.

Event Type: Error
Event Source: Windows Server Update Services
Event Category: Web Services
Event ID: 12042
Description:
The SimpleAuth Web Service is not working.

Event Type: Error
Event Source: Windows Server Update Services
Event Category: Web Services
Event ID: 12052
Description:
The DSS Authentication Web Service is not working.


Answer:

Upgrading from WSUS 2.0 to WSUS 3.0 requires the re-entry of the authentication credentials on the proxy configuration page of the WSUS Administration Console after completing the upgrade.

Reconnect to WSUS

Reconnect the Wsus...
you need to delete the identification info from the registry and reboot the PC in order for it to report properly. Here is the relevant information:

HKLM\Software\Microsoft\Windows\CurrentVersion\Windowsupdate
Delete the following entries, if present:
AccountDomainSID
SusClientID
PingID

Reboot.

The appropriate entries will be recreated when the PC reconnects to WUS.

Friday, March 28, 2008

WSUS 3.0 Client not report to server

IF you have facing the problem like the log shows

2008-03-28 12:10:24:947 1152 274 AU ## START ## AU: Search for updates
2008-03-28 12:10:24:947 1152 274 AU #########
2008-03-28 12:10:24:947 1152 274 AU <<## SUBMITTED ## AU: Search for updates [CallId = {C98707A2-D7AF-4D38-A4D5-BAA0482F53E3}]
2008-03-28 12:10:24:947 1152 864 Agent *************
2008-03-28 12:10:24:947 1152 864 Agent ** START ** Agent: Finding updates [CallerId = AutomaticUpdates]
2008-03-28 12:10:24:947 1152 864 Agent *********
2008-03-28 12:10:24:947 1152 864 Agent * Online = Yes; Ignore download priority = No
2008-03-28 12:10:24:947 1152 864 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-03-28 12:10:24:947 1152 864 Agent * ServiceID = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7}
2008-03-28 12:10:24:947 1152 864 Misc Validating signature for C:\WINDOWS\SoftwareDistribution\SelfUpdate\Default\wuident.cab:
2008-03-28 12:10:24:963 1152 864 Misc Microsoft signed: Yes
2008-03-28 12:10:24:979 1152 864 Misc Validating signature for C:\WINDOWS\SoftwareDistribution\SelfUpdate\Default\wuident.cab:
2008-03-28 12:10:24:994 1152 864 Misc Microsoft signed: Yes
2008-03-28 12:10:25:010 1152 864 Misc Validating signature for C:\WINDOWS\SoftwareDistribution\SelfUpdate\Default\wsus3setup.cab:
2008-03-28 12:10:25:025 1152 864 Misc Microsoft signed: Yes
2008-03-28 12:10:25:025 1152 864 Setup *********** Setup: Checking whether self-update is required ***********
2008-03-28 12:10:25:025 1152 864 Setup * Inf file: C:\WINDOWS\SoftwareDistribution\SelfUpdate\Default\wsus3setup.inf
2008-03-28 12:10:25:041 1152 864 Setup Update NOT required for C:\WINDOWS\system32\cdm.dll: target version = 7.1.6001.65, required version = 7.1.6001.65
2008-03-28 12:10:25:041 1152 864 Setup Update NOT required for C:\WINDOWS\system32\wuapi.dll: target version = 7.1.6001.65, required version = 7.1.6001.65
2008-03-28 12:10:25:041 1152 864 Setup Update NOT required for C:\WINDOWS\system32\wuapi.dll.mui: target version = 7.1.6001.65, required version = 7.1.6001.65
2008-03-28 12:10:25:041 1152 864 Setup Update NOT required for C:\WINDOWS\system32\wuauclt.exe: target version = 7.1.6001.65, required version = 7.1.6001.65
2008-03-28 12:10:25:041 1152 864 Setup Update NOT required for C:\WINDOWS\system32\wuaucpl.cpl: target version = 7.1.6001.65, required version = 7.1.6001.65
2008-03-28 12:10:25:041 1152 864 Setup Update NOT required for C:\WINDOWS\system32\wuaucpl.cpl.mui: target version = 7.1.6001.65, required version = 7.1.6001.65
2008-03-28 12:10:25:041 1152 864 Setup Update NOT required for C:\WINDOWS\system32\wuaueng.dll: target version = 7.1.6001.65, required version = 7.1.6001.65
2008-03-28 12:10:25:041 1152 864 Setup Update NOT required for C:\WINDOWS\system32\wuaueng.dll.mui: target version = 7.1.6001.65, required version = 7.1.6001.65
2008-03-28 12:10:25:041 1152 864 Setup Update NOT required for C:\WINDOWS\system32\wucltui.dll: target version = 7.1.6001.65, required version = 7.1.6001.65
2008-03-28 12:10:25:041 1152 864 Setup Update NOT required for C:\WINDOWS\system32\wucltui.dll.mui: target version = 7.1.6001.65, required version = 7.1.6001.65
2008-03-28 12:10:25:041 1152 864 Setup Update NOT required for C:\WINDOWS\system32\SoftwareDistribution\Setup\ServiceStartup\wups.dll\7.1.6001.65\wups.dll: target version = 7.1.6001.65, required version = 7.1.6001.65
2008-03-28 12:10:25:041 1152 864 Setup Update NOT required for C:\WINDOWS\system32\SoftwareDistribution\Setup\ServiceStartup\wups2.dll\7.1.6001.65\wups2.dll: target version = 7.1.6001.65, required version = 7.1.6001.65
2008-03-28 12:10:25:041 1152 864 Setup Update NOT required for C:\WINDOWS\system32\wuweb.dll: target version = 7.1.6001.65, required version = 7.1.6001.65
2008-03-28 12:10:25:041 1152 864 Setup * IsUpdateRequired = No
2008-03-28 12:10:26:709 1152 864 PT +++++++++++ PT: Synchronizing server updates +++++++++++
2008-03-28 12:10:26:709 1152 864 PT + ServiceId = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7}, Server URL = http://sbslche-epo/ClientWebService/client.asmx
2008-03-28 12:10:26:974 1152 864 PT WARNING: Cached cookie has expired or new PID is available
2008-03-28 12:10:26:974 1152 864 PT Initializing simple targeting cookie, clientId = 822799aa-75a6-425a-908f-4556747e5551, target group = , DNS name = sbslche-pc0483.sbslche.com
2008-03-28 12:10:26:974 1152 864 PT Server URL = http://sbslche-epo/SimpleAuthWebService/SimpleAuth.asmx
2008-03-28 12:10:26:974 1152 864 PT WARNING: GetAuthorizationCookie failure, error = 0x80244017, soap client error = 10, soap error code = 0, HTTP status code = 401
2008-03-28 12:10:26:974 1152 864 PT WARNING: Failed to initialize Simple Targeting Cookie: 0x80244017
2008-03-28 12:10:26:974 1152 864 PT WARNING: PopulateAuthCookies failed: 0x80244017
2008-03-28 12:10:26:974 1152 864 PT WARNING: RefreshCookie failed: 0x80244017
2008-03-28 12:10:26:974 1152 864 PT WARNING: RefreshPTState failed: 0x80244017
2008-03-28 12:10:26:974 1152 864 PT WARNING: Sync of Updates: 0x80244017
2008-03-28 12:10:26:974 1152 864 PT WARNING: SyncServerUpdatesInternal failed: 0x80244017
2008-03-28 12:10:26:974 1152 864 Agent * WARNING: Failed to synchronize, error = 0x80244017
2008-03-28 12:10:26:974 1152 864 Agent * WARNING: Exit code = 0x80244017
2008-03-28 12:10:26:974 1152 864 Agent *********
2008-03-28 12:10:26:974 1152 864 Agent ** END ** Agent: Finding updates [CallerId = AutomaticUpdates]
2008-03-28 12:10:26:974 1152 864 Agent *************


Answer:

Just add IUSR_MachineName to users group and restart the IIS.
More help Pls vist: Microsoft