I bought a new 1TB external hard drive the other day and installed it on my
laptop right away, everything was working fine until I tried to safely remove
it. Whenever I click safely remove it says âWindows cant stop your generic
volume device because it is in useâ. I checked everything and I didnât have a
single program running. I donât want to shut it off manually because I have
hundreds of important files on it and I donât want to lose them. can you
help?
Oh, just because you donât have a program running, doesnât mean that there
arenât other programs running. Heck, thatâs all Windows itself is: a computer
program.
What we have is a situation very much like How can
I find out who is using a âfile in useâ? â except that we donât know the
name of the file, or whatever else might be âin useâ.
Iâll show you my technique, which looks very similar to the file in use
scenario, as well as cover an easily overlooked common cause or two.
]]>
Iâd guess the most common cause of an unexpected device in use is having Windows Explorer open and viewing the contents of the drive.
Thatâs enough for the device to be considered âin useâ. The solution? Simply either close the Windows Explorer window, or select and view some other drive.
The sameâs true for the Windows Command prompt:
The problem is that the removable drive is the âcurrentâ drive in the Windows Command prompt. The solution is to close the window, or change the current drive.
Now, the problem gets more complex, because this concept of a âcurrentâ drive is actually common to all Windows programs, and is frequently handled differently by each. For example in some applications if you do a âFile OpenâŠâ and open a file on your removable drive, the application will set the âcurrent driveâ to be that drive â and leave it that way even after youâve subsequently closed the file. In fact, it may not change until you perform some other kind of open or save operation using a different drive.
Or, of course, you can close the application.
And yes, often the âapplicationâ, for lack of a better term, is Windows itself, making it difficult to understand exactly what is still accessing the device, not to mention whether or not you can close it or change what itâs accessing.
One approach is to break out one of my favorite diagnostic tools, Process Explorer.
Download process explorer, if you havenât already, and run it. Type CTRL+F (or hit the Find menu, Find Handle or DLL ⊠menu item), and type in the drive letter of the device, followed by a colon. In the examples above where my flash drive was the H: drive, Iâd type in H:, and then click on Search.
What youâre seeing in this example are the two processes on my machine that have the device in use: the Windows Explorer and Windows Command prompt that I used for my examples above.
Now that youâve identified which process has the device in use, you can take appropriate action: something in the program â like changing the current drive in a Windows Command prompt â or by closing the program itself, if that makes sense.
And finally, as mentioned in a related article on the topic, you might well find that the culprit is your anti-malware tool scanning the device, or the Windows indexing service, or other tools that might be accessing your drives.
In my case it was almost always search indexer (on XP).
Since Iâve upgraded to Windows 7 a couple of weeks ago, I have never had any trouble ejecting anything.
So far so good :-)
In my case the icon doesnât disappear, but now when I click it and then click the volume to be stopped (such as my external Drive) I now never get a note saying itâs safe to remove. The only thing that happens is the icon will move positions or blink. How do I get back the âsafe to removeâ notation?
The original question mentioned a 1TB external drive with âhundreds of important files on itâ. To be perfectly safe in that situation, you can always Shutdown (not Hibernate, or Sleep, or Standby, or even Restart) Windows. Once the system powers off you can safely remove the external drive, since in the process of shutting down, Windows will terminate all processes, close all files, and post any buffered writes to all drives.
I encounter this problem nearly every time I connect a FLASH drive or USB hard drive to my Vista laptop. I have never been able to identify the offending process, but having read this article I will have Process Explorer at the ready the next time it happens. Oddly, this never seems to happen to camera memory cards when I insert them into the builtin card reader on that laptop, even though I cannot imagine how they are treated differently â they look like just another external drive otherwise.
I had the same problem, and did what you suggested, worked perfectly.
Thank you
Thanks for the tips, specially for the Process Explorer recommendation, finally I can liberate my external drive from the evil clutch of Windows.
.C.
This happens often for me, especially since I DONâT keep anything on my local drive, everything is on externals.
I simply ârestartâ my computer, allow it to go through itâs startup routine, loading antivirus, then click âsafely remove hardwareâ and it works.
Kind of a long way to do it, but gives me peace of mind that all my saved data will be SAFE.
Iâve corrupted a WD Passport external drive before by disconnecting prematurely so this is the ONLY method I use if whatâs on the drive is important to me.