Error Message

G

Guest

Please tell me how to get rid of this error message that keeps popping up on
my screen. 'Windows - Delayed Write Failed' Running Windows XP HOme Edition
Advanced System Error Log reads
Thursday, 26 April 2007 Disk The device, \Device\Harddisk1\D, has a bad
block.
 
D

Dennis McCunney

kellie said:
Please tell me how to get rid of this error message that keeps popping up on
my screen. 'Windows - Delayed Write Failed' Running Windows XP HOme Edition
Advanced System Error Log reads
Thursday, 26 April 2007 Disk The device, \Device\Harddisk1\D, has a bad
block.

Read what the error says. Windows was unable to write a change to the
hard drive because there is a bad block on the drive. You need to fix
the drive. The only question is which drive it is if you have more than
one.

I'm assuming you have one hard drive, which is how most people are set
up. Open My Computer. Click the entry for the hard drive.
Right-click Properties. In the properties box, select Tools, and click
Check Now under Error checking. In the Check disk options, check both
"Automatically fix file system errors" and "Scan for and attempt
recovery of bad sectors", then click Start.

Windows will probably tell you the check can't be performed because the
drive is in use, and ask if you want the check to be performed the next
time the system is re-booted. Say yes.

Reboot your machine. Windows will run CHKDSK when it comes back up,
before Windows itself is loaded so nothing else is trying to use the
drive. The "Scan for and attempt recovery of bad sectors" option will
have CHKDSK test the status of all disk blocks. If it finds a bad one,
it will attempt to recover the data on it and store it elsewhere, then
mark the block as bad and add it to the bad block table on the drive.
Areas in the bad blocks table are not used by the system, and will be
ignored in the future.

This should resolve your problem. Note that the test will take a fairly
long time, as it examines every block on the entire disk. How long will
depend on how big the drive is. It takes several hours on my 500GB RAID
0 SATA array, so I set it up, run it, and go to bed, then check the
status in the morning.
______
Dennis
 
G

Guest

Dennis, I should have specified the error appears to be on the F Drive which
is an external harddrive. I'm sorry I am ignorant regarding this topic but do
I follow the same process substituting F drive?
 
D

Dennis McCunney

kellie said:
Dennis, I should have specified the error appears to be on the F Drive which
is an external harddrive. I'm sorry I am ignorant regarding this topic but do
I follow the same process substituting F drive?

Exactly right. It's the same problem, with the same solution.

The trick is figuring out which drive is the problem when you have more
than one and you see messages like that in the event log. I have seven
physical drives here, and sometimes have to poke around a bit to nail
down just *which* drive Windows is complaining about.

Since this is an external drive, and not your boot drive, you can do
this another way. Click Start, then Run. In the Run box, type "cmd",
and hit Enter. This will open a DOS command window.

In the CMD window, you can run the command line version of CHKDSK, as

chkdsk f: /f /r /x

where chkdsk is the disk check utility, f: is the drive you want to
check, and /f means "fix errors automatically", /r means "Check for bad
blocks" and /x means "Dismount the drive if needed"

Dismounting the drive makes it inaccessible by other processes and
allows chkdsk full access and control.

The reason you might do it this way is that you can see the status
messages as chkdsk proceeds and see what it finds/fixes, and you don't
have to reboot while it does it (though rebooting when it is done is a
good idea.)

You can even work while it's going on, with some difficulty -- the
chkdsk process will periodically take over the machine and you'll appear
to hang till it finishes whatever operation caused the takeover.
______
Dennis
 
G

Guest

'Thanks so much for the help. Just one more question. My C drive capacity is
70.36GB Free space is 19.19 GB = 27%. Computer seems to be slower and slower.
I've tried deleting a truck load of clipart and any other unnecessary files
to reclaim some space but it didnt make any difference. Please excuse my
irnorance but does merely selecting delete them removing items from recycle
bin remove these items from the harddrive?
Regards Kellie
 
D

Dennis McCunney

kellie said:
'Thanks so much for the help. Just one more question. My C drive capacity is
70.36GB Free space is 19.19 GB = 27%. Computer seems to be slower and slower.
I've tried deleting a truck load of clipart and any other unnecessary files
to reclaim some space but it didnt make any difference. Please excuse my
irnorance but does merely selecting delete them removing items from recycle
bin remove these items from the harddrive?

Yes. Deleting items from within Windows normally just moves them to the
Recycle Bin, which gives you an opportunity to restore them if deleting
them was a mistake. Deleting them from the recycle bin removes them
completely.

Just removing files won't solve your problem. The issue you are running
into is less a matter of how much space is used, and more a matter of
how what *is* used is stored on the drive.

You didn't say whether you are using FAT or NTFS on the C: drive, but
the same problem can arise. When you first get the machine, all of the
files are stored on disk as individual contiguous files. As you use the
machine, you add new files and delete old ones. When Windows saves a
file on your hard drive, it tries put put the entire file in the first
available space that will hold it. Sometimes, it can't fit the whole
file in an emptry space, and must store it in several different chunks
in different places. Windows keeps track of where the pieces are, so you
and your programs can still access them.

But as time goes by, more files are in more pieces, scattered over more
of the disk. This is called fragmentation. As it gets worse, the
system can slow down, because Windows must search over more of the disk
to find and load all of the pieces of files you are using, and must
write any changes over more different spots on the disk.

Fragmentation is a bigger problem on FAT formatted disks, but it's an
issue for NTFS, too.

Open My Computer. Right click on drive C: and select Properties. In
the Properties box, select Tools, and click Defragment now.

This will bring up the Windows Defrag tool. Click Analyze to have it
examine the disk at tell you how fragmented it is, and Defragment to
have it defragment the drive. This will attempt to shuffle pieces
around so files are all in single contiguous extents. If fragmentation
is your problem, you should see a considerable improvement when it's
done. (This will also take a while to actually defrag if Analyze thinks
it needs doing. Go do something else for a while. :) )
Regards Kellie
______
Dennis
 
G

Gerry Cornell

Kellie

27% should not cause a problem. Anyting over 20% is OK, even 15% at
a pinch.

What is your CPU processor speed? How much RAM memory? Right click
on
your My Computer icon on your Desktop and select Properties to get
this information.

Try Ctrl+Alt+Delete to select Task Manager and click the Performance
Tab. Under Commit Charge what is the Total, the Limit and the Peak?

Select Start, All Programs, Accessories, System Tools, Disk CleanUp
to
Empty your Recycle Bin and Remove Temporary Internet Files. Also
select Start, All Programs, accessories, System Tools, Disk CleanUp,
More Options, System Restore and remove all but the latest System
Restore point. Run Disk Defragmenter. Follow this procedure for each
partition in turn.


Hope this helps.

Gerry
~~~~
FCA
Stourport, England
Enquire, plan and execute
~~~~~~~~~~~~~~~~~~~
 
G

Gerry Cornell

Dennis

You can ascertain drive numbers by looking in Disk Management. The
first drive is Drive 0 not Drive 1.

--


Hope this helps.

Gerry
~~~~
FCA
Stourport, England
Enquire, plan and execute
~~~~~~~~~~~~~~~~~~~
 

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