PC Review


Reply
Thread Tools Rate Thread

Chkdsk output logs

 
 
=?Utf-8?B?TW94aWVtYW4=?=
Guest
Posts: n/a
 
      15th Nov 2007
I want to log the results of chkdsk, because XP doesn't leave it up on the
screen long enough for me to read it. The parameters that I can pass, however
(I usually use /F, /V, and /R) don't include a log file for when I check disk

How can I set up a chkdsk log? I tried Google and this forum, no luck.

Running XP Home Edition, SP2, full updates.

Thanks in advance.

Moxieman
 
Reply With Quote
 
 
 
 
Lem
Guest
Posts: n/a
 
      15th Nov 2007
Moxieman wrote:
> I want to log the results of chkdsk, because XP doesn't leave it up on the
> screen long enough for me to read it. The parameters that I can pass, however
> (I usually use /F, /V, and /R) don't include a log file for when I check disk
>
> How can I set up a chkdsk log? I tried Google and this forum, no luck.
>
> Running XP Home Edition, SP2, full updates.
>
> Thanks in advance.
>
> Moxieman


If you run chkdsk without any of the switches that require the volume to
be locked or unmounted, you can just pipe the output to a text file:

chkdsk > C:\checkdisklog.txt

Because you won't see any output, you'll need to wait (in a Command
Prompt window) until you see the command prompt reappear.

If you run chkdsk with the /f or /r switches, the volume must be locked.
Because the system is using the volume (assuming that you're checking
the partition on which Windows is installed), it can't be locked, so
chkdsk offers to run at the next reboot. If you OK this, what happens
is that a module named autochk.exe is scheduled to run at the next
restart. See http://support.microsoft.com/kb/314835/en-us which
includes the following:

<quote>
However, if CHKDSK is scheduled to run when the computer restarts, the
binary module that contains the verification code is Autochk.exe, a
native Windows program. Because Autochk.exe runs early in the computer's
startup sequence, Autochk.exe does not have the benefit of virtual
memory or of other Win32 services.

Autochk.exe generates the same kind of text output that the Chkdsk.exe
utility DLLs generate. Autochk.exe displays this text output during the
startup process and also logs an event in the application event log. The
logged event information includes as much of the text output as can fit
into the event log's data buffer.
</quote>

So, look in Event Viewer Application log for the first event after the
reboot. The "source" will be "Winlogon" and have Event No. 1001.

This KB article, although written for Win2K, may also be of interest:
http://support.microsoft.com/kb/218461

--
Lem -- MS-MVP - Networking

To the moon and back with 2K words of RAM and 36K words of ROM.
http://en.wikipedia.org/wiki/Apollo_Guidance_Computer
http://history.nasa.gov/afj/compessay.htm
 
Reply With Quote
 
=?Utf-8?B?TW94aWVtYW4=?=
Guest
Posts: n/a
 
      15th Nov 2007
Perfect! Thank you very much. Went to Event viewer and there it was.

Moxieman

"Lem" wrote:

> Moxieman wrote:
> > I want to log the results of chkdsk, because XP doesn't leave it up on the
> > screen long enough for me to read it. The parameters that I can pass, however
> > (I usually use /F, /V, and /R) don't include a log file for when I check disk
> >
> > How can I set up a chkdsk log? I tried Google and this forum, no luck.
> >
> > Running XP Home Edition, SP2, full updates.
> >
> > Thanks in advance.
> >
> > Moxieman

>
> If you run chkdsk without any of the switches that require the volume to
> be locked or unmounted, you can just pipe the output to a text file:
>
> chkdsk > C:\checkdisklog.txt
>
> Because you won't see any output, you'll need to wait (in a Command
> Prompt window) until you see the command prompt reappear.
>
> If you run chkdsk with the /f or /r switches, the volume must be locked.
> Because the system is using the volume (assuming that you're checking
> the partition on which Windows is installed), it can't be locked, so
> chkdsk offers to run at the next reboot. If you OK this, what happens
> is that a module named autochk.exe is scheduled to run at the next
> restart. See http://support.microsoft.com/kb/314835/en-us which
> includes the following:
>
> <quote>
> However, if CHKDSK is scheduled to run when the computer restarts, the
> binary module that contains the verification code is Autochk.exe, a
> native Windows program. Because Autochk.exe runs early in the computer's
> startup sequence, Autochk.exe does not have the benefit of virtual
> memory or of other Win32 services.
>
> Autochk.exe generates the same kind of text output that the Chkdsk.exe
> utility DLLs generate. Autochk.exe displays this text output during the
> startup process and also logs an event in the application event log. The
> logged event information includes as much of the text output as can fit
> into the event log's data buffer.
> </quote>
>
> So, look in Event Viewer Application log for the first event after the
> reboot. The "source" will be "Winlogon" and have Event No. 1001.
>
> This KB article, although written for Win2K, may also be of interest:
> http://support.microsoft.com/kb/218461
>
> --
> Lem -- MS-MVP - Networking
>
> To the moon and back with 2K words of RAM and 36K words of ROM.
> http://en.wikipedia.org/wiki/Apollo_Guidance_Computer
> http://history.nasa.gov/afj/compessay.htm
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
chkdsk logs yawnmoth Windows Vista General Discussion 0 8th Feb 2009 03:23 PM
chkdsk logs? yawnmoth Windows XP General 2 31st Dec 2005 08:05 PM
CHKDSK Logs xs_confusion@yahoo.com Windows XP Performance 2 8th Jul 2004 10:34 PM
Chkdsk logs? Jeff N. Windows XP General 3 30th Aug 2003 06:27 AM
Chkdsk logs Michael Mauzey Windows XP General 1 27th Aug 2003 12:40 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:04 AM.