Menu
Is free
check in
the main  /  Installation and Setup / Chkdsk check results. Disc integrity check

CHKDSK check results. Disc integrity check

In the event that when download windows 10 Automatic checks are performed for errors (using the chkdsk utility), the user does not see the results of this check. How to access the log with the results of the disc check?

In Windows 7 and earlier windows versions, Detailed information on the actions performed by the chkdsk utility, displayed directly on the boot screen. In Windows 10 and Windows 8, developers as part of the "Simplification" task for the end user, removed a detailed log, leaving the display of only a total percentage of execution. An experienced user or an administrator may sometimes need to receive information about which errors have been corrected and what changes to the file system have been made. View results automatic check hard disksmade when downloading a computer in Windows 10/8 - you can only with journal windows events EVENT VIEWER).

Open Windows Event Viewer by typing in search event and choosing an application in the list Event Viewer..

In the window that opens, go to the section Windows Logs. -> Application.

Click PCM by section Application and select Menu Find.. Enter in the search string chkdsk. and press Find.next.

The search should go to the first event found with event ID 1001 and source Wininit.. On the tab GENERAL There will be a detailed log with the data of the last disc check.

Checking File System on C:
The Type of the File System Is NTFS.
A Disk Check Has Been Scheduled.
Windows Will Now Check The Disk.
Stage 1: EXAMINING BASIC FILE SYSTEM STRUCTURE ...
129280 File Records Processed. File verification Completed.
4917 Large File Records Processed. 0 Bad File Records Processed.
Stage 2: EXAMINING FILE NAME LINKAGE ...
184834 INDEX Entries Processed. Index verification completed.
0 UnIndexed Files Scanned. 0 UnIndexed Files Recovered to Lost and Found.
Stage 3: EXAMINING SECURITY DESCRIPTORS ...
Cleaning Up 799 Unused Index Entries from Index $ Sii of File 0x9.
Cleaning Up 799 Unused Index Entries From Index $ SDH of File 0x9.
Cleaning Up 799 Unused Security Descriptors.
Security Descriptor verification Completed.
27778 Data Files Processed. Chkdsk Is Verifying USN Journal ...
36727760 USN Bytes Processed. USN journal verification completed.
Stage 4: Looking for Bad Clusters in User File Data ...
129264 Files processed. File Data verification Completed.
Stage 5: Looking for Bad, FREE CLUSTSERS ...
6493921 FREE Clusters Processed. Free Space Verification Is Complete.
CHKDSK DISCOVERED FREE SPACE MARKED AS ALLOCATED IN THE VOLUME BITMAP.
Windows Has Made Corrections to the File System.
NO FURTHER ACTION IS REQUIRED.
41428991 KB Total Disk Space.
15154156 KB in 90362 Files.
75308 KB in 27779 indexes.
0 KB in Bad Sectors.
223839 KB in Use by the System.
55376 KB Occupied by The Log File.
25975688 KB AVAILABLE ON DISK.
4096 Bytes in Each Allocation Unit.
10357247 Total Allocation UNITS ON DISK.
6493922 Allocation Units Available On Disk.
INTERNAL INFO:
00 F9 01 00 88 CD 01 00 A9 DD 03 00 00 00 00 00 ................
aD 00 00 00 66 00 00 00 00 00 00 00 00 00 00 00 .... f ...........
Windows Has Finished Checking Your Disk.
Please Wait While Your Computer Restarts.

A similar file can be created using the PowerShell command, which exports data from the event log and saves them to text file Chkdsk_scan.txt.

get-winevent -filterhashtable @ (logname \u003d "application"; id \u003d "1001") | ? ($ _. providername -match "WinInit") | FL TimeCreated, Message | Out-File C: \\ chkdsk_report.txt

The resulting file can be opened in any text editor.

So, we got a disc check log, made when loading the system. In the event that the system starts the scan with each load or check freezes, it is possible to temporarily.

The integrity of files on the hard disk is an important component steadily working. computer system. The appearance of various errors in files and file structure, violation of the logical structure of the disk, the occurrence on the disk bied sectors leads to incorrect work PC, failures in the operation of the system, glitches and freezes. For the prevention of such problems in the operating system, starting with the archaic MS DOS and ending modern versions Windows 10, provides a special tool designed to check and restore integrity file System, Fight with logical and physical errors on the disk. We are talking about the CKDSK system utility, and in this material I will tell you what is for the utility, for which it is intended, and how the CHKDSK / F / R command can help to eliminate the damage to the file system on your PC.

Use CHKDSK / F / R to troubleshoot the file system damage

What is chkdsk?

Chkdsk. (Reduction from the English "Check Disk" - disk check) - This is a system tool intended for verification hard disk For logical errors, broken sectors (BAD SECTOR), as well as correcting problems found by them.

The CHKDSK functionality allows you to restore the logical structure of the disk, including the correction of incorrect MFT input points (main file table). If there are broken sectors speaking in two basic forms - "soft" (appear when the data was recorded incorrectly) and "rigid" (broken sectors arose due to physical disk damage), CHKDKS usually restores "soft" broken sectors, and Marks "Hard" so that they cannot be further used by the system.

The work of this utility may take pretty long timeMoreover, for its work, CHKDSK requires the mandatory availability of exclusive recording of the disk. Because if you are in Windows WINTOVS, want to check system Disk (usually c) with this toolThe system will prompt you to restart the computer, and, upon subsequent start, CHKDSK will receive extended rights, and then check your disk for errors.

CHKDSK command functionality

There are two main forms of activation of this utility that allow you to run Chkdsk:

Install the required checkboxes and click on "OK"
  • If the disk is not systemic, then the check will be performed immediately, if the system disk - then the computer will check the check on of this disk, and upon subsequent reboot, your disk will be checked by the CHKDSK functional;
  • Activation with help command line . Run the command line on behalf of the administrator, enter:

Chkdsk (Tom Name) / (Flag)

For example, the frequently used form of activation of the CHKDKS is the command:

CHKDSK C: / F / R

where from: - the name of the volume, / f and / r - the flags used.

The command manifested by me launches CHKDSK, prescribing the latter to check the disk check for damaged sectors, and restore the data available on them ( flag / F. obliges chkdsk to correct disk errors, flag / R. Consides CHDSK to search for damaged sectors on the disk, and try to restore the data on them).


Other flags (teams) Chkdsk are as follows:

  • / V. - During checking the FAT / FAT32 file system, it displays the path to the files on the disk and their names;
  • / X. - preliminary disconnection of volume (required flag / f);
  • / I. - Disables thorough checks of indexes. Used only in the NTFS file system, allows you to speed up the disc check;
  • / C. - Disables the cycles check inside the folders. Used only in NTFS, also allows you to speed up the verification;
  • / L: (kilobyat size) - change the size of the log file to the specified value (NTFS only);
  • / B. - Re-checking damaged disc clusters (NTFS only requires the mandatory key / R)

If you simply enter the "Chkdsk" command at the command prompt, the "CHKDSK / F / R utility to eliminate damage to the file system" scans your disk for errors in the "Just read" mode (read only), in no way Fixing them.

Conclusion

The application of the CHKDSK / F / R command in the command prompt on behalf of the administrator allows you to correct the logical errors on the disk, as well as to search for the broken sectors on the disk with an attempt to subsequent recovery. Use CHKDSK with the slightest suspicions of damage to the file system, its functionality, as well as the SCANNOW system utility functionality, is useful tool in hand experienced user PC.

Chkdsk. Used to check the discs and output reports on the results of the inspection. Command line format:

CHKDSK [TOM: [[PATH] File Name]]]

Tom Specifies the connection point, the name of the volume or the letter of the test disk with the colon.

File name Files being checked for fragmentation (FAT / FAT32 only).

/ F. Correction of disk errors.

/ V. Detailed output mode. For FAT / FAT32: Output full path and name for each file on this disk. For NTFS: Also output of cleaning reports.

/ R. Search for damaged sectors and restore their contents. (requires key / F.).

/ L: size NTFS only: change the size of the log file to the specified value (in KB). If the size is not specified, the current size value is displayed.

/ X. If necessary, forced disabling volume. All open descriptors for this volume will be invalid. (requires the parameter / F.).

/ I. Only for NTFS: Less strict check of index elements.

/ C. Only for NTFS: Skip the checks of cycles inside the folder structure.

Keys / I. or / C. Reduce the execution time of CHKDSK by passing some volume checks.

Examples of using:

Chkdsk. - Check the current disk (volume) in read only mode

Report Example:

File System Type: NTFS.

Tom label: disk_c.

ATTENTION! The parameter f is not specified.

CHKDSK is performed in read only mode.

Checking files (step 1 out of 3) ...
File check completed.
Check indexes (step 2 of 3) ...
Check indexes completed.
Check security descriptors (step 3 of 3) ...
Check security descriptors is completed.
Chkdsk checks usn magazine ..
Completed USN log check

488384000 KB total on the disk.
482155688 KB in 332072 files.
108552 KB in 14989 indexes.
0 KB in damaged sectors.
1120884 KB is used by the system.
65536 KB is employed under the log file.
4998876 KB free on the disk.

Cluster size: 4096 bytes.
Total clusters on the disk: 122096000.
1249719 clusters on disk.

CHKDSK D: / F - Check Disc D: In error correction mode.

If in this check mode Chkdsk. Cannot get monopoly access to the verifiable, then the program will give a request to install the automatic start of the test of the specified disk when the system is then restarted. Checking will be made by the Windows Session Manager service, in accordance with the content of the Registry section.
HKLM \\ SYSTEM \\ CURRENTCONTROLSET \\ CONTROL \\ SESSION MANAGER \\ BOOTEXECUTE
Check results can be viewed in the system event log - (Control Panel - Administration - View Events - Appendix) Service Notifications WinLogon. . Having a sign of the launch of the CHKDSK program at the next windows reboot can be checked using the command Chkntfs.This link to which can also be found on the page with a list of CMD Windows commands. In addition, it can be changed by some test parameters.

The work of the CHKDSK program is divided into three main passages during which CHKDSK checks all metadata on the volume, and an additional fourth passage. The term "metadata" means "data on data." Metadata are add-on over the file system in which information is monitored from all files stored on the volume. The metadata contains information about clusters that make up the amount of data. specific file., what clusters are free, about clusters containing damaged sectors, etc. On the other hand, the data contained in the file is indicated as "user data". IN NTFS metadata Protected using transaction log. The process of changing metadata is divided into certain logic stages, or transactions that are fixed in the journal. If the sequence of actions to change the metadata is logically not completed, then rollback is performed according to the transaction log at the time when this change has not yet been started. In other words, the use of a transaction log significantly increases the likelihood of metadata integrity.

To protect user data (non-metadata) in the NTFS file system, this method is not used.

Stage 1. File Check

During the first pass, the CHKDSK displays a message that the file checks is performed, as well as the volume of the verification performed as a percentage (from 0 to 100). During this stage, CHKDSK checks the segment of the recording of each file in the main table of the files ( MFT.) Tom.

Stage 2. Index check

Essentially indexes are file catalogs nTFS systems. Chkdsk performs checking that there are no "lost" files and that in all the directory lists there are existing files. Lost called the file for which there is a correct file entry segment, but there is no data in any list of directory. The lost file can be restored in the corresponding directory if this directory still exists. If the corresponding directory no longer exists, CHKDSK creates a directory in the root of the disk directory and moves the file to it.

Stage 3. Check security descriptors

The security descriptors contain information about the owner of the file or directory, the NTFS permissions for this file or directory and audit for this file or directory. CHKDSK checks the structure of each security descriptor, but does not verify the real existence of listed users or groups and the legality of the permissions provided.

Stage 4. Check sectors

This step of execution of CHKDSK is determined by the presence of the parameter / R. When starting the program. Search for damaged sectors in free space Toma. Chkdsk performs an attempt to read each sector on the volume, and, when the error is detected, the cluster in which this sector enters, is marked as defective and excluded from the logical structure of the volume. Even without using the key / R. The program always checks the reading sectors related to the table MFT. (to metadata). In addition, sectors that are used for the user data area are checked at the previous stages of the CHKDSK.

It is necessary to take into account the fact that the time of execution of the CHKDSK with the key / R. May be significant. In addition, modern hard drives have a built-in system of self-testing and controlling parameters (S.m.a.r.t), the presence of which makes it senseless to use the search for damaged sectors using Chkdsk.Since all modern drives constantly perform internal subprogrammes for controlling the technical condition and self-diagnosis, as well as the reassignment procedure built on the firmware level of poorly readable sectors (unstable sectors) to sectors from the backup area (Remap or Remap procedure). These processes occur invisible to the computer user. Therefore, the presence of failed blocks (Bad Blocks) is possible only in the absence of a free space in the backup area for reassignment, or when the failures occurs at the time of writing the data into the sector, for example, when the primary power supply is accidentally turned off.

When detected by lost files, program Chkdsk. Creates them in the file system structure as files with expansion .Chk.. In practice, information from such files can be restored manually only in cases where it is presented in text form. In some cases, you can use software third-party manufacturers, such as the utility

To check the disk on errors and damaged sectors, the Check Disk command line utility is applied (chkdsk.exe). You can check the integrity of the disk by entering the name of the command and the letter of the disk with the colon. For example, to check the integrity of the C disc integrity, enter: CHKDSK C: Check Disk displays a report but the operation of each phase of operation. In more detail with the command cHKDSK can be found in the article - checking the disk on errors and damaged sectors.

Stages of the CHKDSK utility

Check DISK performs operations in three stages.

  1. At the first stage, Check Disk checks the file structure: CHKDSK IS Verifying Files (Stage 1 of 3) ... File Verification Completed.
  2. At the second stage, the indices check: CHKDSK IS Verifying Indexes (Stage 2 of 3) ... Index verification Completed. CHKDSK IS RECOVERING LOST FILES. If lost files have been found as a result of checking indexes, Check Disk will restore them as they are. Usually, the recovered files are stored with the extension.chk in the root directory of the corresponding disk.
  3. At the third stage, Check Disk checks the security descriptors: CHKDSK IS Verifying Security Descriptors (Stage 3 of 3) ... Security Descriptor verification Completed.

At the end of Check Disk displays a report where it reports whether the free space was erroneously marked as used, and, if yes, it recommends correcting the error, running Check Disk with a key / F: CHKDSK Discovered Free Space Marked As Allocated in the Master File Table (MFT ) Bitmap. Chkdsk Discovered Free Space Marked As Allocated

You can tell Check DISK to output more detailed information On the progress of the check with the key / v. For NTFS volumes, you can limit index checks by setting the / I key, and skip the cycles check inside the folder structures by specifying the key / s. Search and correct errors on the disk from: Chkdsk / F S.

On his own local disk C: After completing the CHKDSK, the results on the screen flashed a few seconds, and then the computer booted. I could not read the results on time. Are the results in the text file are saved?

4 Solutions Collect Form Web for "Where are the results of CHKDSK located in Windows 7?"

As Randolf mentions, it is located in the event viewer. More specifically, here:

Control Panel -\u003e Administration -\u003e View Events -\u003e Windows logs -\u003e App -\u003e Wininit

Wininit is in the column source .

To add Paul:

Go to "Start", then enter "View events" (without quotes) in the search bar, and then select "Event Viewer".

Since Event Viewer can display tens of thousands or more events, it can be very difficult to find the WinInit event (Chkdsk magazine).

So that it becomes easier when Event Log "" Windows Magazines "" Appendix »Go to" Filter Current Log ... »Filter» Event Sources »Check out" WinInit »:

This will make Event Viewer display only those sources that are "WinInit" (only for CHKDSK logs).

There are also CHKDSK .log files that can be viewed in a text editor, located in: \\ System Volume Information \\ Chkdsk. You can view it only if the "Control Panel" "folder parameters" "Hidden files and folders" is selected, "Show hidden files, folders and discs "," hide secure operating system files "is not marked, and you have received the right to hold this folder.

Here alternative way View results (see here):

    Click windows keys + R To open the Startup dialog box, enter the PowerShell.exe file and click Enter.

    In PowerShell, copy and paste the command below and press ENTER. (See Screen Snapshot below). NOTE. To insert a copied command in PowerShell, you just need to right-click PowerShell.

    Enter the command

    Get-winevent -filterhashtable @ (logname \u003d "application"; id \u003d "1001") | ? ($ _. providername -match "WinInit") | FL TimeCreated, Message | Out-File Desktop \\ ChkdskreSults.txt

    Now you will have the chkdskresults.txt file, created on your desktop, which is the log file of your CHKDSK scan results from Event Viewer.

Event viewer in System Application, but in some cases it is not displayed at all.