询问者
windowsupdate.log中有个error 0x80004002错误

问题
全部回复
-
客户端还未加入WSUS服务器。
下面介绍了分别通过组策略配置和修改注册表两种方式来配置 WSUS (Windows Server Update Services) 客户端的方法。
组策略配置
单击“开始”->“运行”,输入 gpedit.msc ,打开组策略窗口。
右键单击选中“计算机配置”->“管理模板”,选择“添加/删除模板”。
在“添加/删除模板”窗口中选择“添加”。
在“策略模板”中选择“wuau.adm”,并选择“打开”。
选择“关闭”,关闭“添加/删除模板”窗口。
选择“计算机配置”->“管理模板”->“Windows 组件”->“Windows Update”,并选择“配置自动更新”。
在“配置自动更新”的属性窗口中,选择“启用”,并选择“确定”。
在“指定 Intranet Microsoft 更新服务器位置”的属性窗口中,选择“启用”,并在“设置检测更新的 Intranet 更新服务:”框中输入“http://wsus.nenu.edu.cn”,在“设置Intranet统计服务器:”框中输入“http://wsus.nenu.edu.cn”,并选择确定。原有的 SUS 用户无需更改其他设置,只需将这里的服务器更改为我们的服务器就能获得网管会提供的 WSUS 服务了。
点击确定后即可,然后关闭组策略窗口。
如果不想等待更新服务自动运行,可以在“开始”->“运行”处输入 wuauclt.exe /detectnow 命令,以立即启动WSUS服务。
注:WSUS 服务为后台执行服务,客户端无法立即查看执行状态,可以通过网卡指示灯来粗略判断更新程序是否在运行。
修改注册表
其中的内容含义如下:
使用 WSUS 服务,dword:00000000 为禁止使用
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU]
"UseWUServer"=dword:00000001
WSUS 服务器和状态统计服务器均使用 你的WSUS服务器IP
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate]
"WUServer"="http://WSUS SERVER IP或域名"
"WUStatusServer"="http://WSUS SERVER IP或域名"- 已建议为答案 Alexis ZhangMVP, Moderator 2012年8月20日 3:45
-
谢谢你的回复,但是我公司是用域策略来发布wsus服务器的,我在wsus客户端的注册表中查阅的设置是正确的,
我的wsus服务器的ip是193.28.143.60
并且在windowsupdatelog中也有wsus服务器的记录,记录如下:
2008-10-07 11:19:23:424 1100 138 AU AU Restart required....
2008-10-07 11:33:35:098 1100 138 AU ########### AU: Uninitializing Automatic Updates ###########
2008-10-07 11:33:35:254 1100 138 Service *********
2008-10-07 11:33:35:254 1100 138 Service ** END ** Service: Service exit [Exit code = 0x240001]
2008-10-07 11:33:35:254 1100 138 Service *************
2008-10-07 11:33:38:097 1100 c8c Misc =========== Logging initialized (build: 7.1.6001.65, tz: +0800) ===========
2008-10-07 11:33:38:097 1100 c8c Misc = Process: C:\WINDOWS\System32\svchost.exe
2008-10-07 11:33:38:097 1100 c8c Misc = Module: C:\WINDOWS\system32\wuaueng.dll
2008-10-07 11:33:38:097 1100 c8c Service *************
2008-10-07 11:33:38:097 1100 c8c Service ** START ** Service: Service startup
2008-10-07 11:33:38:097 1100 c8c Service *********
2008-10-07 11:33:38:128 1100 c8c Agent * WU client version 7.1.6001.65
2008-10-07 11:33:38:128 1100 c8c Agent * Base directory: C:\WINDOWS\SoftwareDistribution
2008-10-07 11:33:38:128 1100 c8c Agent * Access type: No proxy
2008-10-07 11:33:38:128 1100 c8c Agent * Network state: Connected
2008-10-07 11:34:23:179 1100 c8c Agent *********** Agent: Initializing Windows Update Agent ***********
2008-10-07 11:34:23:179 1100 c8c Agent *********** Agent: Initializing global settings cache ***********
2008-10-07 11:34:23:179 1100 c8c Agent * WSUS server: http://193.28.143.60
2008-10-07 11:34:23:179 1100 c8c Agent * WSUS status server: http://193.28.143.60
2008-10-07 11:34:23:179 1100 c8c Agent * Target group: 物流部
2008-10-07 11:34:23:179 1100 c8c Agent * Windows Update access disabled: No
2008-10-07 11:34:23:804 1100 c8c DnldMgr Download manager restoring 0 downloads
2008-10-07 11:34:23:804 1100 c8c Agent * Failed to load persisted download calls, error = 0x80004002
2008-10-07 11:34:24:367 1100 c8c Agent WARNING: DeleteVolatileServices::GetServiceList failed with 0x80004002.
2008-10-07 11:34:25:116 1100 c8c DnldMgr FATAL: DM:CAgentDownloadManager::RestoreDownloadJobs: GetSession failed with 0x80004002.
2008-10-07 11:34:25:116 1100 c8c DnldMgr FATAL: DM:CAgentDownloadManager:elayedInit: RestoreDownloadJobs failed with 0x00000000.
2008-10-07 11:34:25:132 1100 c8c AU ########### AU: Initializing Automatic Updates ###########
2008-10-07 11:34:25:132 1100 c8c AU AU setting next detection timeout to 2008-10-07 03:34:25
2008-10-07 11:34:25:929 1100 c8c Agent WARNING: GetServiceList failed with error 0x80004002.
2008-10-07 11:34:25:929 1100 c8c AU WARNING: QueryRegisteredProvider failed with error 0x80004002
2008-10-07 11:34:25:929 1100 c8c AU # WSUS server: http://193.28.143.60
2008-10-07 11:34:25:929 1100 c8c AU # Detection frequency: 22
2008-10-07 11:34:25:929 1100 c8c AU # Target group: 物流部
2008-10-07 11:34:25:929 1100 c8c AU # Approval type: Scheduled (Policy)
2008-10-07 11:34:25:929 1100 c8c AU # Scheduled install day/time: Every day at 15:00
2008-10-07 11:34:25:929 1100 c8c AU # Auto-install minor updates: Yes (User preference)
2008-10-07 11:34:27:288 1100 c8c AU FATAL: Failed to get session from datastore, error = 0x80004002
2008-10-07 11:34:27:288 1100 c8c AU FATAL: Failed to Unserialize from data store, error = 0x80004002
2008-10-07 11:34:27:288 1100 c8c AU # WARNING: Exit code = 0x80004002
2008-10-07 11:34:27:288 1100 c8c AU ########### AU: Uninitializing Automatic Updates ###########
2008-10-07 11:34:27:288 1100 c8c AU WARNING: InitAUComponents Failed, will restart AU in 30 mins, error = 0x80004002
2008-10-07 11:34:27:288 1100 c8c AU AU Restart required....
2008-10-07 11:34:27:288 1100 c8c Report *********** Report: Initializing static reporting data ***********
2008-10-07 11:34:27:288 1100 c8c Report * OS Version = 5.1.2600.2.0.65792
2008-10-07 11:34:28:287 1100 c8c Report * Computer Brand = Dell Inc
2008-10-07 11:34:28:287 1100 c8c Report * Computer Model = Dimension C521
2008-10-07 11:34:28:303 1100 c8c Report * Bios Revision = 1.0.3
2008-10-07 11:34:28:303 1100 c8c Report * Bios Name = )Phoenix - Award WorkstationBIOS v6.00PG
2008-10-07 11:34:28:303 1100 c8c Report * Bios Release Date = 2006-10-02T00:00:00
2008-10-07 11:34:28:303 1100 c8c Report * Locale ID = 2052
2008-10-07 11:34:29:225 1100 a40 DnldMgr FATAL: DM:CAgentDownloadManager::CheckAllCallDownloadStates: GetSession failed with 0x80004002.
2008-10-07 11:34:29:756 1100 a40 DnldMgr FATAL: DM:CAgentDownloadManager:urgeExpiredFiles: GetSession failed with 0x80004002.
2008-10-07 11:34:30:474 1100 a40 DnldMgr FATAL: DM:CAgentDownloadManager:urgeExpiredUpdates: GetSession failed with 0x80004002.
-
请检查当前WSUS服务器的IIS上是否有其它Web存在,另:在客户端上检查注册表键值:
"WUServer"="http://WSUS SERVER IP或域名:Port"
"WUStatusServer"="http://WSUS SERVER IP或域名:Port"Joklong
- 已建议为答案 Alexis ZhangMVP, Moderator 2012年8月20日 3:46