Home  >  Article  >  System Tutorial  >  Read the Event Viewer Logs for Check Desk in Windows 10

Read the Event Viewer Logs for Check Desk in Windows 10

PHPz
PHPzOriginal
2024-08-02 02:52:26831browse

This post will show how to read the Event Viewer logs for Check Disk scan results in Windows 10.

  • Way 1: To Read the Event Viewer Logs for Chkdsk in Event Viewer
  • Way 2: To Read Latest Event Viewer Logs for Chkdsk in PowerShell

Way 1: To Read the Event Viewer Logs for Check Disk in Event Viewer

Event Viewer is a Microsoft Management Console snap-in that allows you to browse and manage event logs. When you check a drive for errors, the detail results are stored as logs in Event Viewer, the steps below will show you how to read those logs.

Step 1: Open Event Viewer.

Press Win + R keys, type eventvwr.msc and then click OK to open Event Viewer.

Read the Event Viewer Logs for Check Desk in Windows 10

Step 2: Expand open Windows Logs > Application. Then move to the right pane, click on Filter Current Log.

Read the Event Viewer Logs for Check Desk in Windows 10

Step 3: Check in Chkdsk and Wininit items in the Event sources from the drop-down menu.

Read the Event Viewer Logs for Check Desk in Windows 10

Step 4: Close the drop down sources by clicking on the blank area of Filter Current Log window, then click OK.

Read the Event Viewer Logs for Check Desk in Windows 10

Step 5: You will now see all available event logs for Chkdsk listed in the middle pane of Event Viewer.

Read the Event Viewer Logs for Check Desk in Windows 10

You can use the scroll bar on the right when reading information.

Way 2: To Read the Latest Event Viewer Logs for Chkdsk in PowerShell

You can read the Event Viewer log for Chkdsk (Check Disk) scan results via PowerShell command.

Step 1: Open the Windows PowerShell.

Press Win + R keys to bring up the Run dialog, then type powershell and then click OK.

Read the Event Viewer Logs for Check Desk in Windows 10

Step 2: Copy and paste the command below you want to use into PowerShell, and then press Enter key.

Command to read Chkdsk log in PowerShell:

get-winevent -FilterHashTable @{logname="Application"; id="1001"}| ?{$_.providername –match "wininit"} | fl timecreated, message

Read the Event Viewer Logs for Check Desk in Windows 10

The following command is used to create CHKDSKResults.txt file on your desktop containing log:

get-winevent -FilterHashTable @{logname="Application"; id="1001"}| ?{$_.providername –match "wininit"} | fl timecreated, message | out-file DesktopCHKDSKResults.txt

Read the Event Viewer Logs for Check Desk in Windows 10

Step 3: You can now read the latest Event Viewer log for Chkdsk.

Read the Event Viewer Logs for Check Desk in Windows 10

The above is the detailed content of Read the Event Viewer Logs for Check Desk in Windows 10. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn