When you connect a brand-new hard drive or removable drive to your computer and try to initialize it for partitioning and storing files, you may encounter this error message:
Location is not available.
Drive is not accessible.
The request could not be performed because of an I/O device error.

This error does not only affect new drives. It can also occur on previously used disks that already contain data. According to reports from some Reddit users, the issue may appear after a sudden system crash or even a normal restart. This makes the disk inaccessible.
Why does the I/O device error occur, and how can you check the current status of your drive? Let’s walk through the details below.
What Causes the I/O Device Error
The I/O device error indicates that Windows is unable to read from or write to the disk. To start troubleshooting this problem, right-click Start, open Disk Management, and check the drive’s status. This helps you know what steps to take next.
- A brand-new disk usually appears as Unknown and Not Initialized.
- A previously used disk often shows as RAW.

Next, I will explain the reasons behind these two abnormal disk statuses one by one.
I/O Device Error on Unknown/Not Initialized Disks
If the error appears when you try to initialize the disk, it may be caused by the following reasons:
- Loose or faulty connection. The SATA/USB cable or port is damaged or not properly connected, preventing the system from reading the new disk.
- Driver issues. Outdated, missing, or corrupted disk drivers stop Windows from recognizing and initializing the disk.
- Physical defects. Even brand-new disks can be defective. Manufacturing defects make the disk unreadable.
I/O Device Error on a RAW Drive
If your disk turns RAW, it may be caused by one or more of the following reasons:
- File system corruption. A sudden system crash or violent removal may damage the file system, leaving the disk RAW.
- Bad sectors. If critical sectors on the disk become unreadable, the disk may appear as RAW.
- Not formatted. If the disk was not fully formatted or was marked unformatted by a partition manager, it will show as RAW.
- Drive failures. If the hard disk is too old or experiencing hardware issues, it may become RAW.
Now that you understand why the I/O device error prevents you from initializing or accessing your disk, the next step is to fix it.
How to Fix I/O Device Error on Windows 10/11
To fix the I/O device error on a hard drive, USB drive, or SD card, start by checking the connections of the SATA/USB cable or port. Always recover important files first, because some advanced solutions will erase all data.
Follow the instructions below.
Pre-checks Before Fixing the I/O Device Error
Make sure to rule out the connection and driver issues before trying advanced fixes.
How to check disk connections:
- Restart the computer to refresh system resources and re-detect disks.
- Reconnect the disk and ensure the SATA or USB cable is properly connected.
- Check the cable for any visible damage caused by bending, dropping, etc.
- Change a cable or port.
- For an external hard drive or removable disk, test it on another computer and check if it works.
How to reinstall the disk driver:
Step 1. Right-click the Start button and choose Device Manager.
Step 2. Expand the Disk drives category and locate the problematic disk.
Step 3. Right-click the target disk and choose Uninstall device. Then select Uninstall to confirm.

Step 4. Remove the disk from your computer (if possible).
Step 5. Reconnect the disk or restart the computer. Windows will automatically detect your disk and reinstall the driver.
If the disk has been reinstalled correctly but the I/O device error persists, it is recommended to recover your files first, as initializing or formatting the disk will delete all data on it.
Recover Your Files Before Advanced Solutions
MiniTool Power Data Recovery is a reliable solution for restoring files from inaccessible disks. It supports data recovery from external and internal hard drives, SD cards, USB drives, and other storage media.
The software can recover a wide range of file types, including documents, photos, videos, audio files, emails, and more. Besides, this tool is completely secure, with no risk of overwriting data or damaging the disk further.
Now, download MiniTool Power Data Recovery Free and recover up to 1 GB of files at no cost.
MiniTool Power Data Recovery FreeClick to Download100%Clean & Safe
Step 1. Select the inaccessible drive to scan.
Launch the software to enter its main interface. Select the inaccessible drive from which you need to recover files and click Scan. Then the tool will start to scan for lost, deleted, and existing files.

The scan duration depends on the volume size, disk status, and the amount of data. To get the best data scan results, you need to wait patiently until the scan finishes.
Step 2. Locate and preview found files.
Once the scan is complete, browse through the listed files under the Path or Type tabs. The Path tab displays files according to their original folder structure. However, some files may lose their original structure and appear as RAW files. The Type tab organizes files by file type and data format.
This hard drive recovery tool also allows you to filter files further. Click Filter and customize the rules based on file type, modification date, file size, or file category.
If you are looking for specific files, simply type the file name or part of it into the search box and press Enter to locate them directly. But note that some files may lose their name.

Before starting the recovery, it is recommended to double-click the files to preview them. This helps prevent recovering unwanted files and using up your 1 GB of free data recovery capacity.
Step 3. Save the required files.
Browse through the selected files and make sure all the files you want to recover are included. Then, click Save and choose a safe location to store the recovered files.

Once the recovery is complete, check the recovered files. If everything is correct, you can proceed with the following methods to initialize or format the disk.
Method 1. Initialize the Disk via CMD
If you are unable to initialize the disk in Disk Management, you may consider using the DiskPart tool via Command Prompt. DiskPart allows you to manage disks at a lower level than Disk Management.
However, it is important to note that this method may not always work, especially if the error is caused by hardware issues.
Follow the steps below to initialize a disk from Command Prompt:
Step 1. Type cmd in the Windows search box. Then right-click Command Prompt and choose Run as administrator.
Step 2. When the command-line window appears, type the following commands one by one and press Enter after each one.
Note: Be sure to verify the disk number before proceeding to avoid cleaning and formatting the wrong drive.
- diskpart
- list disk
- select disk # (replace # with the actual disk number)
- clean (it will erase all data on the selected disk)
- convert gpt (you can also type convert mbr to set up the partition table to MBR. See MBR VS GPT)
- create partition primary
- format quick fs=ntfs (you can replace ntfs with another preferred file system like fat32)
- assign (it will assign an available drive letter)
- exit
After finishing these steps, the disk should appear in Disk Management with a healthy partition, ready for use.
Method 2. Format the Hard Drive (for RAW Drives)
When a hard disk shows as RAW, the only way to make it usable is to format it to a recognized file system. I will show you three methods to format a disk on Windows. Choose the one you prefer to complete the formatting process.
Option 1. From Disk Management
Disk Management is a built-in system utility that allows you to view and manage file storage devices and their partitions. Follow the steps below to format your RAW drive with it:
Step 1. Right-click Start and choose Disk Management.
Step 2. Right-click the RAW drive and hit Format.
Step 3. Type a volume label, choose a file system, and click OK.
Step 4. Click OK again to confirm.

Option 2. Through File Explorer
File Explorer is a built-in tool that also lets you manage disk partitions. Here is how to format a RAW drive using it.
Step 1. Open File Explorer and right-click the inaccessible disk. Then choose Format from the context menu.
Step 2. Set up the volume label and file system, and then click Start.
Step 3. Click OK to start the process.

Option 3. Use MiniTool Partition Wizard
MiniTool Partition Wizard is a free partition management tool designed for Windows. It can help format internal/external hard drives, SD cards, and USB drives to common file systems, such as NTFS, FAT32, exFAT, etc.
Now, get it and launch it to format the hard drive.
MiniTool Partition Wizard FreeClick to Download100%Clean & Safe
Step 1. On the home page of this partition manager, select the target disk partition, and then choose Format Partition from the left panel.
Step 2. Specify the partition label and file system, and then click OK.
Step 3. Preview the format effect. If it is satisfied, click Apply to make it take effect.

Method 3. Replace the Disk
If your hard disk continues to show as RAW and cannot be formatted or accessed, it may be time to replace it.
For brand-new disks, most brands offer free replacement options. For older disks, once the data has been recovered, you can replace the disk with a new one.
To minimize the risk of disk failure in the future, choose a reliable brand and avoid used drives.
Bonus Time: How to Back Up Hard Disk Files
No matter how high-quality your disk is, unexpected failures can still happen. Regularly backing up important files ensures you won’t lose data permanently if a disk problem occurs.
If you are looking for professional data backup software, MiniTool ShadowMaker is an excellent choice. It allows Windows users to back up internal/external hard drives, SSDs, SD cards, and USB drives.
You can download and install the trial edition, which offers a 30-day free trial, to see how it works.
MiniTool ShadowMaker TrialClick to Download100%Clean & Safe
Here are the steps to back up files with MiniTool ShadowMaker:
Step 1. Run the backup software and click Keep Trial to enter the main interface.
Step 2. Go to the Backup tab from the left menu.
Step 3. Hit SOURCE > Folders and Files to choose the files/folders you want to back up, or select Disk and Partitions to back up entire volumes or disks.
Next, hit DESTINATION to choose a location to store the backup file.
Step 4. Click Options to select the backup type: full, incremental, or differential. You can also configure automatic backups to run daily, weekly, monthly, or whenever you log on or log off.
Step 5. Click Back Up Now to start the backup process.

Here is how to restore a backup file:
Step 1. Launch the software and go to the Restore tab.
Step 2. Find the backup image you want to restore and click the Restore button next to it.
Step 3. Select the backup version and hit Next.
Step 4. Choose the items you want to recover and hit Next.
Step 5. Choose a destination location to save the restored files and click Start to begin the process.
Bottom Line
To sum up, this step-by-step guide explains how to troubleshoot the I/O device error on external hard drives, internal hard drives, and removable disks.
When facing disk issues, always try reconnecting the device first to rule out connection problems. If that does not work, for an uninitialized disk, you can try initializing it with DiskPart. If that fails, consider replacing the disk. For a RAW drive, formatting it to a valid file system usually resolves the issue.
No matter whether you fix the corrupted drive or replace it with a new one, developing a habit of regularly backing up important files is essential.
If you encounter any difficulties while using MiniTool’s products, please contact the support team at [email protected].
User Comments :