未加星标

Quickly analyze Windows Update errors

字体大小 | |
[系统(windows) 所属分类 系统(windows) | 发布者 店小二04 | 时间 2016 | 作者 红领巾 ] 0人收藏点击收藏

It is unclear how many windows users and administrators run into updating issues on Windows machines regularly or occasionally.

Updating issues can be frustrating, especially if the system lands in an endless cycle of downloads, installs, reboots and rollbacks that frustrate many users and system admins.

The past year alone has seen several borked updates that caused issues on Windows 10 machines. The Windows 10 updatesKB3081424 andKB3194496 caused issues on PCs around the world for instance.

Microsoft released the Reset Windows Update Agent , a tool designed to fix common updating errors. While that works well if Windows Update does not work correctly, the tool won't work if the issues are caused by updates or on Microsoft's side.

Quickly check Windows Update errors

Windows keeps an update log that lists update related events. You find those logs under the path C:\Windows\Logs\WindowsUpdate. The files are Event Trace Log files that you can analyze using various tools.

While that is the case, you may also use a simple PowerShell command to turn those Event Trace Log files into a single text log that you can then parse easily for errors or issues related to updates on Windows.

This is how that is done:

Tap on the Windows-key, type cmd.exe, hold down Shift and Ctrl, and hit the Enter-key. This opens an elevated command prompt. Type powershell. Run the command get-WindowsUpdateLog -verbose.

The Event Trace Log files are parsed which takes a moment. The time it takes depends largely on the number and size of log files in the logs directory.

A WindowsUpdate.log file is created on the desktop by the process. It may take up several Megabytes of space. You may load it once the process finishes in any text editor. I suggest you use a third-party editor such as NotePad++ for that and not the default Notepad application.

While you may go through the log line by line, you may speed things up doing one of the following things:

Since the log file is ordered chronologically, you may jump to the date and time you experienced the issues. The second option that you have is to hit F3 to open the search box and search for "error". This jumps to log entries marked as such. This should provide you with information on why an update failed on the device.

While it may take a while to go through the Windows Update log, it may be one of the best ways to find out why an update failed on a device.

Now You: What do you do when an update fails or causes issues?

Summary

Article Name

Quickly analyze Windows Update errors

Description

Find out how to quickly check the Windows Update log for update related issues or errors without using the Event Viewer or third-party tools.

Author

Martin Brinkmann

Publisher

Ghacks Technology News

Logo

本文系统(windows)相关术语:三级网络技术 计算机三级网络技术 网络技术基础 计算机网络技术

主题: WindowsPowerShell
分页:12
转载请注明
本文标题:Quickly analyze Windows Update errors
本站链接:http://www.codesec.net/view/482150.html
分享请点击:


1.凡CodeSecTeam转载的文章,均出自其它媒体或其他官网介绍,目的在于传递更多的信息,并不代表本站赞同其观点和其真实性负责;
2.转载的文章仅代表原创作者观点,与本站无关。其原创性以及文中陈述文字和内容未经本站证实,本站对该文以及其中全部或者部分内容、文字的真实性、完整性、及时性,不作出任何保证或承若;
3.如本站转载稿涉及版权等问题,请作者及时联系本站,我们会及时处理。
登录后可拥有收藏文章、关注作者等权限...
技术大类 技术大类 | 系统(windows) | 评论(0) | 阅读(28)