How To Fix External Hard Drive I/O Device Error In Windows 11

You may get the message: “The request could not be performed because of an I/O device error” while attempting to access the contents of an external hard drive or initializing the drive. It’s likely an issue with the driver or the transfer configuration. But you will also encounter the error if your system experienced power failure while trying to initialize or access the hard drive.

Before you begin with the proper solutions, it’s better to make some preliminary checks to determine whether the issue is with your hard drive or the PC.

How To Fix External Hard Drive I/O Device Error In Windows
  • Check cable connections.
  • Try alternative ports.
  • Check using a different external drive.
  • Connect the hard drive to another PC.
  • Restart your computer separately while keeping the device connected and disconnected.

If your hard drive doesn’t work anywhere, it’s likely damaged and you need to repair or replace it. If not, apply the possible solutions below to resolve the issue.

Warning: Executing these fixes may cause you to lose the data on the hard drive. So, we recommend using recovery software to retrieve the files from the drive beforehand.

Change Device’s Transfer Mode

There are two main device transfer modes for external drives, Programmed Input-Output (PIO) and Direct Memory Access (DMA). Your system usually sets the transfer mode for the external device to Ultra DMA by default. However, not all computers support this mode.

First, get in contact with your computer manufacturer’s technical support and check which transfer mode your system supports. Then, you need to check the current transfer mode for your external hard drive and alter it if required. 

1- Launch Run command (Win + R).

2- Type devmgmt.msc and press Enter to open the Device Manager.

3- Expand IDE ATA/ATAPI controllers and look for the channel that the external drive is connected to.

4- Right-click on it and select Properties.

5- Go to the Advanced Settings tab.

6- Set Transfer Mode to the one supported by your computer. If your PC doesn’t support UDMA, set it to PIO only.

Check Disk for Corruption

Another method you can try is to use the CHKDSK utility. Doing so checks the integrity of the drive for any logical partition errors and bad sectors and fixes them.

1- Open Run command.

2- Type cmd and press Ctrl + Shift + Enter. It will load the elevated Command Prompt.

3- Enter the command: chkdsk /r /x E: while replacing E: with the drive letter. 


chkdsk-r-x-e

Update or Reinstall Device Drivers

Outdated or buggy drivers responsible for managing external storage devices can also cause this error. You need to update the drivers to their latest version to avoid such issues.

1- Open the Device Manager.

2- Expand Disk drives and right-click on your external drive.

3- Select Update driver.


device-manager-hard-disk-update

4- Click Search automatically for drivers.

5- After updating the disk driver, expand Universal Serial Bus controllers.

6- Update all the USB devices in the same manner.

7- You can also update the Storage controllers and IDE ATA/ATAPI controllers.

8- After updating all these drivers, restart your PC.

If the device drivers are fully updated, you can try reinstalling them to fix bugs present in the software. To do so,

1- Launch the Device Manager and expand to the devices (See the method above).

2- Right-click on them and select Uninstall device.


device-manager-hard-disk-uninstall

3- Click Uninstall.

Do so for all the devices, and then restart your PC. It will automatically install any missing drivers. Then, check if you can now access or initialize the external hard drive.

Check Event Logs

Windows includes the Event Viewer that records any errors you encounter along with the details on possible causes. You can check it to get more information on how you can debug this issue, especially if the previous solutions were not helpful in your situation.

1- Open Run.

2- Type eventvwr and press Enter to open the Event Viewer.

3- Expand Windows Logs and select System.

4- Click on Filter Current Log from the right sidebar.


event-viewer-filter-current-logs

5- Set Logged to the range of the time you encountered the error.

6- Check Critical for Event level and click Ok.


event-viewer-filter-critical

7- Search for the error while looking through the timestamp.

8- Click on both General and Details to get complete information.

9- Also, look for other errors that occurred at the same time.

You can hopefully debug the issues from this information. If not, seek help from Microsoft technical support personnel. To provide them with the event log, you need to save it first. To do so, select the errors in the Event Viewer, right-click and choose Save Selected Events.

Format External Drive Using Command Line

The final possible solution you can perform by yourself is to format the external drive from the command-line interface (CLI). If the hard drive is not physically damaged, formatting should fix all such errors.

1- Open the Run command.

2- Type diskpart and press Enter to open this CLI.

Type the following commands and press Enter after each of them:

list disk

select disk X (replace X with the disk number)

clean

convert gpt (if the disk is 2.5 TB or larger)

create partition primary

format fs=exfat quick (replace exfat with ntfs if you only want to use the hard drive with Windows)

assign
exit


format-hard-drive-diskpart-exfat-assign

Mohamed SAKHRI
Mohamed SAKHRI

I'm the creator and editor-in-chief of Tech To Geek. Through this little blog, I share with you my passion for technology. I specialize in various operating systems such as Windows, Linux, macOS, and Android, focusing on providing practical and valuable guides.

Articles: 1751

Newsletter Updates

Enter your email address below and subscribe to our newsletter

Leave a Reply

Your email address will not be published. Required fields are marked *