Storage · Windows 11
Fix an external drive that ejects itself in the middle of copying
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
- Twenty to forty minutes. Diagnosing this means running the same large copy more than once.
- A second USB cable if you have one, and a free USB port directly on the PC — not on a hub, dock, or monitor.
- Enough free space somewhere else to hold a backup of anything on the drive you cannot replace. Make that copy in small batches first if the drive holds the only copy of something important.
Read the problem before you touch it
- 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.
- 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.
- 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
- 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.
- 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.
- 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.
- 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.
- 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
- Check the disk for errors once it stays connected. When the drive holds a connection, open an administrator Command Prompt and run
chkdskwith the drive letter first and then the fix switch, for examplechkdsk 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. - 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.
- 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.
- 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, thensfc /scannow, from an administrator Command Prompt, as Microsoft documents in Using System File Checker in Windows.
End state
- The large copy that used to fail now runs to completion in one pass, on a direct connection.
- The drive stays mounted while idle and under load, with no disconnect sounds.
- You know which link was at fault — cable, hub, port, or the drive — because one change at a time made the failure stop.
When it goes wrong
- The drive drops at the same file every time. That is different from dropping at a random point: one unreadable file can stall and reset the connection. Copy everything around that file, then treat that file as damaged — restore it from its source or a backup rather than fighting the copy.
- chkdsk reports bad sectors or cannot finish. Stop using the drive for anything new. Copy off everything readable in small batches, starting with the irreplaceable files, and replace the drive. A disk check cannot repair physical damage.
- It only drops when the laptop is on battery. The port is not getting full power unplugged. Run large copies plugged in, and treat that as the working configuration rather than a fault to chase.
- The drive never appears at all now. Try the second cable and a second PC once. A drive that no PC detects, with no sound on connection, has failed at the enclosure or drive level; data recovery is a separate, specialist job.
Related fixes
-
Fix an external hard drive or USB drive not showing up in File Explorer
The drive connects but no letter appears in File Explorer. Find it in Disk Management, bring it online, assign a letter, and check the volume.
-
Fix a drive that disappears from the BIOS setup on some starts
A drive that shows in the BIOS setup on some starts and not others is usually a cable, power or port problem the firmware catches before Windows ever loads. Reseating the connections, swapping the cable and port, and checking the drive's health find it in that order.
-
Fix a drive letter that keeps changing for an external drive
Windows assigns drive letters in the order drives appear, so an external drive can be E: on Monday and F: on Tuesday, breaking every shortcut, backup job, and library that points at it. Give the drive a letter late in the alphabet in Disk Management, and Windows keeps that letter for that drive.
-
Fix copying a large file that fails with 'file too large for the destination file system'
The drive has plenty of free space, yet copying one large file fails with 'file too large for the destination file system.' The drive is formatted FAT32, which cannot hold any single file of 4 GB or more. Convert or reformat the drive to a modern format, or split the file when the drive must stay as it is.
Sources
- Microsoft Support, Safely remove hardware in Windows — ejecting a USB drive cleanly so no write is left unfinished.
- Microsoft Support, Update drivers through Device Manager in Windows — updating, reinstalling, and rolling back a device driver in Device Manager.
- Microsoft Support, Using System File Checker in Windows — running DISM and SFC to repair missing or corrupted system files.