Windows System Log · Event 7
Event 7: The device has a bad block
A drive reported a sector it could not read or write reliably. On a mechanical disk this is often the first warning of a failure; on a solid-state drive it is more unusual and more urgent. Back up before doing anything else.
Also written as Event ID 7disk 7The device has a bad block
- How oftenUncommon
- Vendor calls itError
- LogSystem
- Sourcedisk
What it means for you
On a personal computer
Part of your hard drive is failing. Copy anything you care about to another drive or to cloud storage now, before troubleshooting. Drives that report bad blocks often get worse quickly.
For an analyst
Check whether it is a single sector or a spreading pattern. On virtualised storage the guest may be reporting a problem that actually lives on the array or the path, so check the storage layer before condemning a virtual disk.
What it looks like
Sanitised. Addresses come from the RFC 5737 documentation ranges.
The device, \Device\Harddisk1\DR1, has a bad block. The fields that decide it
Everything else in the log line is context.
- Device
- Which physical drive reported it, written as \Device\Harddisk0\DR0 or similar. The number identifies the disk, not the drive letter.
- Frequency
- Not a field, but the thing that matters. One entry may be a transient read error; a rising count means the drive is degrading.
Ordinary reasons this happens
Most of the time it is one of these.
- A single transient read error on an otherwise healthy drive, particularly after an unclean shutdown.
- A failing or loose cable rather than the drive itself.
- Storage array or path problems presenting as disk errors inside a virtual machine.
- An external drive disconnected while in use.
What to do next
- Back up the data first. Everything else can wait.
- Read the drive's SMART data for reallocated sector and pending sector counts — those numbers are the real health indicator.
- Run chkdsk to map out the bad sector, but understand this hides the symptom rather than fixing the drive.
- Check the cable and the port before condemning the drive, particularly if the machine was recently moved.
- On a virtual machine, check the underlying storage and paths rather than the guest.
- If reallocated sectors are climbing, replace the drive.
Queries to run
Get-WinEvent -FilterHashtable @{LogName='System'; ProviderName='disk'} -MaxEvents 50 | Select-Object TimeCreated, Id, Message | Format-List Get-PhysicalDisk | Select-Object DeviceId, FriendlyName, MediaType, HealthStatus, OperationalStatus; Get-StorageReliabilityCounter -PhysicalDisk (Get-PhysicalDisk) | Select-Object DeviceId, ReadErrorsTotal, WriteErrorsTotal, Wear Common questions
Does Event 7 mean my hard drive is failing?
Often, yes — particularly if it repeats. A single entry can be a transient error or a cable problem, but a drive reporting bad blocks repeatedly is degrading. Check the SMART reallocated and pending sector counts: if those are climbing, replace the drive rather than trying to repair it.
Can chkdsk fix a bad block?
It can mark the sector as unusable so Windows stops trying to use it, which stops the errors. It does not repair the drive — the physical damage remains and usually spreads. Treat chkdsk as a way to keep working long enough to migrate the data, not as a fix.
Read next
- Read alongside Event 51: A paging error on a disk A paging error on the same drive, which frequently accompanies bad blocks.
- Read alongside Event 55: NTFS found corruption on a volume File system corruption, often the consequence of unreadable sectors.
- Read alongside Event 129: A storage controller reset the drive Storage controller resets, another sign of a struggling disk or path.
- Usually comes after Event 41: The system rebooted without shutting down cleanly An unclean shutdown, which failing storage can cause.
Vendor documentation
Last reviewed 28 August 2026