Tip & How-To about Computers & Internet
How to display Errors found and Repairs made by the CHKDSK Command
The Chkdsk command is used to verify the integrity of a file system and is capable of correcting discrepancies in system data files. This command has been with us since DOS days and has been modified by Microsoft as required to meet the requirements of new operating and file systems as they evolved.
If you execute the Chkdsk command from a command prompt without using the F (fix) switch, Chkdsk runs in the read-only mode. As Chkdsk runs its tests on the drive, it displays the results of these tests on the monitor screen and the test results remain there for you to read until you close the CMD box.
However there are several drawbacks to running Chkdsk in the read-only mode, especially on an active NTFS volume (usually C:)
1. Chkdsk cannot make any corrections to the drive while in the read-only mode.
2. If Chkdsk encounters more than minor errors, it will not complete all of its tests.
3. If you are running Chkdsk in the read-only mode on the active partition, Chkdsk frequently reports disk corruption and other file system errors which do not exist. This happens when the system modifies the disk during the Chkdsk testing sequence.
Considering the above, there is little to be gained by running Chkdsk in the read-only mode.
You need to run Chkdsk/F at the command prompt to test the drive and to correct any errors found.. As soon as you make this entry the system responds with:
"The type of file system is NTFS. Cannot lock current drive."
"Chkdsk cannot run because the volume is in use by another process. Would you like this volume to be checked the next time the system restarts? (Y/N)."
After you key in "Y" (followed by enter) and re-boot, the operating system starts to load and you are advised that a disk check has been scheduled and unless you cancel it, Chkdsk/F will start to run in a few seconds. (Actually the file being executed at this time is Autochk.exe). Chkdsk will run through its phases but it only displays the test results on the monitor screen for about 2 seconds before the screen clears and the operating system continues to load!
If problems were found wiith the file system, you will not have time to read any messages regarding what they were or what actions were taken. If corrupted files and/or orphaned files/directories were detected you would most probably like to know about it and other problems found by Chkdsk. So how do you display the errors found and actions taken?
The answer is that since running Chkdsk/F is a system event, the information is recorded in the System Event Log under application events. To read the log, Click on Start, Control Panel, Administrative Tools, Event Viewer and Application. Look for "Winlogon" in the Source column and double click on it. An Event Properties dialog box will open and display the log for you to read..
Posted by Richard... on
Aug 17, 2012 | Computers & Internet
Mar 24, 2011 | Computers & Internet
Go to the Windows Command Prompt. You can do this by clicking first the Start button and then clicking the Run button. After this, type "cmd" in the Open text box and press Enter.
View the displayed Command Prompt screen.
If you want CHKDSK to run in read-only mode, type:
If you want CHKDSK to fix errors and not to check bad sectors, type:
and press Enter in the Command Prompt.
If you want CHKDSK to run thoroughly; that is, fix errors, find bad sectors in your hard drive and recuperate still readable data, type:
CHKDSK c:/r or
CHKDSK c:/p and press Enter in the Command Prompt.
Initialize the properties of the hard drive you want CHKDSK to run. Open My Computer. Right click your mouse on the drive in which you want CHKDSK to run. Click the Properties button and click the Tools tab. In the Error-checking box, click the Check Now button.
Set up the Check Disk options by checking one or both check boxes displayed. These are labeled "automatically fix file system errors" and "scan for and attempt recovery of bad sectors". If you want CHKDSK to run in read-only mode, do not check either box. After this, click the Start button.
Jan 01, 2011 | Western Digital My Book Essential Edition...
Oct 03, 2010 | Computers & Internet
178 people viewed this tip
Usually answered in minutes!