Fix: Cant Eject External Hard Drive on Windows

When trying to eject an external hard drive on Windows, you might see a message like “This device is currently in use,” preventing safe removal. This error usually occurs because Windows detects a background process or application still accessing the drive, even if nothing appears to be open. 

Problem Ejecting External Hard Drive Safely

The most common causes are background processes like file indexing or antivirus scans. Other potential causes include open files or programs that haven’t fully closed or even a system driver issue.

To circumvent your issue, please follow the solutions down below in the same order as provided.

1. Restart your System

Before trying anything else, restart your PC. Temporary bugs or background processes might be preventing the safe removal of the external drive. Restarting closes all applications and system services, clearing any potential lock on the drive.

2. Checking the Hard Drive policy

Modifying the “Removal Policy” to “Better Performance” can help resolve eject issues by improving how Windows manages data transfers to the external drive. In this mode, Windows uses write caching to increase performance, ensuring large files or processes complete efficiently.

  1. Hold the Windows Key and Press X. Choose Device Manager.
  2. Now expand the “Disk Drives” section then find the Drive you want to eject.
    Selecting New Policy
  3. Right-click on the drive you want to eject and click “Properties”.
  4. Head over to the “Policies” tab and make sure to select “Better Performance”.

    Selecting Policy
  5. Now simply restart your computer and check if you have the option to eject the drive.

3. Using Safely Remove Hardware utility

Using the “Safely Remove Hardware” option tells the system to finish any ongoing operations with the external drive. This ensures that any files being written or read are completed and disconnects the drive from any hidden background tasks.

  1. Press and hold the “Windows + R” keys together to open the Run program.
  2. Now type this shortcut and press enter:-
    RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll
    Accessing the Utility
  3. It should bring up the Safely Remove Hardware utility for you.
  4. Now simply select the drive you want to eject and click “Stop”.

    Safely Remove Hard drive
  5. Check to see if the issue persists.

4. Run the Windows Hardware and Devices Troubleshooter

This issue can be resolved using Windows’ built-in Hardware and Devices Troubleshooter, which helps to identify and fix problems that could be preventing safe ejection. The utility scans for driver conflicts, hardware malfunctions, or misconfigured settings that may cause the system to keep the drive in use.

  1. Press Windows Key + I to open Settings.
  2. Go to Update and security.
    Update & Security
    Update & Security
  3. Navigate to the Troubleshoot panel.
  4. Scroll down and locate ‘Hardware and devices’.
  5. Select it and click ‘Run the troubleshooter’.
    Running the Hardware and Devices Troubleshooter

5. Eject the Drive Using Disk Management

Disk Management is a built-in Windows tool that offers more control over drives. By marking the external drive as “offline” with this tool, you force Windows to disconnect from it completely. This ensures that any background tasks or processes no longer use the drive, making it safe to remove.

  1. Go to the Start Menu, type in Disk Management and hit Enter.
  2. Locate the external hard drive that you want to eject.
  3. Right-click on your external hard drive and select ‘Eject’.
    Ejecting External Drive using Disk Management
Note:

It is important to note that once you eject the external hard drive, it will appear as Offline. Therefore, the next time you want to use the drive on your system, make sure to change the status to Online in Disk Management.

6. Update USB Drivers

Outdated drivers can cause Windows to misread device status, leading to ejection errors. Keeping drivers up to date ensures smooth communication between the system and external drives, preventing such issues.

  1. Go to the Start Menu, type in Device Manager and open it up.
  2. Expand the Universal Serial Bus controllers list.
  3. Check if there’s an entry with a yellow exclamation mark. If there is, right-click on it and select ‘Update Driver Software’.
  4. If there’s no exclamation mark, uninstall the driver and restart your system so that it can be installed again automatically.
    Uninstalling USB Driver
ABOUT THE AUTHOR

Kevin Arrows


Kevin Arrows is a highly experienced and knowledgeable technology specialist with over a decade of industry experience. He holds a Microsoft Certified Technology Specialist (MCTS) certification and has a deep passion for staying up-to-date on the latest tech developments. Kevin has written extensively on a wide range of tech-related topics, showcasing his expertise and knowledge in areas such as software development, cybersecurity, and cloud computing. His contributions to the tech field have been widely recognized and respected by his peers, and he is highly regarded for his ability to explain complex technical concepts in a clear and concise manner.

Comments

34
    DB
    dbp Feb 28, 2020

    Completely useless advice when there is no ‘eject’ option.

      SW
      Shane Warren Author Feb 29, 2020

      It should be there if it is indeed an external hard drive.

        AD
        adsausage Mar 9, 2020

        Same problem (Windows 10 // WD My Passport Ultra).

        It is an external hard drive, and eject and offline do not appear.

          SW
          Shane Warren Author Mar 10, 2020

          Go to device manager and right-click on all options under Universal Serial Bus Controllers and one by one select the “Update Software” for each.

        DO
        Doum88 Jul 16, 2020

        Some USB drive are detected as mass storage instead of removable storage. In disk manager click offline then you will be able to eject the drive.

        Reply
      DO
      doe Mar 6, 2020

      I did not have ‘eject’ option either. However there was ‘offline’ option. After clicking that the drive could be ejected the normal way.

      Reply
      JO
      JOE Aug 23, 2020

      from another source:Device Manager -> Disk Drives. Check the configuration of each device
      under disk drives. Under one of the options, we found that we could
      select between “quick removal” and “performance”.
      choose performance. You need to shut down and power back up for the
      selection to take effect. In our case, we can now “eject” the external
      drives.

      Reply
        GM
        gerald mackay Dec 14, 2020

        this is the right way

        MZ
        Muhammad Zubyan Author Apr 12, 2021

        Thank you for your suggestion and input, we will add this to article shortly.

        ME
        Meagen May 18, 2021

        Thank you so much ! This is the only solution that I tried that allowed me to safely remove my hard drive

    BE
    Benjier Mar 20, 2020

    Option 2: under Troubleshoot there is no Hardware and Devices option. I’ve researched this and others say it is missing too. Nothing I do will eject my External HD. Nothing.

      SW
      Shane Warren Author Mar 21, 2020

      Update your Universal Serial Bus Controllers drivers and check if it shows up

      TM
      Tracie Mejia Apr 2, 2020

      Same here. I’ve updated all Universal Serial Bus controllers and still nothing.

        SW
        Shane Warren Author Apr 2, 2020

        Okay try this, boot the system in safe mode and check if the eject option is present in it if you have updated all drivers. Also, try to change the port that the HDD is connected in because that might be making a difference aswell. If the device ejects in safe mode it means that a third party app is interfering and causing this issue. Disconnect the drive, boot into safe mode and then check if this issue still persists.

        Reply
      ST
      StrongSushi Jun 16, 2020

      windows hide it now. You might have to find it, or manually call it with:
      msdt.exe /id DeviceDiagnostic

      Reply
    K1
    KTG 12/2022 Aug 28, 2020

    Hi, Kevin, I had this problem of ejecting my portable storage hard disk, and I used your method (solution 4), and it worked well for me yesterday. Thank you. Before that, I had tried other methods thru you tubes and others, but could not resolve the problems.

    MS
    Mike S Sep 7, 2020

    Sorry, but none of these solutions work in 2004. There is no device troubleshooter, and there is no eject option in Disk Management. I certainly don’t want to restart every time I want to remove a disk.

      MI
      mike Feb 3, 2021

      you found a solution yet ?

        MZ
        Muhammad Zubyan Author Feb 3, 2021

        That’s odd but you might be able to safely remove your external USB drive by doing the following steps:-

        1. Press and hold the “Windows + R” key to open Run
        2. Once run is opened type this command and press enter

        “RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll”

        Now select the device and press Stop.

          ZD
          Zygmunt Dreszer Jun 19, 2021

          The same problem – its not working. Its doing exactly the same what You can do from eject context menu. And the results is also known – no f. eject.

          MZ
          Muhammad Zubyan Author Jun 19, 2021

          Try the “Solution 2” if that doesn’t work for you simply turn off your computer and remove the hard drive physically their won’t be any issues if you will do it that way.

    PA
    passegua Oct 27, 2020

    In Solution 3: Eject the Drive Using Disk Management
    if I right click on external usb drive there is NO “eject” option, only “format”!

      MZ
      Muhammad Zubyan Author Oct 27, 2020

      That’s odd but you might be able to safely remove your external USB drive by doing the following steps:-1. Press and hold the “Windows + R” key to open Run
      2. Once run is opened type this command and press enter”RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll”Now select the device and press Stop.

      Reply
        MA
        matthew Apr 19, 2021

        That didn’t work for me. I got a message that WD my passport external drive was an unremovable drive after running that command.

          MZ
          Muhammad Zubyan Author Apr 19, 2021

          Have you tried Solution 3?

          MA
          matthew Apr 19, 2021

          There is no eject option for this drive in disk management on my computer. Running command prompt and typing sfc /scannow was the thing that permanently fixed the problem on my computer. Solution #3 was the one that gave me the message I had an unremovable drive.

    GM
    gerald mackay Dec 15, 2020

    Joe is right…. i figured it out on my own but this is correct
    Device Manager -> Disk Drives. Check the configuration of each device
    under disk drives. Under one of the options, we found that we could
    select between “quick removal” and “performance”.
    choose performance. You need to shut down and power back up for the
    selection to take effect. In our case, we can now “eject” the externa

    Reply
    RO
    Rob Mar 23, 2021

    no eject option…there is never an eject option. I have found NO fix for this!

      MZ
      Muhammad Zubyan Author Mar 23, 2021

      Try this method:-

      1. Press and hold the “Windows + R” key to open Run
      2. Once run is opened type this command and press enter

      “RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll”

      Now select the device and press Stop.

        JM
        jmaron May 29, 2022

        Doesn’t work!!!!

          MZ
          Muhammad Zubyan Author Jun 21, 2022

          Okay then, Fully turn off your computer and simply unplug the drive.

    ZD
    Zygmunt Dreszer Jun 19, 2021

    It’s known bug for very long time and I see even Windows 10 is not resolving it. I had it in Windows XP, in Windows 7, and now in Windows 10. Above advices are only mere workarounds, not solutions. Even tools which has feature to check what is using hdd show that hdd is not use by any software. Still Windows won’t let You eject such drive.

    ZD
    Zygmunt Dreszer Sep 8, 2021

    If this is pendrive, not external HDD, RMB on drive will show You eject option which is much more reliable than umount in tray option. Sometimes it can eject drive even when umount reject due to “no reason”.

    RO
    Robert Dec 1, 2021

    Sigh. Any instructions that would include restarting the computer to see if you are able to eject a drive would be better served in giving instructions to turn off fast start. Then shutdown the computer. Then viola physically remove the drive. No need to needlessly have the computer to boot up again.Fast start might be useful, time wise, with a HDD as a boot drive but is not needed with a SSD as a boot drive.

    Reply