TechBuzzPro

How to Fix Unable to Eject USB Drive on Windows 11

· 5 min read · Windows & PC

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, you can safely fix the 'unable to eject USB drive' error on Windows 11 by closing any programs using files on the drive, stopping background processes, and using the built-in Safe Removal tool. This guide walks you through reliable, step-by-step methods to safely remove a stubborn USB drive without risking data loss.

What You'll Need

  • A Windows 11 PC with administrator access
  • The USB drive that won’t eject
  • Optional: paper and pen to note open files or programs

Step-by-Step

  1. Save and close all files, documents, or programs that might be using data from the USB drive. This includes Word files, photos, videos, browser downloads, or media players.
  2. Look at the taskbar and close any apps that could be accessing the drive. Common culprits include File Explorer, media players, photo editors, cloud sync apps (like OneDrive or Dropbox), and antivirus software.
  3. Right-click the Start button and select Task Manager. If the USB drive is in use, a process may be locking it. In Task Manager, go to the Processes tab and look for any apps using high disk activity or listing the drive letter (e.g., E:\).
  4. Select any suspicious or unnecessary process and click End Task. Confirm if prompted. Do not end critical system processes like Windows Explorer or antivirus unless you’re certain it’s scanning the USB drive.
  5. Press Windows + E to open File Explorer. Check if any windows are still open and displaying files from the USB drive. Close them all.
  6. Look at the system tray (bottom-right near the clock). Find the 'Safely Remove Hardware and Eject Media' icon (it looks like a USB plug with a checkmark). Click it.
  7. If the icon isn’t visible, click the up arrow to expand hidden icons. If still missing, click the Settings gear, go to Personalization > Taskbar, and ensure 'System tray icons' > 'Safely Remove Hardware and Eject Media' is turned on.
  8. From the system tray menu, select your USB drive (it may appear as 'Eject USB Device' or list the brand name). Wait a few seconds. If successful, you’ll see a notification: 'Safe to Remove Hardware'.
  9. If ejection fails, return to Task Manager and sort the Processes tab by 'Disk' usage. Any process using the USB drive will show activity under that column. End those tasks one at a time, then retry ejection.
  10. As a last resort, open Command Prompt as administrator: right-click Start > Terminal (Admin). Type diskpart and press Enter. Then type list volume and press Enter. Identify your USB drive by size and file system. Type select volume X (replace X with the correct number). Then type remove letter=X. This removes the drive letter, allowing safe removal. Do not use clean or delete—this erases data.
  11. After any method succeeds, wait for the 'Safe to Remove' message, then physically unplug the USB drive.

Common Mistakes

  • Forgetting background apps like OneDrive or Google Drive that sync files from the USB drive automatically.
  • Ending the wrong process in Task Manager, such as critical system services, which can cause instability.
  • Forcefully pulling out the USB without ejecting, risking file corruption or drive damage.
  • Using third-party ejection tools from untrusted sources, which may contain malware.
  • Assuming the drive is not in use just because no window is open—some apps lock files silently.

Tips

  • Always use the 'Safely Remove Hardware' option instead of unplugging directly.
  • Disable 'Quick Removal' only if you need better performance and understand the risks—this setting is off by default for a reason.
  • Assign a consistent drive letter using Disk Management to avoid confusion with multiple USBs.
  • Use Task Manager’s 'Disk' column to quickly identify which process is accessing the drive.
  • Keep cloud sync apps paused when working with external drives to prevent background access.

Troubleshooting

If the USB still won’t eject after following the steps:

  • Restart your computer with the USB still plugged in. After reboot, try ejecting again before opening any apps.
  • Check for Windows updates: Settings > Windows Update > Check for updates. Some USB issues are resolved in system patches.
  • Try the USB on another PC. If it ejects there, the issue is software-related on your machine.
  • Scan the drive for errors: In File Explorer, right-click the USB drive > Properties > Tools > Check. Let it scan and fix file system issues.
  • If the drive letter is missing or conflicts exist, open Disk Management (right-click Start > Disk Management), right-click the USB partition, and assign a new drive letter.
  • If nothing works and the drive is unresponsive, back up data if possible, then format the drive using File Explorer or Disk Management. This resets access permissions and can resolve lock issues.

Frequently Asked Questions

Why does Windows say my USB is in use when nothing is open?

Sometimes background processes like search indexing, antivirus scans, or cloud sync apps keep a lock on files even if no window is visible. Use Task Manager to find and end those processes.

Can I just unplug the USB if eject fails?

It’s not recommended. Doing so risks file corruption or making the drive unreadable. Always try safe ejection methods first.

What does 'This device is currently in use' mean?

It means a program or system process is actively reading from or writing to the USB drive. Closing apps and checking Task Manager usually resolves it.

How do I stop Windows from locking my USB drive?

You can’t fully prevent it, but you can reduce risk by closing apps after use, disabling automatic indexing for removable drives, and pausing sync tools when using external media.

Does disabling 'Quick Removal' help with ejection?

No. Disabling it enables write caching for performance but increases the risk of data loss if unplugged without ejecting. Keep it enabled unless you have a specific need.

Why doesn’t the eject option appear in the system tray?

The icon may be hidden. Go to Settings > Personalization > Taskbar > System tray icons and ensure 'Safely Remove Hardware and Eject Media' is turned on.