Skip to content
PCFixWorkbench

Storage · Windows 11

Fix an external drive that ejects itself in the middle of copying

Written December 1, 2026

A large copy starts fine, then the drive vanishes mid-transfer and the copy fails. The drive is losing power or its USB connection under sustained load — a cable, a hub, or a port that cannot keep up, long before it is the drive itself. Feed it power and a direct connection first, then check the disk.

What you need

Read the problem before you touch it

  1. Recognize the pattern: it survives small copies and dies on big ones. Copying a few photos works; a 20 GB folder drops the drive halfway. That pattern points at power or connection under load, because a sustained copy spins the drive at full draw for minutes while a small copy never stresses anything. A drive that vanishes the instant it is plugged in, even idle, is a different problem — skip ahead to the disk check.
  2. Note exactly what 'ejects itself' looks like. The drive letter disappears from File Explorer, you may hear the USB disconnect sound, and the copy ends with an error that the destination is no longer available. If the drive reappears on its own seconds later, Windows saw a disconnect and a reconnect — the physical link or the power dropped, not a software eject. Nobody clicked anything; treat it as hardware until proven otherwise.
  3. Protect the data before you diagnose. A drive that drops mid-write can leave the file being written incomplete, and repeated drops are hard on a drive that is already struggling. Copy the irreplaceable files off first, in small folders, letting each finish. Microsoft's guidance on removing drives cleanly, in Safely remove hardware in Windows, makes the same underlying point: a drive should only ever disconnect when nothing is being written to it.

The simple fixes, in order

  1. Plug the drive directly into the PC. Remove every hub, dock, and adapter between the drive and the computer. Unpowered hubs share one port's power among everything plugged into them, and a spinning external drive under copy load is exactly the device that starves. A direct port on the PC — a rear port on a desktop, either side of a laptop — is the baseline for every test that follows.
  2. Swap the cable, even if the old one looks perfect. USB cables fail internally in ways you cannot see, and a marginal cable passes small transfers and drops big ones. Use the shortest, thickest cable you have, seat both ends firmly, and rerun the failing copy. This one swap resolves a large share of these cases.
  3. Use a different port, and prefer a different kind. If the drive drops on a USB-C port, test a USB-A port, or the reverse. One damaged or underpowered port explains a drive that 'ejects itself' on this PC and works everywhere else. Keep the setup that survives for the rest of the diagnosis.
  4. Turn off USB selective suspend. Open Control Panel > Power Options, choose Change plan settings next to your plan, then Change advanced power settings, expand USB settings > USB selective suspend setting, and set it to Disabled while you test. Keep the PC plugged in as well. Aggressive power saving can suspend a port during a long operation. If the copy completes with selective suspend disabled, power management was part of the cause — leave it disabled for that drive, or re-enable it knowing the trade-off.
  5. Copy in smaller batches to finish the job today. Whatever the root cause, batches of a few gigabytes at a time put far less sustained load on the connection. Finish the copy you actually need this way, then continue diagnosing with a test folder you can afford to copy repeatedly.

The advanced route

  1. Check the disk for errors once it stays connected. When the drive holds a connection, open an administrator Command Prompt and run chkdsk with the drive letter first and then the fix switch, for example chkdsk E: /f. Let it finish and read the summary: file system errors found and fixed explain copies failing at the same file, though not the disconnect itself. Back up first — a check on a weakening drive is a reason to have the copy, not a substitute for it.
  2. Update the USB controller and drive drivers. In Device Manager, expand Universal Serial Bus controllers, right-click each host controller and hub, and choose Update driver. Microsoft's route for updating and reinstalling drivers is in Update drivers through Device Manager in Windows. If the drops began right after a Windows update, this step moves up the list.
  3. Test the drive on another PC, and another drive on this PC. These two tests split the world in half. If the drive drops on a second PC with a known-good cable, the drive or its enclosure is failing — replace it and migrate the data while it still connects at all. If it is rock solid elsewhere, the fault is in your PC's ports or power, and the drive is fine.
  4. Repair system files if every USB device misbehaves on this PC. When mice, keyboards, and other drives also drop, the problem is the PC, not this drive. Run DISM /Online /Cleanup-Image /RestoreHealth, then sfc /scannow, from an administrator Command Prompt, as Microsoft documents in Using System File Checker in Windows.

End state

When it goes wrong

Related fixes

Sources