1.    09 May 2016 #1
    Join Date : Mar 2016
    Posts : 8
    Windows 10 Home

    Explorer Folder/File Handle Leak? (USB Eject)

    I am experiencing a problem regarding ejecting USB devices that may indicate a more fundamental issue with Windows/Explorer within Windows 10.

    In the last one to two weeks (possible updates?) it has become increasingly difficult to eject USB devices.

    Process Explorer handle search reveals Explorer is keeping open directory handles and thus preventing the ejection of the USB devices. Killing Explorer (or deleting the handles) permits ejection (obviously).

    A slightly deeper look into this reveals that browsing to a specific directory will result in handles being opened for all sub-directories. Moving away from that directory and/or closing Explorer does not close those handles, and thus prevents any removable media from being removed "safely".

    One of the possible problems is Context Menu hooks, so I've disabled all of those as a precaution but the problem continues.

    Is anybody aware of any problems and associated solutions?

    As an aside I looked on the Microsoft community forums, with a view to posting there, and commentary around this kind of issue is being directed toward TechNet.

    EDIT: Digging a little deeper I was able to remove a lot more shell extensions and alleviate the mass folder handle leak. So Explorer is not the issue. When I get more time I will trawl the extensions to look for the culprit(s) and report back. Nothing out of the ordinary was extending; Dropbox, Notepad++ and a few other well used/known products, but nevertheless one or more of them is causing issues.

    The problem persisted with system still holding handles to the classic $extend\$rmmetadata. Process Explorer was unable to close the handles (in admin mode).

    Removing the drive letter in Disk Management released the drive I was testing with, and switching off indexing on the drive appears to resolve the issue for now. Will do more testing and report back.

    If anybody else has information on this matter it will be much appreciated.
    Last edited by SweyneForkbeard; 18 May 2016 at 09:50.
      My System SpecsSystem Spec

  2.    11 May 2016 #2
    Join Date : May 2016
    Posts : 1
    windows 10

    I'm having the same problem, and of course it's the early morning before and important meeting...help
      My System SpecsSystem Spec

  3.    11 May 2016 #3
    Join Date : Mar 2016
    Posts : 8
    Windows 10 Home

    Quote Originally Posted by Reba View Post
    I'm having the same problem, and of course it's the early morning before and important meeting...help
    There exists software (some free) that will kill the handles this "new" Explorer now keeps open. A quick Google search will reveal some. You need to find one that can either directly filter handles by device or provide a search mechanism that allows for device specific searching.

    It would be nice if Process Explorer would provide a blanket handle delete after a search, but it doesn't appear to.

    If we're going to delete the handles indiscriminately then we may as well just disconnect the USB device.

    Deleting handles and pulling the connection is NOT a good idea, but until MS can provide a fix I'm not sure what else we can do?!? I can't be expected to shut my machine down just because I took a peek at one of my USB devices.

    I'm surprised more folks aren't finding this an issue as USB devices are so well used these days. It's always been an issue with all the MS O/Ss, but in the last two weeks it's reached a stage were I cannot plug any USB device in and eject it cleanly without killing explorer.

    It's worth noting that I have NO anti-virus running save Windows Defender.
      My System SpecsSystem Spec


Similar Threads
Thread Forum
Invalid file handle.
I tried installing cygwin and messed up what I wanted installed. Now, when I try to delete C:\cygwin\usr\share\avogadro\crystals\zeolites\CON.cif I get an error that I have an invalid file handle and cannot delete it. I don't see anything special...
General Support
Get Win10 File Explorer to open in last used folder
How do I get File Explorer to open in the last used folder? NOT quick access, just in the normal list of directories. (file folders) I hate 'quick access', it slows everything down so much and makes all other folders invisible - I just want the...
General Support
Can't put an image on a folder in File Explorer
In File Explorer I right-click a folder and select Properties. In the Customise tab, under Choose a file to show on this folder icon, I select Choose file. I navigate to my Pictures folder and select an image and then click on Apply and OK. And...
Solved Cannot create New Folder in File Explorer
It works fine, but suddenly today the New menu disappeared from my click menu when I click on any blank place in a folder. What's worse, if I click the New Folder button under the File Explorer top menu, there is no response. In the end, I can only...
General Support
Explorer: not responding when opening folder with exe file
I have a folder full of *.exe files. When I navigate to the folder to read its content (files listed in "tile" mode), Explorer hangs for a minute or two displaying in the title bar "not responding". Eventually, the files are displayed but it is a...
General Support
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 12:33.
Find Us
Twitter Facebook Google+

Windows 10 Forums