An unexpected I/O error in Windows 10 usually means the system cannot read from or write to a storage device, often a hard drive, SSD, USB stick, or memory card. The fix is to identify the failing device and then run a disk check, update the driver, or reconnect the hardware, with the exact steps depending on where the error appears.
What an I/O Error Actually Means
I/O stands for Input/Output. Every time Windows opens a file, saves a document, or loads a program, it sends a command to the storage device and waits for a response. An unexpected I/O error means that response never came back, or it came back in a format Windows did not expect. The error is not a single message; it appears in many places, including File Explorer, event logs, backup software, games, and database programs. The underlying cause is usually the same: a communication breakdown between Windows and the hardware.
Common triggers include a loose cable, a failing drive, an outdated or corrupted driver, a USB port that cannot supply enough power, or a device that went to sleep and did not wake up properly. Less common causes are antivirus software locking a file, a full disk, or a corrupted file system.
Where the Error Shows Up
The exact text varies by program. In File Explorer, you might see “An unexpected error is keeping you from copying the file.” In backup tools, it might say “An unexpected I/O error has occurred.” In event viewer, the source is often “disk” or “Ntfs” with an event ID like 51, 7, or 9. If the error happens during a game or a video editor, the program may simply crash with a generic message. The location matters because it tells you which device is failing. If the error occurs when you access a specific external drive, the problem is likely that drive or its cable. If it happens with the internal C: drive, the problem is more serious.
Quick Fixes to Try First
Before running any deep diagnostics, try these simple steps. They resolve a surprising number of cases.
- Restart the computer. This clears temporary driver states and resets the storage stack.
- Unplug the external device, wait ten seconds, and plug it into a different USB port. Prefer a port directly on the motherboard, not a front-panel hub.
- Use a different cable. USB and SATA cables fail more often than people expect.
- If it is a USB hub, remove the hub and connect the device directly.
- Check if the device appears in Disk Management. Press Win + X and select Disk Management. If the disk shows as “Offline,” right-click it and choose “Online.”
If the error persists, move to the systematic fixes below.
Run a Disk Check on the Failing Drive
Windows includes a tool called Check Disk that scans for file system errors and bad sectors. To run it, open an elevated Command Prompt. Click Start, type cmd, right-click “Command Prompt,” and select “Run as administrator.” Then type the following and press Enter:
- chkdsk X: /f — replace X with the drive letter of the failing device. The /f flag fixes errors on the disk.
- If the drive is in use, Windows asks if you want to schedule the scan for the next restart. Type Y and press Enter, then restart.
- For a deeper scan that also checks for bad sectors, use chkdsk X: /r. This takes much longer but is more thorough.
If chkdsk reports that it cannot lock the drive or that the disk is write-protected, the drive may be physically failing. Back up any data you can access immediately. If chkdsk finds and fixes errors, restart and test the device again.
Update or Reinstall the Storage Driver
An outdated or corrupted driver is a frequent cause of I/O errors. Windows Update usually handles drivers, but sometimes a specific device needs a manual update.
- Press Win + X and select “Device Manager.”
- Expand “Disk drives” and find the problematic device.
- Right-click it and select “Update driver.”
- Choose “Search automatically for drivers.” If Windows finds nothing, try “Browse my computer for drivers” and then “Let me pick from a list of available drivers.”
- If updating does not help, right-click the device and select “Uninstall device.” Do not check “Delete the driver software.” Restart the computer. Windows will reinstall the driver automatically.
For external drives, also check the USB controllers in Device Manager under “Universal Serial Bus controllers.” Right-click each one and select “Uninstall device,” then restart. Windows reinstalls them. This resets the USB stack and often clears I/O errors on USB devices.
Check the Drive’s Health with SMART
Modern drives report their own health through a system called SMART (Self-Monitoring, Analysis, and Reporting Technology). Windows can read this data, but not in an easy-to-see place. You can check it through the command line.
- Open an elevated Command Prompt.
- Type wmic diskdrive get status and press Enter.
- Look at the “Status” column. It should say “OK” for each drive. If it says “Bad,” “Unknown,” or “Pred Fail,” the drive is failing or has failed.
A “Pred Fail” status means the drive predicts a failure soon. Back up your data immediately. No software fix can repair a physically failing drive. If the status is “OK,” the problem is more likely a cable, driver, or software conflict.
Disable Fast Startup and USB Selective Suspend
Windows 10 has a feature called Fast Startup that hibernates the kernel instead of fully shutting down. This can leave storage devices in a strange state, especially external drives. Disabling it fixes some I/O errors that occur after boot.
- Open Control Panel, then “Power Options.”
- Click “Choose what the power buttons do.”
- Click “Change settings that are currently unavailable.”
- Uncheck “Turn on fast startup” and click “Save changes.”
For USB devices, also disable USB selective suspend. In the same Power Options window, click “Change plan settings” for your active plan, then “Change advanced power settings.” Expand “USB settings,” then “USB selective suspend setting,” and set it to “Disabled.” Click OK and restart. This prevents Windows from cutting power to a USB drive that is idle, which can cause an I/O error when you try to access it again.
When the Drive Is Failing: Back Up First
If none of the above fixes work, the drive may be physically failing. Signs include clicking or grinding noises, very slow file transfers, files that disappear, and the same error appearing on multiple computers. In that case, stop using the drive for anything except data recovery. Do not run chkdsk repeatedly, as it can stress a failing drive further. Copy your important files to another drive using a tool like Robocopy that can skip bad files, or use a data recovery service if the data is critical. After backing up, replace the drive. There is no software fix for a dead motor or a damaged read/write head.
Frequently Asked Questions
Is an I/O error the same as a blue screen? No. An I/O error is usually a pop-up or a log entry, while a blue screen is a full system crash. However, a failing drive can cause both. If you see a blue screen with “KERNEL_DATA_INPAGE_ERROR,” that is a specific I/O-related stop code that indicates Windows could not read data from the page file.
Can a full hard drive cause an I/O error? Yes, but it is rare. When a drive is completely full, Windows may fail to write temporary files, which can trigger an I/O error. Free up space by deleting temporary files or moving large files to another drive, then try again.
Why does the error only happen with one specific file? If the same file always fails to copy or open, that file may be stored on a bad sector of the drive. Run chkdsk with the /r flag to remap the bad sector. If the file is still unreadable, the data on that sector is lost, but the rest of the drive may work fine.
Does an I/O error mean my data is gone? Not necessarily. An I/O error means Windows cannot access the data right now. The data may still be intact on the disk. Stop using the drive, try a different cable and port, and run chkdsk. If the drive makes unusual noises, do not run chkdsk; seek data recovery help instead.
Should I use third-party disk repair software? Windows’ built-in chkdsk is usually sufficient for file system errors. Third-party tools can sometimes recover more data from a failing drive, but they are not a substitute for a backup. If you choose to use one, download it from the official vendor website and do not run it on a drive that is making clicking sounds.
Can antivirus software cause an I/O error? Yes. Some antivirus programs lock files while scanning, and if the lock is not released properly, other programs get an I/O error. Temporarily disable your antivirus and test the device. If the error goes away, add an exception for the affected folder or drive.
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
- Chrome Tab Groups: Create and Save Them
- Get an Israeli IP Address with a VPN: Full Guide
- MRT100.dll Missing Error: How to Fix It
- Fix iOS 12 Wi-Fi Problems on iPhone: 9 Steps
- Touch ID Setup: Add Fingerprints on iPhone
- Remove a Device from Netflix: Deactivate & Disconnect