Can't Eject External Hard Drive Windows 10? Fix It Now
In this article
If Windows 10 says "This device is currently in use" when you try to eject an external hard drive, it means a program or background process is still accessing the drive. The quickest fix is to close all open files and apps, then use the Safely Remove Hardware icon. If that fails, you can force-stop the process or use built-in tools like Disk Management. Below are step-by-step methods that actually work.
What You'll Need
- Your external hard drive connected to the PC
- Administrator access to your Windows 10 account
- Optional: a USB flash drive to test the port if needed
Step-by-Step
- Close all programs that might use the drive. Check File Explorer windows, media players, backup software, antivirus scans, and any open documents or images stored on the drive. Right-click the drive in File Explorer and select "Open" to see if any files are in use.
- Use the Safely Remove Hardware icon. Look in the system tray (bottom-right corner, near the clock). Click the small upward arrow to show hidden icons, then click the USB plug icon. Select your drive from the list and wait for the "Safe to Remove Hardware" notification.
- If the icon isn't there, use the keyboard shortcut. Press Windows + E to open File Explorer, right-click your external drive, and select "Eject." This works for most USB drives.
- Try ejecting from Disk Management. Press Windows + X and choose "Disk Management." Right-click the partition on your external drive (the blue bar) and select "Eject." This sometimes works when the tray icon fails.
- Check if a background process is locking the drive. Press Ctrl + Shift + Esc to open Task Manager. Under "Processes," look for any app that might be using the drive (e.g., Windows Search, antivirus, backup tools). Right-click and "End Task" only if you're sure it's safe.
- Use the built-in "Safely Remove Hardware" dialog. Press Windows + R, type
RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll, and press Enter. In the window that opens, select your drive and click "Stop." - If nothing works, shut down the PC completely. Click Start > Power > Shut down. Wait for the PC to fully power off, then unplug the drive. This is a last resort but always safe for the drive.
Common Mistakes
- Pulling the cable without ejecting. This can corrupt data or damage the drive's file system. Always wait for the "Safe to Remove" message.
- Ignoring hidden tray icons. The Safely Remove icon is often hidden behind the arrow. Click the arrow first.
- Forgetting about cloud sync apps. OneDrive, Google Drive, or Dropbox may be indexing files on the external drive, keeping it busy.
- Using the wrong USB port. If you're using a USB hub, try connecting directly to the PC. Some hubs don't support safe removal properly.
Tips
- Always use the "Eject" option before unplugging. It's a habit that prevents data loss.
- Keep your drive's firmware updated. Check the manufacturer's website for updates that might fix ejection issues.
- Use a USB port on the back of the PC. Front ports sometimes have power management issues that cause disconnection problems.
- If you're in a hurry, you can safely unplug after the PC has been shut down. No need to eject when the system is off.
Troubleshooting
If the drive still won't eject after following all steps, try these in order:
- Restart Windows Explorer. Press Ctrl + Shift + Esc, find "Windows Explorer" in the Processes tab, right-click it, and select "Restart." This often releases file locks.
- Check for malware. Run a full antivirus scan. Malware can lock drives to prevent removal.
- Update USB drivers. Press Windows + X > Device Manager. Expand "Universal Serial Bus controllers," right-click each USB Root Hub, and select "Update driver." Choose "Search automatically for drivers."
- Disable write caching for the drive. In Device Manager, expand "Disk drives," right-click your external drive, select "Properties," go to the "Policies" tab, and uncheck "Enable write caching on the device." Then try ejecting again. (Note: this can slow down transfer speeds.)
- If all else fails, shut down the PC. Unplug the drive while the system is off. When you boot back up, run a disk check by right-clicking the drive in File Explorer > Properties > Tools > Check.
Frequently Asked Questions
Why does Windows say "This device is currently in use"?
It means a program or background process has an open handle to the drive. Common culprits are antivirus scans, Windows Search indexing, or a file you left open.
Is it safe to unplug without ejecting if I've closed all files?
Not recommended. Even with no visible files open, background processes might be writing. Always eject to be safe.
Can I force-eject using Command Prompt?
Yes, but it's risky. You can use the mountvol command with the drive letter to dismount, but this can cause data loss if the drive is in use. Only do this after closing all apps.
Why does the Safely Remove icon disappear?
It's hidden in the system tray. Click the up arrow to reveal it. If it's still missing, you can use the keyboard shortcut method (right-click the drive in File Explorer).
What if my external drive is NTFS and won't eject?
NTFS drives are more prone to locking because of journaling. Try the Disk Management method or restart Explorer. If that fails, shut down the PC.
Will ejecting corrupt my files?
Ejecting is designed to prevent corruption. It flushes all pending writes. Not ejecting is what risks corruption.