0XC0000038

STATUS_DEVICE_ALREADY_ATTACHED 0XC0000038 Fix

This error means a hard drive or USB device tried to connect to a controller that's already in use. Here's how to fix it step by step.

Cause #1: A drive is already attached to the same controller

This error pops up most often when you plug in an external hard drive or USB stick that the system thinks is already connected. It can also show up if you have two drives fighting over the same storage controller. I've seen this in Windows 10 and Windows 11, mostly on older motherboards or when using USB hubs.

Here's the fix that works 90% of the time:

  1. Unplug the device showing the error. If it's a USB drive, remove it. If it's an internal drive, shut down the PC and disconnect the power cable.
  2. Wait 10 seconds. Then plug it back in. For USB drives, use a different port — preferably one directly on the motherboard, not through a hub.
  3. If the error is on an internal drive (like a second hard drive), go into your BIOS. Restart your PC and press F2, Del, or Esc right after powering on. Look for "SATA Configuration" or "Storage Configuration." Change the port from "Auto" to "Disabled" for that drive, save, and exit. Then go back in and set it to "Enabled" or "Auto" again.
  4. Now restart Windows. The error should be gone. If not, try the next cause.

Cause #2: Corrupted or outdated storage drivers

Sometimes the driver for your storage controller gets messed up. This happens after a Windows update or if you installed new hardware. You'll see the error when Windows tries to load the driver for a disk that's already claimed by a different driver version.

Here's what to do:

  1. Open Device Manager. Right-click the Start button and pick "Device Manager."
  2. Expand the "Storage controllers" section. You'll see items like "Standard NVM Express Controller" or "Intel SATA Controller."
  3. Right-click the controller that matches your drive (if you're not sure, do this for all of them). Select "Uninstall device." When it asks, check the box that says "Delete the driver software for this device." Click Uninstall.
  4. Restart your PC. Windows will automatically reinstall the driver. After the restart, plug in your device again. The error should be gone.
  5. If the error comes back, download the latest chipset drivers from your motherboard manufacturer's website. Don't use the ones from Windows Update—they're often older. Install them and reboot.

Cause #3: A disk letter conflict in Disk Management

Less common, but I've seen it. Two drives try to use the same drive letter. Windows gets confused and throws this error. It usually happens after you swap drives between computers or after a disk clone.

To fix it:

  1. Open Disk Management. Right-click Start, select "Disk Management."
  2. Look for any drives that have no letter, or show a letter you know another drive uses (like if you see two drives both showing D:).
  3. If you see a drive with a duplicate letter, right-click it and choose "Change Drive Letter and Paths." Click "Change." Pick a letter that's not used. Click OK. Accept the warning.
  4. If you see a drive with no letter at all (unallocated space), right-click it and choose "New Simple Volume." Follow the wizard. Give it a unique letter and format it as NTFS. This will wipe the drive, so only do this if you don't need the data on it.

Quick-reference summary table

Cause Fix Difficulty
Drive already attached to same controller Unplug, wait 10 sec, plug into different port; or reset BIOS settings for that port Beginner
Corrupted or outdated storage driver Uninstall driver in Device Manager, reboot; install latest chipset drivers from manufacturer Intermediate
Drive letter conflict Change drive letter in Disk Management; give it a unique letter Intermediate

If none of these work, try plugging the drive into a different computer. If it works there, the issue is your motherboard's controller. You might need a PCIe SATA card or a different USB controller. If it doesn't work on any computer, the drive itself is bad. Back up your data right away.

Related Errors in Windows Errors
0XC01E0511 Fix STATUS_GRAPHICS_PVP_HFS_FAILED (0xC01E0511) in Windows 0x80070002 Windows Update Error 0x80070002 Stuck at Downloading? Fixed 0XC00D0FD4 Fix NS_E_WMPOCX_NO_REMOTE_WINDOW error 0xC00D0FD4 in Windows Media Player 0XC000A011 STATUS_ND_QUEUE_OVERFLOW (0XC000A011) Fix: Stop Neighbor Discovery Crashes

Was this solution helpful?

EP
Erropedia Team
Tech Support Editors
The Erropedia editorial team researches and documents real-world tech errors from across Windows, Linux, macOS, networking, databases, cloud platforms, and more. Every solution is reviewed for accuracy and updated as software and systems evolve.