Link to home
Start Free TrialLog in
Avatar of ConsJMEA
ConsJMEA

asked on

Cannot remove USB drive W8.1 device in use

I use a Lenovo IdeaPad Y510p with W8.1. Many times when I try to disconnect an external USB hard drive I receive the message that the device is in use. I've read some posts on Internet about this problem but I've not found a solution that works for me.

I would appreciate some help. Thanks.
Avatar of rindi
rindi
Flag of Switzerland image

Usually that is because something is accessing the external disk. Close all programs that may be accessing it, or make sure they are pointed at some other location. Also check your AV settings, some of those tools may be scanning the disk at the time you want to remove it.
Download Sysinternal Process Explorer.

Run the program as an administrator (right click on icon and click run as administrator).
Press ctrl+f and type the drive letter and colon.

A list of processes will display and will show you the process with the handle on the drive or file in the drive. Remember the PID and close the search window. Find the process and its sub-processes and determine which one to either close or force close.
ASKER CERTIFIED SOLUTION
Avatar of Michael Best
Michael Best
Flag of Japan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I was going to include "shutdown the computer and then pull the USB device."
in my comment... but it is a time consuming work around and not a solution that helps.

If you want to be 100% safe & sure then use the free unlocker:

http://www.emptyloop.com/unlocker/
it could be the searchindexer that is accessing the drive
Avatar of Jim_Nim
Jim_Nim

I would suggest you try setting the disk offline in disk management.

Win + X
Disk Management
Right-click the disk number in question
Check properties to ensure the model matches the external you're wanting to set offline
Right-click > Offline
This should allow the disk to be removed, but is only a little safer than simply pulling the plug.

You could go with the recommendation posted by Spencer George as well, as this could also clue you in on a specific process that is regularly causing the issue.
if you right click the drive ) can you select "eject drive" ?
Avatar of ConsJMEA

ASKER

Thanks all for your suggestions. By now I've tested some without succes: I've disabled searchindexer, Antivirus and any program on TaskManager that I could identify. There are not any software running but I cannot remove the USB external HD.

Process Explorer is a nice sotware and has identified a handle TxfLog. I'm reading about this problem and I'll try another of your suggestions.
Good luck,,,, just pull the USB plug and move on.
No harm will occur if you are not presenttly writing to the USB drive,
nobus
if you right click the drive ) can you select "eject drive" ?

I can't see the Eject option if I right click the drive
Jim_Nim
Win + X
Disk Management
Right-click the disk number in question
Check properties to ensure the model matches the external you're wanting to set offline
Right-click > Offline

The disk is Online but the option "Offline" don't appears on Right-click menu.
I don't recall you answering the question of what the hardware brand and model is (or I missed it).
I use Lenovo IdeaPad Y510 with Windows 8.1. The external drives are:

Iomega Prestige 1Tb

Seagate Desktop Expansion 3Tb
and can you remove the OTHER drive ?
Thanks all for your suggestions. I've learned several interesting things about Windows. I've discovered a nice software like Process Explorer. It looks like this is a Windows problem without a secure solution. The answer by Michael Best is a practical solution.