explorer.exe crashing when searching in external hard drive

Page 1 of 2 12 LastLast

  1. Posts : 40
    Windows 10 Home
       #1

    explorer.exe crashing when searching in external hard drive


    Hello,

    Lately I have noticed that when I perform a search in my external hard drive, explorer.exe crashes. I read that it may be because some file has a long path. How can I be sure about what is causing the problem? The hard drive is new so I could return it but I would like to rule out if this is a hardware problem or a windows problem.

    Faulting application name: explorer.exe, version: 10.0.16299.492, time stamp: 0x721b1ba3
    Faulting module name: ntdll.dll, version: 10.0.16299.611, time stamp: 0xa29d2306
    Exception code: 0xc0000005
    Fault offset: 0x0000000000039cb0
    Faulting process id: 0x582c
    Faulting application start time: 0x01d44765991454a7
    Faulting application path: C:\Windows\explorer.exe
    Faulting module path: C:\Windows\SYSTEM32\ntdll.dll
    Report Id: 64eee1bd-35f4-4880-9d81-320a5dc431f1
    Faulting package full name:
    Faulting package-relative application ID:


    Application: explorer.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: exception code c0000005, exception address 00007FFD8EB29CB0

    Thanks
      My Computer


  2. Posts : 42,953
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #2

    You can check the disk (although as you say, seems unlikely):
    Try Hard Disk Sentinel (trial). This gives a particularly clear report on HDDs and SDDs and offers other features including a surface scan.

    Else try HD Tune, Health and Error Scan tabs.

    Are you indexing the external drive or doing a conventional non-indexed search (slow)?

    Check for any files with a long path:
    dir /s /b | sort /r /+261 > out.txt
    or (faster):
    dir /s /b | sort /r /+261 /o out.txt
    And lines longer than 260 will get to the top of listing. Note that you must add 1 to SORT column parameter (/+n).
    How do I find files with a path length greater than 260 characters in Windows? - Stack Overflow
    post labelled 17



    or

    Long Path Tool 5: advanced long path files manager
      My Computers


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

    dalchina said:
    You can check the disk (although as you say, seems unlikely):
    Try Hard Disk Sentinel (trial). This gives a particularly clear report on HDDs and SDDs and offers other features including a surface scan.

    Else try HD Tune, Health and Error Scan tabs.

    Are you indexing the external drive or doing a conventional non-indexed search (slow)?


    How do I find files with a path length greater than 260 characters in Windows? - Stack Overflow
    post labelled 17



    or

    Long Path Tool 5: advanced long path files manager
    hello,

    i checked the file out.txt and its listing the path of every file in the hard drive, not the ones that have 260+. Anyway i followed this tutorial which is similar How to determine a Windows File Path Length and the max path length was 250

    I wasnt aware that it was possible to index external hard drives, I will try it and see what happens. The crashing never happens right away, but rather after 10mins or so during the search.

    I didnt run HD Sentinel but WD Drive Utilities and WD Data Lifeguard Diagnostics. Both results (complete/extensive +2hrs) were ok.
      My Computer


  4. Posts : 42,953
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #4

    Hi, indexing it was just a question - if not I wouldn't bother trying to do so as it won't solve your problem.

    Try running (admin command or powershell prompt)
    chkdsk X: /F

    - where X is the drive letter of your external drive.
      My Computers


  5. Posts : 40
    Windows 10 Home
    Thread Starter
       #5

    dalchina said:
    Hi, indexing it was just a question - if not I wouldn't bother trying to do so as it won't solve your problem.

    Try running (admin command or powershell prompt)
    chkdsk X: /F

    - where X is the drive letter of your external drive.
    I just did another extensive search in C this time (so in the sdd) and it crashed again after 20 mins or so so, the drives are ok, its the file explorer that its just crashing when working for a long time.
      My Computer


  6. Posts : 42,953
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #6

    Ok, so need to look in a different direction.

    First run
    chkdsk C: /F
    Your PC will need to restart.
    Post back the result, which you can get after a restart as follows:
    Read Chkdsk Log in Event Viewer in Windows 10 | Windows 10 Tutorials
    or
    How to read Event Viewer log for Chkdsk in Windows 10 [Tip] | dotTech

    Then let's try some gross elimination experiments.
    Does file explorer crash like this
    a. in Safe Mode
    b. after a clean boot
    c. if you create a new user for test purposes
      My Computers


  7. Posts : 6,834
    22H2 64 Bit Pro
       #7

    Without an explorer specific crash dump it's hard to say what the problem is.

    See link in this post although it probably will not help this time:

    Explorer.exe keeps crashing - Windows 7 Help Forums

    The reports you posted are pretty generic and don't mean a lot.

    Check this post:

    Windows Explorer Crashing a Lot Solved - Windows 7 Help Forums

    For possible solution see this:

    Where are the Most Recently Used Lists? - Page 3 - Windows 7 Help Forums

    You'd need the software linked here:

    Where are the Most Recently Used Lists? - Page 3 - Windows 7 Help Forums


    But I tried out Media Preview anyway. And guess what? Besides seemingly working good, it allows Explorer to show thumbnails for .flv files. And I quickly discovered that it doesn't build a thumbnail for a corrupt file! It turns out I had a lot of corrupt .flv files!

    And it was a breeze deleting them all, too. I just set Explorer to show medium icons and deleted all that didn't have a preview thumbnail. Boom, done! So it turns out to also be a good tool for finding corrupt files, too.
    So if that drive contains media files (image and video) either move them all to another external drive and disconnect it to test or else try tracking down corrupted files.

    REF:
    https://support.microsoft.com/en-gb/...topped-working

    Test for picture files that may contain corruption
    File not showing up in folder,but showing up in Remove Empty Directori Solved - Windows 7 Help Forums

    And read this:
    Are flash drives reliable for storing photos and documents? - Page 3 - Windows 7 Help Forums

    Including the last few paragraphs.


      My Computer


  8. Posts : 40
    Windows 10 Home
    Thread Starter
       #8

    Sorry for the delayed reply,

    I was trying to solve this issue on my own, I exchanged the harddrive but unfortunately the problem still exists (even on a different brand) i think it stops working as soon as it reaches a folder. The chkdsk came out normal (I think):

    Checking file system on C:
    The type of the file system is NTFS.
    Volume label is Windows.


    A disk check has been scheduled.
    Windows will now check the disk.

    Stage 1: Examining basic file system structure ...
    548864 file records processed.
    File verification completed.
    24812 large file records processed.
    0 bad file records processed.

    Stage 2: Examining file name linkage ...
    26249 reparse records processed.
    641546 index entries processed.
    Index verification completed.
    0 unindexed files scanned.
    0 unindexed files recovered to lost and found.
    26249 reparse records processed.

    Stage 3: Examining security descriptors ...
    Cleaning up 5467 unused index entries from index $SII of file 0x9.
    Cleaning up 5467 unused index entries from index $SDH of file 0x9.
    Cleaning up 5467 unused security descriptors.
    Security descriptor verification completed.
    46342 data files processed.
    CHKDSK is verifying Usn Journal...
    36606704 USN bytes processed.
    Usn Journal verification completed.

    Windows has scanned the file system and found no problems.
    No further action is required.

    123741183 KB total disk space.
    49675788 KB in 202552 files.
    135392 KB in 46343 indexes.
    0 KB in bad sectors.
    671491 KB in use by the system.
    65536 KB occupied by the log file.
    73258512 KB available on disk.

    4096 bytes in each allocation unit.
    30935295 total allocation units on disk.
    18314628 allocation units available on disk.

    Internal Info:
    00 60 08 00 4b cc 03 00 64 44 07 00 00 00 00 00 .`..K...dD......
    9b 00 00 00 ee 65 00 00 00 00 00 00 00 00 00 00 .....e..........

    Windows has finished checking your disk.
    Please wait while your computer restarts.

    I tried in safe mode, clean boot, but nothing 8(

    could someone please read my dump file: Microsoft OneDrive - Access files anywhere. Create docs with free Office Online.
      My Computer


  9. Posts : 42,953
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #9

    explorer.exe crashing when searching in external hard drive-1.jpg
    There's the start. The rest is a long list of dlls

    What search are you actually doing?

    I'm tempted to suggest you simply experiment to identify which folder contains a file or files responsible.
    Adopt a binary chop approach.
    Put half the folders on the disk, try the search. If it fails, remove half the folders, try again.
    If it succeeds, put only the folders causing the problem back on the disk.

    Repeat, half each time, until you can identify at least one case (there may be more).

    =====================
    Another approach would be to monitor the search using Proc Mon
    Process Monitor - Windows Sysinternals | Microsoft Docs

    The log will be very long, so make sure activity on your PC is minimal (think Safe Mode).
    There should be a repetitive pattern for the search which ends with the crash.
    You should be able to work back (search backwards for the last string representing explorer reading the disk) and you may be able to find the last file accessed.
      My Computers


  10. Posts : 40
    Windows 10 Home
    Thread Starter
       #10

    dalchina said:
    explorer.exe crashing when searching in external hard drive-1.jpg
    There's the start. The rest is a long list of dlls
    hello, what program are you using? and does this mean my pc is broken? I tested the new hard drive in another laptop with windows 7 and the search was fine.
      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 18:16.
Find Us




Windows 10 Forums