Error 0x8007045d ("The request could not be performed because of an I/O device error") means Windows tried to read from or write to a storage device and the device never answered properly. It is a hardware-level communication failure, not a corrupted Windows file, so the fix is usually to repair the drive connection, reset the storage controller, or replace the failing drive. Start with the free checks below before you assume the disk is dead.
What You'll Need
- A Windows 10 PC, plus Administrator rights for the command-line and disk-check steps.
- A spare USB flash drive (8 GB or larger) if you need to test with the Windows 10 Media Creation Tool on another PC.
- A blank external drive or enough cloud space to back up important files before any repair.
- Optionally, a SATA-to-USB adapter or a second PC to test the drive outside the machine.
Step-by-Step
Menu and dialog labels can differ slightly by Windows 10 version, edition, and region, and by drive manufacturer. If a label you see does not match exactly, look for the closest equivalent.
- Back up what you can right now. Copy your most important documents and photos to a USB drive or cloud storage before you run anything else. A drive throwing I/O errors can fail completely at any moment, and repair tools sometimes finish the job. If file copying itself throws the same error, skip ahead to the hardware checks and plan on data recovery rather than repair.
- Restart the PC and try the task again. A single I/O error can come from a transient glitch or a loose connection. A full shutdown and restart (Start > Power > Restart) reinitialises the storage controller. Note whether the error is repeatable and at which exact action it appears — copying a file, opening a folder, installing an update, or running a backup. That detail points to the failing component.
- Check the cables and connections. For a desktop, power off and unplug the PC, then reseat both ends of the SATA data cable and the power cable on the drive. Try a different SATA port on the motherboard and, if you have one, a different SATA cable. For a laptop, remove and reinsert the drive only if it is user-accessible; otherwise leave the internals alone and test externally instead. For a USB drive or external enclosure, try another USB port, preferably one directly on the PC rather than a hub, and another cable.
- Run the built-in disk check. Open Start, type cmd, right-click Command Prompt and choose Run as administrator. Type
chkdsk C: /f /rand press Enter (change C: to the affected drive letter). Windows will offer to schedule the scan at the next restart — accept, then restart. The /f switch fixes file-system errors and /r scans for bad sectors. Expect this to take a long time on a large or damaged drive; do not interrupt it. - Check the drive's health with the manufacturer's tool. Most drive makers publish a free diagnostic utility for their own drives, and reading the drive's SMART status is the most reliable way to know if it is failing. Download it only from the manufacturer's official site. If the test reports reallocated sectors, read errors, or a failing status, replace the drive; no software fix cures a dying disk.
- Reset the storage controller driver. Right-click Start and choose Device Manager. Expand IDE ATA/ATAPI controllers (on modern boards this may appear as Standard SATA AHCI Controller), right-click the controller and choose Uninstall device. Do not tick any box that deletes driver software if you are offered one. Restart the PC and Windows will reinstall a clean driver automatically.
- Run the System File Checker and DISM. Some I/O errors surface during Windows servicing operations. In an elevated Command Prompt, run
sfc /scannow, let it finish, then runDISM /Online /Cleanup-Image /RestoreHealth. These repair Windows system files; they will not repair failing hardware, but they clear the software side of the problem. - Test the drive in another machine or enclosure. If the drive is internal, use a SATA-to-USB adapter or put it in an external enclosure and connect it to another PC. If it works perfectly there, the fault is in the original PC's port, cable, or controller. If it fails identically, the drive itself is the problem.
- Replace the drive if diagnostics point that way. Move your data to a new drive (an SSD is the sensible upgrade), then reinstall Windows or clone the old disk if it still reads. If the drive will not read at all and the data matters, stop and consult a professional data recovery service rather than repeatedly powering it up.
Common Mistakes
- Running chkdsk repeatedly on a drive that is clearly failing. Each pass stresses the platters or flash cells; back up first, then check once.
- Assuming Windows is corrupted and reinstalling immediately. That erases the drive you were trying to save and leaves the hardware fault in place.
- Using a USB hub, front-panel port, or long extension cable for an external drive. Power and signal drops on these cause exactly this error.
- Ignoring SMART warnings because the PC still boots. A drive reporting reallocated sectors is on borrowed time.
- Downloading a "disk repair" utility from an unknown site. Use only the drive maker's own diagnostic tool or Windows' built-in tools.
Tips
- Write down the exact wording of the error and what you were doing when it appeared. "I/O device error when copying to D:" is far more useful than "error 0x8007045d."
- Check Event Viewer (right-click Start, then Event Viewer) under Windows Logs > System for disk or controller warnings around the time of the error. Repeated disk errors confirm a hardware cause.
- Keep at least some free space on the volume. A nearly full drive can produce write failures that look like I/O errors.
- If the drive is an older mechanical disk making clicking or grinding noises, power it down and stop using it.
Troubleshooting
If the error returns after the cable reseat and a clean controller driver, the drive is the prime suspect. Run the manufacturer's diagnostic again and check its detailed SMART attributes, not just the pass/fail summary. If the tool cannot even see the drive, the drive or its controller board has failed.
If the error only happens with an external USB drive, test the same drive with a different cable and a different PC. If it works elsewhere, the problem is the port or the USB controller on your machine; try updating the chipset drivers from your motherboard or laptop maker's support page. If chkdsk reports it cannot dismount the volume, restart the PC and run it from the recovery environment instead: Settings > Update & Security > Recovery > Restart now under Advanced startup, then choose Troubleshoot > Advanced options > Command Prompt.
If Windows itself will not start and shows the error during boot, the system drive is failing. Boot from a Windows 10 installation USB, use the repair options, and plan on replacing the drive — a reinstall onto failing hardware will not last.
Frequently Asked Questions
Is error 0x8007045d dangerous to my data?
Yes, potentially. It means the drive failed to complete a read or write. Treat it as an early warning and copy your important files off immediately.
Can I fix it without opening the PC?
Sometimes. Reseating cables requires access, but driver resets, chkdsk, and USB port or cable swaps do not. Try those first.
Does reinstalling Windows fix it?
Only if the fault was in Windows itself. On a failing drive, a reinstall wastes time and risks the data. Diagnose the hardware first.
Why does it appear only during Windows Update or backup?
Those tasks write large amounts of data, which exposes a marginal drive or flaky connection that light use does not trigger. Back up and run a SMART check.
Will a factory reset help?
No, and it deletes your files. A reset writes over the same failing hardware, so it does not address the cause.
Should I replace the drive or the cable first?
The cable and port first, because they are cheap and quick to swap. Replace the drive only after diagnostics confirm it is failing.