Fix: Event 7 Disk has a bad block at \Device\Harddisk#\DR#

The Event ID 7, on Windows Event Log, with description "\Device\Harddisk#\DR#" has a bad block", informs you, that an area of a hard drive, installed on your computer, cannot be written or read due to a physical damage on the disk's surface.  (e.g: "The device \Device\Harddisk0\DR0" has a bad block") 

Event 7 Disk has a bad block

 

The "Event 7, Disk has a bad block" warning event, means that you must take the following actions to avoid loosing your data:

1. Backup all your important files from the reported damaged disk (drive) to another storage device (e.g. to a USB Disk).
2. Check the disk surface for bad sectors and mark them by using the CHKDSK command. (Step-2).
3. Diagnose the hard disk for physical damage (Step-3).

In most cases, all the above tasks can be performed easily, because most users have only one disk installed on their system. But, if you have more than one hard disk installed on your system, you must first identify which of them is damaged.

In this tutorial you will find detailed instructions on how to identify the damaged hard disk, by using "Disk has a bad block" event's 7 details (e.g. "Device\Harddisk#\DR#") and how to check and diagnose it.

How to resolve the "Event ID 7, Disk has a bad block" error.

Step 1. Identify the Logical Drive Letter of the Damaged Hard Disk from Event 7 error. *

* Note: If you have only one hard disk installed on you system, then bypass this step and proceed to Step-2.

– The first step is to identify from the "Event ID 7, Disk has a bad block" event, which logical drive letter is assigned to the problematic hard disk. In order to accomplish this task:

1. From System event viewer, note the number after the word "HardDisk" in the Event 7 warning message.

e.g. As you can see at the example screenshot below, the System Event Viewer (Windows Logs > System) displays the event 7 alert message, on device "Harddisk3".

 

"Event 7, Disk – The device, \Device\Harddisk3\DR3, has a bad block"

\Device\Harddisk1\DR1, has a bad block

 

 

2. Then download the WinObj (Free) program from Microsoft.

3. Extract the WinObj.zip file you downloaded.

4. Run Winobj.exe from the extracted folder.

5. At the left pane, expand "Device".

6. Select the Harddisk# (number) referred to the Event 7 error. *

* In this example is: "Harddisk3".

winobj harddisk

 

7. Now look at the right pane and note the "HardDiskVolume" number that is displayed under "SymLink" column. *

* In this example the number is "1" (\Device\HarddiskVolume1)".

device Harddisk DR bad block

 

8. Now select "GLOBAL??" at the left pane.

fix disk has a bad block

 

9. At the right pane: Click once at the "SymLink" column name, to sort the results.

event 7 disk bad block

 

10. Now scroll down until you find out the row that has the "\Device\HarddiskVolume1" value (at "SymLink" column).

11. When you find this row, you 'll see at the "Name" column" the drive letter of the damaged disk. *

* In this example the driver letter is: "G".

image

 

Step 2. Check and Repair File System Errors with CHKDSK.

After you have found which hard drive has the bad blocks, you must check that drive for bad sectors and mark them, by using the CHKDSK command. Additionally the CHKDSK command verifies the file system integrity and fixes logical file system errors.

1. Open an administrative Command Prompt.

2. In the command prompt window, type the following command* and press Enter:

  • chkdsk %driveletter% /f /r

*Note: As %driveletter% type the drive letter of the disk (e.g. C:, E:, F:, etc.) that you want to check for errors. *

* In this case the command is: chkdsk G: / f /r

chkdsk

3. When the CHKDSK command operation is completed, use these instructions to view and analyze the CHKDSK's scanning results.

4. When finished, proceed to the next step.

Step 3. Diagnose the Damaged Hard Disk for Physical Problems.

The final step, to resolve the "Event 7, Disk has a bad block" error, is to test and diagnose the problematic hard disk for physical damages. To accomplish this task:

1. Download and install the free version of the HD Tune diagnostic utility.*

* Source: http://www.hdtune.com/download.html

2. After installation, launch HD Tune and select the Info tab.

3. On the top, select one by one all the listed hard disks until you find the one that has been assigned the drive letter you found at the previous step. *

* In this example, the damaged hard disk (with the drive letter "G"), is the "ST3500620AS (500GB)" (Seagate).

hd tune info

 

4. When you find the disk that is damaged, select the Health tab to view hard disk's "health", by reading the S.M.A.R.T. report. Here, check at the “Status” column if all values are reported as “OK”. If not, then proceed to perform a full surface scan (see below).

hd tune health

 

5. Finally, select the “Error Scan” tab and perform an full surface scan diagnosis in hard disk's surface. *

* Important: At least one red square, means that you must replace the hard disk as soon as possible.

hd tune error scan

 

That's it! Let me know if this guide has helped you by leaving your comment about your experience. Please like and share this guide to help others.

If this article was useful for you, please consider supporting us by making a donation. Even $1 can a make a huge difference for us in our effort to continue to help others while keeping this site free: