Technology in terms you understand. Sign up for the Confident Computing newsletter for weekly solutions to make your life easier. Click here and get The Ask Leo! Guide to Staying Safe on the Internet — FREE Edition as my thank you for subscribing!

Why is my "generic volume in use" when removing my external hard drive?


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

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

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.

Windows Explorer viewing a removable 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:

Windows Command Prompt viewing a removable drive

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.

“… this concept of a ‘current’ drive is actually common to all Windows programs …”

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.

Process Explorer Find operation on a drive letter

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.

Do this

Subscribe to Confident Computing! Less frustration and more confidence, solutions, answers, and tips in your inbox every week.

I'll see you there!

6 comments on “Why is my "generic volume in use" when removing my external hard drive?”

  1. 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 :-)

  2. 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?

  3. 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.

  4. Thanks for the tips, specially for the Process Explorer recommendation, finally I can liberate my external drive from the evil clutch of Windows.


  5. 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.


Leave a reply:

Before commenting please:

  • Read the article.
  • Comment on the article.
  • No personal information.
  • No spam.

Comments violating those rules will be removed. Comments that don't add value will be removed, including off-topic or content-free comments, or comments that look even a little bit like spam. All comments containing links and certain keywords will be moderated before publication.

I want comments to be valuable for everyone, including those who come later and take the time to read.