RFC: keeping track of bad sectors

  • Thread starter Thread starter tlviewer
  • Start date Start date
T

tlviewer

hello,

RFC

If a hard drive is going bad and sectors become unreadable, then WinXP can
go bonkers -- many things can go wrong. Some Apps can detect corrupt or
unreadable files and will schedule a chkdsk.

To manually run chkdsk on your C drive run this in a BAT file or at the cmd
prompt
echo Y | chkdsk /f c:

A chkdsk done before opening WinXP will write its output into your event
viewer.

Here's a script I came up with for clients so I can help them keep track of
these errors by phone.
http://www.tlviewer.org/AppLogBS.vbs.txt

The script will open notepad with all event entries from chkdsk and list the
size of bad sectors. All output goes to Notepad so you can run the script
with WScript or CScript.
 
tlviewer said:

Here's a script I came up with for clients so I can help them keep track of
these errors by phone.
http://www.tlviewer.org/AppLogBS.vbs.txt

The script will open notepad with all event entries from chkdsk and list the
size of bad sectors. All output goes to Notepad so you can run the script
with WScript or CScript.

That's useful. Though I'd prefer it if it collated all the chkdsk information from
the Event Viewer. Perhaps modify it to search out all "Winlogon/Events" with
code 1001. Does chkdsk use that code # exclusively?
 
Back
Top