How to Repair ‘This device is currently in use’ USB Problem



RECOMMENDED: Click here to fix Windows errors and optimize system performance

When you try to safely remove a USB stick or external hard drive from your computer by right-clicking on the device icon in the taskbar and selecting “Safe to remove hardware”, it does not always work. Some users say that an error message prevents them from disconnecting their device from the network in this way because it is used by another window or program. This is the complete error message.

The integrated Windows solution generally works: In the notification area (also known as the system tray or systray), click on the Safely Remove Hardware icon and select the drive. If you receive the message “Safe To Remove Hardware”, it is possible to remove the device safely.

But Windows will not tell you what is happening to the device. Without this information, it is difficult to know how to solve the problem.

Problem Ejecting USB Mass Storage Device

“This device is currently in use. Close any programs or windows that might be using the device, and then try again.”

Using the Process Explorer

a) Download the process explorer.

b) Click on Search, Find a handle or DLL (Dynamic Link Library) in the Tools menu.

c) Enter the letter of the USB device drive in the Handle or DLL Split text box and press the Search button.



May 2019 Update:

We now recommend using this tool for your error. Additionally, this tool fixes common computer errors, protects you against file loss, malware, hardware failures and optimizes your PC for maximum performance. You can fix your PC problems quickly and prevent others from happening with this software:

  • Step 1 : Download PC Repair & Optimizer Tool (Windows 10, 8, 7, XP, Vista – Microsoft Gold Certified).
  • Step 2 : Click “Start Scan” to find Windows registry issues that could be causing PC problems.
  • Step 3 : Click “Repair All” to fix all issues.

download



d) Find the process and its PID (Process Identifier) in the box below.

e) In the system tree structure, locate the process according to the Find Handle or DLL dialog box.

f) Press Ctrl + H to display the handles in the lower pane.

g) Find the file corresponding to the drive letter and right-click on it, select Close handle.

Use the custom Windows tool

In the notification area, click the Remove Hardware Safely icon, and then click your device. Wait for a message to appear. If the message is “Safe to Remove Hardware”, remove the hardware.

Using the Device Manager

Eject the USB in the Device Manager

  1. Go to the execution by clicking on Windows + R.
  2. Type Control Panel and press Enter.
  3. Click Hardware and Sound > Hard Drives.
  4. All storage devices are displayed.
  5. Right-click on the device and select Uninstall.
  6. Confirm your selection and wait until the process is complete, then remove the device.

Checking system logs

We can check the event log to detect errors that were recorded when you received the computer prompt. The event log contains all the errors that an application encounters to locate the problem.

  1. Press Windows + R to start the Run application. Type “eventvwr” and press Ok. This will launch the Event Viewer on your PC.
  2. Now click on the Windows logs located on the left side of the navigation area. Now click on Application. We can hope to find the log generated by your system when this error occurred.
  3. Click on the “Filter Current Log” button on the right side of the screen in the right navigation pane, then type “225” in the Event Log ID box in the center of the window. Now press Ok. This will filter all other events in the log and leave only logs with ID 225. Event ID 225 is the ID of the error generated by the computer when it is unable to shut down the device and open the left log. As we can see, Microsoft Office was responsible for generating the error.

https://superuser.com/questions/387286/how-do-you-disconnect-a-usb-drive-when-getting-a-this-device-is-currently-in-us



RECOMMENDED: Click here to troubleshoot Windows errors and optimize system performance