Safely Eject an External Hard Drive in Windows 11, Plus Fixes When It Won’t Eject

Select Show hidden icons on the taskbar, right-click Safely Remove Hardware and Eject Media and choose Eject for your drive, or right-click the drive in File Explorer and choose Eject, then wait for the Safe To Remove Hardware message before you unplug it. A drive set to Quick removal (the Windows default) can be unplugged once nothing is copying to it, though Microsoft still recommends ejecting first.

Eject the drive from the taskbar

This is the route Microsoft describes on its Safely remove hardware in Windows page, and it works for external hard drives, external SSDs, USB flash drives and memory cards.

  1. Save and close any files you opened from the drive, and wait for any copy to finish.
  2. On the right side of the taskbar, select Show hidden icons (the small up arrow) if you don’t already see the Safely Remove Hardware and Eject Media icon.
  3. Right-click the Safely Remove Hardware and Eject Media icon. A small menu lists the removable devices that are connected.
  4. Select Eject followed by the name of your drive (for example, Eject Backup Drive). Check the drive letter if you have more than one drive plugged in.
  5. Wait for the Safe To Remove Hardware notification. The drive also disappears from the menu.
  6. Unplug the cable. If the drive has its own power switch or power adapter, you can turn it off now.

If the icon is missing even with the drive connected, see the fixes further down.

Eject it from File Explorer

If you are already working in File Explorer, this route is quicker.

  1. Open File Explorer (Windows logo key + E) and select This PC.
  2. Under Devices and drives, right-click your external drive. You can also right-click it in the left pane.
  3. Select Eject. The drive disappears from This PC when it is ready to unplug. If Eject isn’t on the menu, which happens with some external hard drives, use the taskbar route instead.

Example: Jordan has a backup drive (E:) and a flash drive (F:) plugged in. Right-clicking E: in File Explorer and choosing Eject removes only the backup drive, so the flash drive stays available.

Advertisements

Remove it from Settings

  1. Select Start > Settings > Bluetooth & devices > Devices.
  2. Under Other devices, find the drive and select it to expand it.
  3. Next to Remove this device, select Remove.
  4. When the drive disappears from Other devices, you can unplug it.

Removing a drive here doesn’t erase anything on it. Plug it back in and Windows adds it again.

Can you just unplug it? It depends on the removal policy

Each external drive has a removal policy that decides whether Windows holds data in memory (a write cache) before writing it to the drive.

  • Quick removal. Windows doesn’t cache writes, so the drive is ready to unplug at any time without Safely Remove Hardware. Microsoft says this has been the default since Windows 10 version 1809, and it applies to Windows 11. The trade-off, Microsoft says, is that this can degrade system performance.
  • Better performance. Windows caches writes to speed things up. With this policy you must use Safely Remove Hardware every time, because Microsoft warns that unplugging without it risks data loss.

Even with Quick removal, never unplug a drive while a file is still copying, saving or syncing to it. That interrupted file can end up damaged or incomplete, whichever policy you use.

To check or change the policy:

  1. Connect the drive and note its letter or label in File Explorer (for example, Backup Drive (E:)).
  2. Right-click Start and select Disk Management.
  3. In the lower half of the window, right-click the disk label for your drive (the Disk number box on the left) and select Properties.
  4. Select the Policies tab. If you don’t see it, select the Hardware tab, pick the drive under All disk drives, select Properties, then Policies.
  5. Choose Quick removal or Better performance and select OK. If you choose Better performance, Microsoft recommends also ticking Enable write caching on the device.

Windows remembers the choice for that drive when you plug it into the same port again. For full details, see Microsoft’s page on the default removal policy for external storage media.

Drives that say they’re still in use

“This device is currently in use”

Windows won’t eject a drive while a program or window still has a file on it open. Work through these in order:

  1. Close every app with a file from the drive open (documents, photos, videos, music players), and close File Explorer windows that show the drive.
  2. Wait for any copy, backup or cloud sync to finish. Sync and backup apps can keep using a drive after the window looks idle.
  3. Open Task Manager (Ctrl + Shift + Esc), check the Processes tab for an app you used with the drive, and close it from its own window if you can.
  4. Try Eject again.
  5. If it still refuses, shut down the PC, then unplug the drive while the PC is off. Avoid simply pulling it out while Windows is running.

The Safely Remove Hardware icon is missing

Select Show hidden icons first. If it isn’t there either, right-click the taskbar, select Taskbar settings, expand Other system tray icons and turn on Safely Remove Hardware and Eject Media. Microsoft notes the icon also won’t appear when no removable device is connected or Windows hasn’t recognized the drive. If the drive is missing from File Explorer too, finding an external hard drive on Windows 11 covers Disk Management and connection checks.

My drive isn’t listed in the Eject menu

The Eject menu sometimes shows a generic name, such as USB Mass Storage Device, instead of the label you gave the drive. If you can’t tell which entry is yours, eject it from File Explorer instead, where you can see the drive letter and label.

I unplugged it too early

Plug the drive back in and open the files you were working on. If the files matter, copy anything you can still open to another drive before you run any repair, and don’t install recovery programs onto the same drive. If Windows reports a problem with the drive, check it for errors: in File Explorer, right-click the drive, select Properties > Tools, and under Error checking select Check. You can also run chkdsk E: /f from an administrator Command Prompt (use your drive’s letter); Microsoft notes that it needs to lock the drive, so close any open files on it first, and that repairs on FAT-formatted drives can sometimes lose data.

Do flash drives and SD cards work the same way?

Yes. The same eject routes apply, and Microsoft’s removal policy covers external storage devices such as USB thumb drives. For a short walkthrough focused on thumb drives, see ejecting a USB flash drive in Windows 11, and if a flash drive won’t show up at all, locating a USB drive in Windows 11 explains drive letters and Disk Management.

Next time you connect your external drive, open its Policies tab once so you know whether it is safe to unplug without ejecting, and keep using Eject before you disconnect a drive set to Better performance.

Advertisements