事件查看器window日志_查看系统日志时修复“事件查看器无法打开事件日志”

《事件查看器window日志_查看系统日志时修复“事件查看器无法打开事件日志”》

事件查看器window日志

As any geek knows, one of the first things that you do when troubleshooting a Windows problem is look into Event Viewer’s Application or System logs, which typically are rich with information on what the problem is. But what if the event log itself is corrupted?

众所周知,在解决Windows问题时要做的第一件事就是查看事件查看器的应用程序或系统日志,这些日志通常包含有关问题所在的信息。 但是,如果事件日志本身已损坏怎么办?

I came across this exact situation the other day, where I was getting the error “Event Viewer cannot open the event log or custom view. Verify that Event Log service is running. The data is invalid (13)”… but the error only happened when trying to open the System log, while the Application log was working just fine, and restarting Event Log or rebooting didn’t help.

前几天,我碰到了这种情况,当时我收到错误消息: “事件查看器无法打开事件日志或自定义视图。 验证事件日志服务正在运行。 数据无效(13)” ……但仅在尝试打开系统日志时出现了错误,而应用程序日志运行得很好,并且重新启动事件日志或重新启动均无济于事。

What you can do in this situation is clear the system log, saving it to a file in the process. This will usually “reset” the log so that future events will be viewable.

在这种情况下,您可以执行的操作是清除系统日志,并在此过程中将其保存到文件中。 通常,这将“重置”日志,以便将来的事件可见。

Clearing the System Log

清除系统日志

Here’s an example of the error message that I’ve been getting:

这是我收到的错误消息的示例:

《事件查看器window日志_查看系统日志时修复“事件查看器无法打开事件日志”》

You can right-click on any of the logs and choose “Clear Log” from the menu.

您可以右键单击任何日志,然后从菜单中选择“清除日志”。

《事件查看器window日志_查看系统日志时修复“事件查看器无法打开事件日志”》

You’ll want to choose “Save and Clear” when prompted just in case you need to access those events.

出现提示时,您需要选择“保存并清除”,以防万一您需要访问这些事件。

《事件查看器window日志_查看系统日志时修复“事件查看器无法打开事件日志”》

Give the logfile a useful name, and then click the Save button to continue. Note that you probably won’t be able to open the log with Event Viewer, but you could open it in a text editor and try and find some information in it.

为日志文件提供一个有用的名称,然后单击“保存”按钮以继续。 请注意,您可能无法使用“事件查看器”打开日志,但可以在文本编辑器中将其打开,然后尝试在其中找到一些信息。

《事件查看器window日志_查看系统日志时修复“事件查看器无法打开事件日志”》

Now that I’ve cleared the log, you can see that I’m able to view the events in the System log again.

现在,我已经清除了日志,您可以看到我能够再次在系统日志中查看事件。

《事件查看器window日志_查看系统日志时修复“事件查看器无法打开事件日志”》

Extra Note: The problem I was encountering ended up being because I had 9 USB devices plugged into a machine with a very pathetic power supply. Moving the devices onto a Powered USB hub fixed the problem, and I’ve since upgraded the power supply.

特别注意:我遇到的问题最终是因为我将9个USB设备插入了电源非常恶劣的机器中。 将设备移至带电的USB集线器可以解决此问题,此后我就升级了电源。

翻译自: https://www.howtogeek.com/howto/windows-vista/fixing-event-viewer-cannot-open-the-event-log-when-viewing-system-logs/

事件查看器window日志

    原文作者:culul01313
    原文地址: https://blog.csdn.net/culul01313/article/details/108833223
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞