文章编号: 902093 - 最后修改: 2009年8月30日 - 修订: 5.0 如何读取 Windowsupdate.log 的文件本页概要榛樿鎯呭喌涓嬶,Windows 更新客户端记录到以下日志文件的所有交易记录信息: %windir%\Windowsupdate.log 濡傛灉鏀跺埌閿欒娑堟伅 Microsoft Windows Update 网站上或从自动更新服务,您可以使用来解决问题 Windowsupdate.log 日志文件中包含的信息。简介本文介绍如何读取 Windowsupdate.log 的文件。 若要查看该日志文件,请按照下列步骤操作:
更多信息重要 此节、 方法,或任务包含告诉您如何修改注册表的步骤。 但是,如果错误地修改注册表,可能会出现严重问题。 因此,请确保仔细按照这些步骤。 添加保护注册表之前备份您修改它。 然后,您可以在发生问题时还原注册表。 有关如何备份和还原注册表的详细信息请单击下面的文章编号,以查看 Microsoft 知识库中相应的文章: 322756?
(http://support.microsoft.com/kb/322756/
)
如何备份和还原在 Windows 注册表 格式按照下表列出了基本的格式。收起该表格
组件下列组件可以写入该 Windowsupdate.log 文件:
如何识别呼叫方确定您遇到该问题的正确的调用方。 渚嬪访问 Windows Update 网站时,您将收到错误,可找到"Windowsupdate"callerID。示例 1在日志文件区分在以下三个调用方之间:2005-06-01 18:30:33 992 58c Agent ************* 2005-06-01 18:30:33 992 58c Agent ** START ** Agent: Finding updates [CallerId = WindowsUpdate] 2005-06-01 18:30:33 992 58c Agent ********* 示例 22005-06-22 13:02:11 1000 594 Agent ************* 2005-06-22 13:02:11 1000 594 Agent ** START ** Agent: Finding updates [CallerId = MicrosoftUpdate] 2005-06-22 13:02:11 1000 594 Agent ********* 示例 32005-06-02 11:37:18 992 4e8 Agent ************* 2005-06-02 11:37:18 992 4e8 Agent ** START ** Agent: Finding updates [CallerId = AutomaticUpdates] 2005-06-02 11:37:18 992 4e8 Agent ********* 常规配置设置当自动更新服务启动时,Windowsupdate.log 日志文件记录常规服务设置。 第一节可记录以下信息:
2005-06-01 18:30:03 992 810 Service ************* 2005-06-01 18:30:03 992 810 Service ** START ** Service: Service startup 2005-06-01 18:30:03 992 810 Service ********* 2005-06-01 18:30:03 992 810 Agent * WU client version 5.8.0.2468 2005-06-01 18:30:03 992 810 Agent * SusClientId = '071ffd36-f490-4d63-87a7-f7b11866b9fb' 2005-06-01 18:30:03 992 810 Agent * Base directory: C:\WINDOWS.0\SoftwareDistribution 2005-06-01 18:30:03 992 810 Agent * Access type: Named proxy 2005-06-01 18:30:03 992 810 Agent * Default proxy: test:80 2005-06-01 18:30:03 992 810 Agent * Network state: Connected 2005-06-01 18:30:03 992 7a0 Agent *********** Agent: Initializing Windows Update Agent *********** 2005-06-01 18:30:03 992 7a0 Agent *********** Agent: Initializing global settings cache *********** 2005-06-01 18:30:03 992 7a0 Agent * WSUS server: <NULL> 2005-06-01 18:30:03 992 7a0 Agent * WSUS status server: <NULL> 2005-06-01 18:30:03 992 7a0 Agent * Target group: (Unassigned Computers) 2005-06-01 18:30:03 992 7a0 Agent * Windows Update access disabled: No 2005-06-01 18:30:04 992 7a0 DnldMgr Download manager restoring 0 downloads 2005-06-01 18:30:09 3948 918 Misc =========== Logging initialized (build: 5.8.0.2469, tz: -0700) =========== 2005-06-01 18:30:09 3948 918 Misc = Process: C:\Program Files\Internet Explorer\iexplore.exe 2005-06-01 18:30:09 3948 918 Misc = Module: C:\WINDOWS.0\system32\wuweb.dll 在日志文件中查找失败如果您收到一条特定错误消息,Windows Update 网站上的,请按照下列步骤操作:
常见故障的示例第一次搜索键单词"FATAL":2005-06-02 04:32:01 992 158 Setup FATAL: IsUpdateRequired failed with error 0x80072eef 警告 2005-06-02 04:32:01 992 158 Misc WARNING: Send failed with hr = 80072eef. 2005-06-02 04:32:01 992 158 Misc WARNING: SendRequest failed with hr = 80072eef. Proxy List used: <Test:80 > Bypass List used : <(null)> Auth Schemes used : <NTLM;Negotiate (NTLM or Kerberos);> 2005-06-02 04:32:01 992 158 Misc WARNING: WinHttp: SendRequestUsingProxy failed for <http://update.microsoft.com/v6/windowsupdate/redir/wuredir.cab>. error 0x80072eef Windowsupdate.log 文件的基础知识服务启动2005-06-01 18:30:03 992 810 Service ************* 2005-06-01 18:30:03 992 810 Service ** START ** Service: Service startup 2005-06-01 18:30:03 992 810 Service ********* Windows 更新代理显示可用的参数2005-06-01 18:30:03 992 810 Agent * WU client version 5.8.0.2468 2005-06-01 18:30:03 992 810 Agent * SusClientId = '071ffd36-f490-4d63-87a7-f7b11866b9fb' 2005-06-01 18:30:03 992 810 Agent * Base directory: C:\WINDOWS.0\SoftwareDistribution 2005-06-01 18:30:03 992 810 Agent * Access type: Named proxy 2005-06-01 18:30:03 992 810 Agent * Default proxy: test:80 2005-06-01 18:30:03 992 810 Agent * Network state: Connected 2005-06-01 18:30:03 992 7a0 Agent *********** Agent: Initializing Windows Update Agent *********** 2005-06-01 18:30:03 992 7a0 Agent *********** Agent: Initializing global settings cache *********** 2005-06-01 18:30:03 992 7a0 Agent * WSUS server: <NULL> 2005-06-01 18:30:03 992 7a0 Agent * WSUS status server: <NULL> 2005-06-01 18:30:03 992 7a0 Agent * Target group: (Unassigned Computers) 用户通过使用 Microsoft Internet Explorer 访问 Windows Update 网站,并加载 ActiveX 控件2005-06-01 18:30:09 3948 918 Misc =========== Logging initialized (build: 5.8.0.2469, tz: -0700) =========== 2005-06-01 18:30:09 3948 918 Misc = Process: C:\Program Files\Internet Explorer\iexplore.exe 2005-06-01 18:30:09 3948 918 Misc = Module: C:\WINDOWS.0\system32\wuweb.dll 安装组件检查安装的 Windows 更新客户端,若要查看 Windows 更新客户端必须进行更新的版本2005-06-01 18:30:09 3948 918 Setup *********** Setup: Checking whether self-update is required *********** 2005-06-01 18:30:09 3948 918 Setup * Inf file: C:\WINDOWS.0\SoftwareDistribution\WebSetup\wusetup.inf 2005-06-01 18:30:09 3948 918 Setup Update required for C:\WINDOWS.0\system32\cdm.dll: target version = 5.8.0.2468, required version = 5.8.0.2468 2005-06-01 18:30:09 3948 918 Setup * IsUpdateRequired = No 客户端单击"快速"或"自定义"按钮以开始搜索2005-06-01 18:30:32 3948 918 COMAPI -------------
2005-06-01 18:30:32 3948 918 COMAPI -- START -- COMAPI: Search [ClientId = WindowsUpdate]
2005-06-01 18:30:32 3948 918 COMAPI ---------
2005-06-01 18:30:32 3948 918 COMAPI - Online = Yes; Ignore download priority = No
2005-06-01 18:30:32 3948 918 COMAPI - Criteria = "IsInstalled=0 and IsHidden=1"
2005-06-01 18:30:32 3948 918 COMAPI - ServiceID = {9482F4B4-E343-43B6-B170-9A65BC822C77}
2005-06-01 18:30:33 3948 918 COMAPI <<-- SUBMITTED -- COMAPI: Search [ClientId = WindowsUpdate] 2005-06-01 18:30:33 992 58c Agent ************* 2005-06-01 18:30:33 992 58c Agent ** START ** Agent: Finding updates [CallerId = WindowsUpdate] 2005-06-01 18:30:33 992 58c Agent ********* 协议 talker 与客户端计算机上本地数据库同步更新的列表2005-06-02 12:09:28 992 4e8 PT +++++++++++ PT: Synchronizing server updates +++++++++++
2005-06-02 12:09:28 992 4e8 PT + ServiceId = {9482F4B4-E343-43B6-B170-9A65BC822C77}, Server URL = https://update.microsoft.com/v6/ClientWebService/client.asmx
2005-06-02 12:09:35 992 4e8 PT +++++++++++ PT: Synchronizing extended update info +++++++++++
2005-06-02 12:09:35 992 4e8 PT + ServiceId = {9482F4B4-E343-43B6-B170-9A65BC822C77}, Server URL = https://update.microsoft.com/v6/ClientWebService/client.asmx
2005-06-02 12:09:36 992 4e8 Agent * Found 0 updates and 10 categories in search
Windows 更新代理搜索可用更新2005-06-02 12:09:36 992 4e8 Agent *************
2005-06-02 12:09:36 992 4e8 Agent ** START ** Agent: Finding updates [CallerId = WindowsUpdate]
2005-06-02 12:09:36 992 4e8 Agent *********
2005-06-02 12:09:36 992 4e8 Agent * Added update {AC94DB3B-E1A8-4E92-9FD0-E86F355E6A44}.100 to search result
2005-06-02 12:09:37 992 4e8 Agent * Found 6 updates and 10 categories in search用户提供一个更新,然后选择要安装一个更新2005-06-02 12:10:41 1660 d0c COMAPI -------------
2005-06-02 12:10:41 1660 d0c COMAPI -- START -- COMAPI: Install [ClientId = WindowsUpdate]
2005-06-02 12:10:41 1660 d0c COMAPI ---------
2005-06-02 12:10:41 1660 d0c COMAPI - Allow source prompts: Yes; Forced: No; Force quiet: No
2005-06-02 12:10:41 1660 d0c COMAPI - Updates in request: 1
2005-06-02 12:10:41 1660 d0c COMAPI - ServiceID = {9482F4B4-E343-43B6-B170-9A65BC822C77}
2005-06-02 12:10:41 1660 d0c COMAPI - Updates to install = 1
2005-06-02 12:10:41 1660 d0c COMAPI <<-- SUBMITTED -- COMAPI: Install [ClientId = WindowsUpdate]
Windows 更新代理启动安装过程2005-06-02 12:10:41 992 58c Agent *************
2005-06-02 12:10:41 992 58c Agent ** START ** Agent: Installing updates [CallerId = WindowsUpdate]
2005-06-02 12:10:41 992 58c Agent *********
2005-06-02 12:10:41 992 58c Agent * Updates to install = 1
2005-06-02 12:10:41 992 58c Agent * Title = <NULL>
2005-06-02 12:10:41 992 58c Agent * UpdateId = {19813D2E-0144-43CA-AEBB-71263DFD81FD}.100
2005-06-02 12:10:41 992 58c Agent * Bundles 1 updates:
2005-06-02 12:10:41 992 58c Agent * {08D9F87F-7EA2-4523-9F02-0931E291908E}.100
Windows 更新代理调用相应的处理程序通过模拟登录的用户安装程序包2005-06-02 12:10:46 992 58c Handler Attempting to create remote handler process as Machine\User in session 0
2005-06-02 12:10:46 992 58c DnldMgr Preparing update for install, updateId = {08D9F87F-7EA2-4523-9F02-0931E291908E}.100.
2005-06-02 12:10:47 3348 70c Handler :::::::::::::
2005-06-02 12:10:47 3348 70c Handler :: START :: Handler: Command Line Install
2005-06-02 12:10:47 3348 70c Handler :::::::::
2005-06-02 12:10:47 3348 70c Handler : Updates to install = 1
2005-06-02 12:11:01 3348 70c Handler : Command line install completed. Return code = 0x00000000, Result = Succeeded, Reboot required = false
如何启用扩展日志记录Microsoft 产品支持服务可能会要求您打开详细日志记录。 若要鑻 ヨ 鎵撳紑璇 ︾ 粏鏃 ュ 織璁板綍,添加下面的注册表项,具有两个值:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Trace 此注册表项打开 %systemroot%\Windowsupdate.log 文件的一个扩展跟踪。 此外,此注册表项打开任何附加调试器的一个扩展跟踪。 值名称: 标记 值类型: REG_DWORD 值数据: 00000007 值名称: 级别 值类型: REG_DWORD 值数据: 00000004
机器翻译注意:这篇文章是由无人工介入的微软自动的机器翻译软件翻译完成。微软很高兴能同时提供给您由人工翻译的和由机器翻译的文章, 以使您能使用您的语言访问所有的知识库文章。然而由机器翻译的文章并不总是完美的。它可能存在词汇,语法或文法的问题,就像是一个外国人在说中文时总是可能犯这样的错误。虽然我们经常升级机器翻译软件以提高翻译质量,但是我们不保证机器翻译的正确度,也不对由于内容的误译或者客户对它的错误使用所引起的任何直接的, 或间接的可能的问题负责。 点击这里察看该文章的英文版: 902093?
(http://support.microsoft.com/kb/902093/en-us/
)
Microsoft和/或其各供应商对于为任何目的而在本服务器上发布的文件及有关图形所含信息的适用性,不作任何声明。 所有该等文件及有关图形均"依样"提供,而不带任何性质的保证。Microsoft和/或其各供应商特此声明,对所有与该等信息有关的保证和条件不负任何责任,该等保证和条件包括关于适销性、符合特定用途、所有权和非侵权的所有默示保证和条件。在任何情况下,在由于使用或运行本服务器上的信息所引起的或与该等使用或运行有关的诉讼中,Microsoft和/或其各供应商就因丧失使用、数据或利润所导致的任何特别的、间接的、衍生性的损害或任何因使用而丧失所导致的之损害、数据或利润不负任何责任。 | 文章翻译
|

回到顶端
