RFC: keeping track of bad sectors

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.
 
B

Bill Blanton

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top