Explorer Folder/File Handle Leak? (USB Eject)


  1. Posts : 11
    Windows 10 Home
       #1

    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 Computer


  2. Posts : 1
    windows 10
       #2

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


  3. Posts : 11
    Windows 10 Home
    Thread Starter
       #3

    Reba said:
    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 Computer


 

  Related Discussions
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 13:40.
Find Us




Windows 10 Forums