> For the complete documentation index, see [llms.txt](https://helpcenter.xopero.com/xopero-one-en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helpcenter.xopero.com/xopero-one-en/common-issues/workstations-and-servers/dw1009-an-error-occurred-while-reading-data-from-device-error.md).

# "DW1009: An error occurred while reading data from device" error

How to troubleshoot the block reading error on Windows.

### ⚠️ Issue

Device backup task ends with **"DW1009: An error occurred while reading data from device (Device \[\\\\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy1] has 3 read errors)"** error.

***

### 💡 Cause

Backup errors with the message above may indicate a drive failure.

***

### 🔧 Resolution

If this error occurs repeatedly, check the system log in **Windows Event Viewer**. Repeated events with the ID `7` and the source `Disk` indicate a high probability of drive damage or physical degradation.

{% hint style="info" %}
Event ID `7` in the **Windows Event Log** with the description `The device, \Device\Harddisk#\DR#, has a bad block.` (for example, `The device, \Device\Harddisk0\DR0, has a bad block.`) indicates that a section of a local hard drive cannot be read from or written to due to physical damage on the disk surface. The number following `Harddisk` identifies the physical drive number assigned by the system.
{% endhint %}

The following **PowerShell** command lists the status of all physical drives along with their read errors. For healthy drives, the `ReadErrorsUncorrected` value should be `0`.

{% code overflow="wrap" %}

```powershell
Get-PhysicalDisk | Get-StorageReliabilityCounter | Select-Object DeviceId, ReadErrorsTotal, ReadErrorsUncorrected, Wear, Temperature
```

{% endcode %}

{% code title="Example" overflow="wrap" %}

```powershell
PS C:\windows\system32> Get-PhysicalDisk | Get-StorageReliabilityCounter | Select-Object DeviceId, ReadErrorsTotal, ReadErrorsUncorrected, Wear, Temperature

DeviceId : 0
ReadErrorsTotal :
ReadErrorsUncorrected :
Wear : 0
Temperature : 40
```

{% endcode %}

If read errors occur, run diagnostics on the affected physical drive using built-in **Windows** tools to asses drive health:

{% code title="The CHKDSK (Check Disk) command, where X is the drive letter to check" overflow="wrap" %}

```bash
chkdsk X:
```

{% endcode %}

{% code title="The CHKDSK (Check Disk) command with the /r parameter to locate bad sectors and recover damaged blocks" overflow="wrap" %}

```bash
chkdsk X: /r
```

{% endcode %}

You can check the drive letter in **Windows Disk Management** or retrieve it by running the following **PowerShell** command, which maps physical disk numbers to their assigned drive letters:

{% code overflow="wrap" %}

```powershell
Get-PhysicalDisk | Select-Object DeviceId, FriendlyName, @{Name="DriveLetters";Expression={(Get-Partition -DiskNumber $_.DeviceId -ErrorAction SilentlyContinue).DriveLetter -join ", "}}
```

{% endcode %}

{% code title="Example" overflow="wrap" %}

```powershell
PS C:\windows\system32> Get-PhysicalDisk | Select-Object DeviceId, FriendlyName, @{Name="DriveLetters";Expression={(Get-Partition -DiskNumber $_.DeviceId -ErrorAction SilentlyContinue).DriveLetter -join ", "}}

DeviceId FriendlyName          DriveLetters
-------- ------------          ------------
0        PM9C1b Samsung 1024GB , , C, ,
```

{% endcode %}
