The Right Way to Disconnect Your External Drive
Unplugging an external hard drive without ejecting it first can corrupt files, damage the drive's file system, or cause data loss. Windows 11 needs to finish writing data and close connections before the drive is physically removed. The safest method is to use the Safely Remove Hardware feature, which tells Windows to stop using the drive and prepares it for disconnection.
You have three ways to eject in Windows 11: through the system tray, through File Explorer, or through Device Manager. The system tray method is fastest for most people. All three methods do the same thing — they signal Windows to release the drive — but they start from different places depending on what's open on your screen.
Key Takeaways
- Always eject your external drive through Windows before unplugging it, using either the system tray icon, File Explorer, or Device Manager.
- The system tray method (bottom right of your screen) is the quickest route and works the same way every time.
- If you see a message saying the drive is still in use, close any open files or programs accessing it, then try ejecting again.
- Once Windows confirms the drive is safe to remove, you can unplug it without risk of data loss.
Eject Through the System Tray (Fastest Method)
The system tray sits at the bottom right of your screen, next to the clock and volume icon. Look for an upward-pointing arrow icon — this is the Show hidden icons button. Click it to reveal additional icons, including the hardware removal icon.
Once the hidden icons appear, look for an icon that looks like a drive with a green checkmark or an arrow pointing upward. Click it. A menu will appear listing all removable devices currently connected to your computer. Find your external hard drive by name (it usually shows the brand or the name you gave it) and click on it. A confirmation message will appear saying the device is safe to remove. Unplug the drive after you see this message.
If you do not see the hardware removal icon in the hidden icons menu, your system tray may be configured differently. Move to the File Explorer method instead.
Eject Through File Explorer
Open File Explorer by pressing Windows key + E or clicking the folder icon on your taskbar. In the left sidebar under "This PC," you will see your external drive listed with its name and a drive letter (for example, "My Backup (E:)").
Right-click on the external drive name. A context menu will appear. Select Eject from the menu. Windows will prepare the drive for removal and show a notification when it is safe to unplug. If you do not see an Eject option, try Safely Remove instead — different drive manufacturers use different labels, but both commands do the same thing.
If the Eject option is grayed out or does not appear, it means a file or program is still using the drive. Close any open files from that drive, close any programs that might be accessing it (including backup software or antivirus scans), and try again.
Eject Through Device Manager
Right-click the Windows Start button (bottom left) and select Device Manager from the menu. In the Device Manager window, look for Disk drives and click the arrow next to it to expand the list. Find your external hard drive — it will usually have a name like "USB Disk" or the manufacturer's name.
Right-click on your external drive and select Uninstall device. A dialog box will appear asking you to confirm. Check the box that says Delete the driver software for this device if you want to remove the driver as well (this is optional). Click Uninstall. Windows will prepare the drive for removal. Once the process completes, you can safely unplug the drive.
Device Manager is useful if the other methods are not working or if you need to troubleshoot connection problems, but it is less intuitive than the system tray or File Explorer methods for everyday use.
What to Do If the Drive Won't Eject
If you try to eject and Windows says the device is in use, something on your computer is still reading from or writing to the drive. Close all open files and folders from that drive first. If you have File Explorer windows open showing the drive's contents, close those windows. Check your taskbar for any programs that might be accessing the drive — backup software, antivirus scans, or file sync programs are common culprits.
If you are not sure what is using the drive, restart your computer. This will close all programs and release any locks on the drive. After the restart, the drive should eject without problems. If it still will not eject after a restart, the drive itself may have a hardware problem — try connecting it to a different USB port or a different computer to test.
Why You Should Not Just Unplug
Windows keeps a buffer of data waiting to be written to your external drive. When you unplug without ejecting, Windows does not get the chance to finish writing that data. The result can be a corrupted file system, missing files, or a drive that no longer works at all. Some files may appear to be there but become unreadable. In worst cases, the drive's file table becomes damaged and the entire drive becomes inaccessible.
Ejecting takes five seconds and prevents hours of data recovery attempts or the cost of replacing the drive. It is the one step that protects both your data and your hardware.
Ejecting External Drives Connected to USB Hubs
If your external drive is plugged into a USB hub rather than directly into your computer, the ejection process is the same — you still use the system tray, File Explorer, or Device Manager. However, be aware that some USB hubs do not properly communicate with Windows about power management. If your drive keeps disconnecting or Windows says it is still in use even when nothing is accessing it, try plugging the drive directly into a USB port on your computer instead of through the hub.
USB 3.0 ports (usually blue) are faster and more reliable than USB 2.0 ports (usually black or white) for external drives. If you have a choice, use a USB 3.0 port on your computer directly rather than a hub.
Frequently Asked Questions
What happens if I unplug without ejecting?
Windows may not finish writing data to the drive, which can corrupt files or damage the file system. You might lose data, or the drive might stop working entirely. Ejecting first prevents this by telling Windows to complete all writes and close connections before you remove the drive.
Do I need to eject if I am just moving the drive to another computer?
Yes. Eject it from the first computer before unplugging it, then plug it into the second computer. This ensures all data is written and Windows releases the drive properly on both ends.
Why does Windows say the device is still in use?
A file from the drive is open, or a program is scanning or backing up the drive. Close all File Explorer windows showing the drive, close any backup or antivirus software, and try again. If that does not work, restart your computer.
Can I eject a drive while a file transfer is happening?
No. Wait for the transfer to finish completely before ejecting. If you try to eject during a transfer, Windows will tell you the device is in use. Let the progress bar reach 100 percent, then eject.
Is there a difference between Eject and Safely Remove?
No. Different drive manufacturers and Windows versions use different labels, but both commands tell Windows to prepare the drive for removal. They do the same thing.
