Disk Detector
Windows 10 & 11 Buy license · $29.95
Errors and repair

Drive Is Not Accessible, The Parameter Is Incorrect: How to Fix It

Fix the drive is not accessible, the parameter is incorrect error on external drives and USB sticks in Windows, and protect your files first.

Updated 5 minute read The Disk Detector team

"X:\ is not accessible. The parameter is incorrect" means Windows can see the drive but cannot make sense of the file system on it. The usual cause is file system damage after the drive was unplugged during a write or lost power, but bad sectors and failing USB enclosures cause it too. Fix it in this order: try another port and cable, check the drive's health, copy off anything you can still reach, then run chkdsk X: /f. Format only as a last resort, after your files are safe.

The order protects your data. chkdsk and formatting both change what is on the drive, so they come after you know the hardware is sound and your files are saved.

What causes the error

CauseTypical clue
File system damage from unsafe removal or a power cutThe drive was pulled out or the PC crashed during a copy
Bad sectors on the diskSlow access, clicking, freezes when you open the drive
Failing USB enclosure, cable or portError comes and goes, or the drive disconnects
Flash memory wearing out on a USB stick or SD cardOlder stick, used heavily, other files already corrupted
Drive formatted on another device with an unusual layoutDrive came from a camera, TV recorder, Mac or Linux PC

Step 1: Rule out the connection

A flaky connection can corrupt reads and make a healthy file system look broken. Before anything else:

  1. Unplug the drive using Safely Remove Hardware if Windows lets you, otherwise wait until there is no activity.
  2. Plug it into a different USB port, ideally a rear port on a desktop, connected directly rather than through a hub.
  3. Try a different cable. Short, good quality cables matter, especially for external hard drives.
  4. If the drive has its own power supply, make sure it is plugged in and switched on.
  5. If possible, try the drive on another PC.

If the drive opens normally on another port or PC, the original port, cable or hub was the problem. If it keeps dropping off, see our guide to an external hard drive that keeps disconnecting.

Step 2: Check what Windows sees

Right-click Start and open Disk Management. Find the drive by its size and read the volume description:

  • NTFS, exFAT or FAT32 with a drive letter: the file system is recognized but damaged in places. chkdsk has a good chance of fixing it.
  • RAW: Windows cannot identify the file system at all. Treat this as a RAW drive and follow our guide to fixing a RAW drive without formatting.
  • Unallocated or the disk is missing: the problem is at the partition or hardware level, not just the file system.

Step 3: Check the drive's health

This step decides everything that follows. If the error comes from a failing drive, running a repair or scan can push it over the edge and make your files harder to recover. Read the drive's SMART data before you run chkdsk.

Disk Detector reads SMART for hard drives, SSDs and USB-connected drives where the enclosure allows it, and tells you in plain English whether the drive is Good, Caution or Bad and why. It also shows each partition's file system and status, so you can see at a glance whether you are dealing with a damaged file system or a dying disk. All of its health checks are read-only.

  • Health is good: the error is almost certainly file system damage. Go on to Step 4.
  • Caution or Bad, with reallocated or pending sectors: skip chkdsk for now. Copy or recover your files first, as gently as possible, then deal with the drive.

If the drive clicks, buzzes or repeatedly spins up and down, stop using it. Mechanical failure gets worse with every attempt to read it, and important data on a drive like that is a job for a professional recovery service.

Step 4: Save what you can

Because the drive is not accessible, File Explorer cannot copy from it. A file recovery program can often still read the files, because it scans the disk directly instead of relying on the damaged file system structures. Recover to a different drive, never to the drive you are recovering from.

If the files on the drive are not important to you, or you already have a backup, you can skip straight to the repair.

Step 5: Repair the file system with chkdsk

  1. Note the drive letter shown in File Explorer or Disk Management, for example E:.
  2. Right-click Start and choose Terminal (Admin).
  3. Type chkdsk E: /f and press Enter, replacing E: with your drive letter.
  4. If Windows asks to dismount the volume, type Y.
  5. When chkdsk finishes, try opening the drive in File Explorer.

The /f switch fixes file system errors. On a hard drive whose health is good, you can use /r instead, which also scans for bad sectors, but it takes hours on a large drive. On a USB stick or SD card, stick with /f. Our guide on how to run chkdsk in Windows 11 explains the switches and how to read the results.

chkdsk repairs the structure of the file system. To do that, it may remove entries it cannot make sense of, and some fragments may end up as .CHK files in a folder named FOUND.000. That is why recovery comes first if the files matter.

If chkdsk reports "The type of the file system is RAW. CHKDSK is not available for RAW drives", the file system is too damaged for chkdsk to work on. Recover your files, then format.

Step 6: Format as a last resort

If chkdsk cannot repair the drive, formatting creates a fresh, empty file system and clears the error. It also removes your access to the files, so only do it once they are safe.

  1. In File Explorer, right-click the drive and choose Format.
  2. Choose NTFS for drives used only with Windows, or exFAT for drives shared with a Mac, TV or camera.
  3. Untick Quick Format if you want Windows to check every sector as it formats. It takes much longer but will reveal surface problems.
  4. Click Start.

If the format fails, or the error comes back within days on a freshly formatted drive, the hardware is the problem. Replace the drive, or the enclosure if the bare drive tests healthy on another connection.

How to avoid it next time

  • Eject drives in Windows before unplugging them, and wait for copies to finish completely.
  • Do not unplug an external drive while its light is flashing.
  • Plug desktop PCs into a surge protector, and do not let laptops run flat during long copies.
  • Keep at least one other copy of anything stored on a portable drive.
  • Check removable drives' health occasionally. Disk Detector checks USB drives when you plug them in and can warn you about early signs of failure.

Frequently asked questions

What causes the parameter is incorrect error?

Usually file system damage from unsafe removal or power loss, but bad sectors and failing USB bridges can cause it too.

Will chkdsk fix the parameter is incorrect?

It often does when the file system is the problem. Copy important files first if you can reach any of them.

Can I format the drive to fix it?

Formatting clears the error but removes access to the files. Only format once your data is safe.

Get three guides like this every month, plus software update notices.Subscribe →