Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Where is the chkdsk (check disk) log file in WinXP? 2

Status
Not open for further replies.

sjkersey

Technical User
Joined
Feb 24, 2003
Messages
2
Location
US
I cant seem to find the WinXP Pro log file for chkdsk...

Does anyone know where chkdsk stores the log data?

i.e. what is the name of the file and where is it....

I have run chkdsk several times from the explorer/C:/properties/tools/error-checking and from the command prompt, with and without the boot up option, but no log is seen anywhere, do we have to tell chkdsk to generate a log file?

I also looked in: Start, Control Panel, Administrative Tools, Computer Management, System Tools, Event Viewer, System, and then scrolled through hundreds of alerts, didnt see anything about chkdsk!

thanks...
 

You can also "pipe" the output of CHKDSK to a file. So, for example, in Start/Run you might enter:

chkdsk c: /r > c:\chkdsk.txt

Then the next time you boot up it will run it before the Welcome screen as normal but you won't see the output on the screen when it finishes. Instead, after the system finishes booting up you can open c:\chkdsk.txt in Notepad. It is as good as a log.

HTH

Gunny
 
Thanks for the help, I found the chkdsk logs in the WinXP Event Viewer; here is the exact procedure incase anyone doesnt have time to dig through the web sites:

go to:
Start- Control Panel- Administrative Tools- Computer Management- System Tools- Event Viewer- Application

Then I scrolled down the "Application" list to any "Winlogon" entries that were listed after I ran chkdsk, then opened them, and each had the chkdsk log for each time I ran chkdsk, I then copied and pasted them into a text file to archive the logs...

can also do tahilg's suggestion (start-run, then type: chkdsk c: /r > c:\chkdsk.txt) of logging directly to a file

sk
 
Actually my suggestion does not work! When you issue a CHKDSK in the Command Prompt window it responds with a question asking you whether it should schedule it for the next boot up and waits for your answer. The piping puts the question into the file. You see no response - not even the normal prompt. I think you may have to boot into Safe Mode DOS Prompt to run CHKDSK with the piping.

Gunny
 
I just found out something else. When you open the Winlogon entry there are three buttons. Two buttons, the up and down arrows, open the next or previous event.

The third button copies the contents of that event to the clipboard. So all you need to do is click on it and paste (Ctrl+V) it in Notepad.

Gunny
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top