This guide walks you through fixing the Windows 0x8007045d I/O device error, which typically appears when copying files to or from a USB drive, external hard drive, or SD card. The error means Windows couldn’t read or write data due to a hardware or driver problem. You’ll learn the most effective fixes, from checking connections to using command-line tools.
What You’ll Need
- Administrator access to the Windows PC
- The affected external drive or media (USB, SD card, etc.)
- A different USB port or another computer (for testing)
- Optional: a USB hub with its own power supply
Step-by-Step
- Check physical connections. Unplug the device, inspect both the port and the cable/connector for dust or damage, then plug it back in. Try a different USB port, preferably one directly on the motherboard (back of the tower) rather than a front panel or hub.
- Restart your computer. A simple reboot clears temporary glitches. Save your work, restart, and try the operation again.
- Run CHKDSK to check for disk errors. Open Command Prompt as administrator (search “cmd”, right-click, “Run as administrator”). Type
chkdsk X: /f /r(replace X with the drive letter of the affected device) and press Enter. If the drive is in use, you’ll be prompted to schedule the check for next restart. This scans for bad sectors and file system errors. - Update or reinstall the device driver. Press
Windows + Xand select “Device Manager.” Expand “Disk drives” and “Universal Serial Bus controllers.” Right-click the device (e.g., “USB Mass Storage Device”) and select “Update driver.” Choose “Search automatically for drivers.” If that doesn’t help, right-click and select “Uninstall device,” then restart your PC – Windows will reinstall the driver automatically. - Run the Hardware and Devices troubleshooter. Open Settings (Windows + I) > System > Troubleshoot > Other troubleshooters. Select “Hardware and Devices” and run it. Follow any on-screen instructions.
- Check the drive’s health. Download a disk health tool like CrystalDiskInfo (free). Open it and look at the “Health Status” for the drive. If it says “Caution” or “Bad,” the drive is failing – back up data immediately and replace the drive.
- Try a different computer. Plug the device into another PC. If it works there, the issue is likely with your system’s USB controller or drivers. If it fails on both, the device itself is likely faulty.
- Use a powered USB hub. If the drive is a large external HDD that needs more power than the port provides, connect it through a powered hub. This often resolves intermittent I/O errors.
- Disable USB selective suspend. Go to Control Panel > Power Options > Change plan settings > Change advanced power settings. Expand “USB settings” > “USB selective suspend setting” and set it to “Disabled.” This prevents Windows from cutting power to USB devices to save energy.
- Check the file system and convert if needed. If the drive is formatted as exFAT or FAT32, and you’re copying files larger than 4GB, consider converting to NTFS. Open Command Prompt as admin and type
convert X: /fs:ntfs(replace X with drive letter). Note: this erases nothing but can take time.
Common Mistakes
- Skipping the physical check. A loose cable or dirty port causes many I/O errors. Always reseat the connection first.
- Ignoring the drive health status. If the drive is failing, no software fix will help. Always check health before spending time on other fixes.
- Using the wrong drive letter in CHKDSK. Double-check the drive letter in File Explorer. Using the wrong one will check the wrong drive.
- Not running CHKDSK as administrator. Without admin rights, CHKDSK may not run or may not fix issues.
- Assuming it’s a software issue. The error can be caused by a failing drive – don’t rule out hardware until you’ve tested on another PC.
Tips
- Always eject hardware safely. Use the “Safely Remove Hardware” icon before unplugging to prevent data corruption.
- Keep backups. If the drive contains important data, back it up before attempting repairs.
- Use quality cables. Cheap or damaged USB cables can cause intermittent errors. Try a different, known-good cable.
- Check the drive’s file system. If the drive is formatted as FAT32, you can’t copy files over 4GB. Reformat to NTFS or exFAT if needed (backup data first).
- Update Windows. Ensure your system is up to date, as some USB fixes are included in cumulative updates.
Troubleshooting
If the error persists after all steps:
- Test the device in a different OS. If you have access to a Mac or Linux machine, try the drive there. If it works, the issue is Windows-specific.
- Check the Event Viewer. Press
Windows + R, typeeventvwr.msc, and look under “Windows Logs > System” for errors related to disk or USB. The details may point to a specific driver or hardware. - Run a full system scan. Occasionally, malware can interfere with I/O operations. Run Windows Defender or a trusted antivirus.
- Reset the USB controller. In Device Manager, under “Universal Serial Bus controllers,” right-click each “Host Controller” and select “Uninstall device.” Restart your PC – Windows will reinstall them.
- If the drive is still not accessible, consider data recovery. Use a professional data recovery service if the data is critical. Do not attempt further writes to the drive.
Frequently Asked Questions
What does the 0x8007045d error mean?
It’s an I/O device error, meaning Windows couldn’t read or write data from/to the storage device. It’s often caused by a bad connection, driver issue, or failing hardware.
Can I fix this error without losing data?
Yes, most fixes (like checking connections, updating drivers, or running CHKDSK) don’t erase data. However, if the drive is failing, you should back up immediately before attempting repairs.
Will CHKDSK damage my files?
CHKDSK repairs file system errors and can recover readable data. It may mark bad sectors so they aren’t used again. It doesn’t intentionally delete files, but if a file is severely corrupted, it might be moved to a recovery folder.
Why does the error happen only with large files?
This often indicates a file system limitation (like FAT32’s 4GB max) or a power issue – copying large files takes longer and stresses the connection. Try converting to NTFS or using a powered hub.
Is the drive dead if the error occurs on another PC?
Not necessarily, but it’s likely a hardware problem. Try a different cable and port first. If it still fails, the drive may be failing – check its health with a tool like CrystalDiskInfo.
How long does CHKDSK take?
It depends on the drive size and speed. A 1TB external drive can take several hours. It’s best to run it overnight or when you don’t need the computer.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Fix Device Manager Not Opening in Windows 11
- How to Pause Snapchat Location
- System Restore Points Missing in Windows? Fixes
- Install League of Legends on Linux: Full Guide
- Fix Error 0x80070001: Causes & Solutions
- Facebook.com: What It Is and Is It Safe?9.26 yd³