Why does explorer.exe hang and crash nearly every day?


  1. Posts : 255
    Windows 10
       #1

    Why does explorer.exe hang and crash nearly every day?


    Why does explorer.exe hang and crash nearly every day? I'm using Windows 10 21H1 and it also happened on version 20H2 and 1909. Looking at Event Viewer doesn't give any significant information or signature about the errors.

    Also this started happening on the first day I used my laptop after it was wiped out and reinstalled, and there was no bloatware so it doesn't seem to be due to third party software.
    Last edited by desbest; 03 Jun 2021 at 12:43.
      My Computer


  2. Posts : 6,333
    Windows 11 Pro - Windows 7 HP - Lubuntu
       #2

    As you did a Clean install, it can be that a specific driver is missing.
    Open Device Manager. Is there any yellow alerts of missing drivers?
      My Computers


  3. Posts : 255
    Windows 10
    Thread Starter
       #3

    There are no yellow alerts or exclamation marks by the drivers.
      My Computer


  4. Posts : 565
    Windows 10 Professional 64-bit
       #4

    Both HP and DELL computers come with their own 'Support Assistant' software which will find the correct drivers dedicated for those machines. Installing other drivers can cause problems so maybe you have installed incorrect drivers.

    Does your Acer laptop have a 'Support Assistant' installed? If so then use that to get the correct drivers.
      My Computers


  5. Posts : 255
    Windows 10
    Thread Starter
       #5

    Any support assistant type software for Acer does not have the ability to scan the computer to detect for outdated drivers that need updating. It also cannot reinstall the factory setting drivers. It's functionality is very limited. They want people to use the website. To then use the Acer website to download drivers, some of them are outdated and some of them are faulty which significantly degrade the speed and performance of the computer by adding 1m30s to the startup time and also causing various crashes and freezes that happen often, so those drivers are better off being uninstalled.

    I believe this is caused by Windows 10 having a new version every 6 months which can cause various glitches, bugs and other performance issues with drivers. Believe me I have tried to do it the Acer way, and it only made things worse. Using third party software to update the drivers is much better if you know what you're doing.
      My Computer


  6. Posts : 565
    Windows 10 Professional 64-bit
       #6

    I don't think I will be buying an Acer machine now but I think you may get some reaction from other forum members regarding using 3rd party software to update drivers.

    Before I had my HP and DELL machines I used 3rd party software to selectively update drivers. As you state you need to be cautious and "know what you're doing". I think I only ever had one issue using this method and that was an Audio driver.

    Good luck.
      My Computers


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

    Hi,

    1. Try disabling all non-MS shell extensions. First do that using Shellexview (free).

    If no effect, you may find more by using
    Autoruns - free from MS.
    Again avoid disabling MS items.

    Both use check boxes- no need to log off or restart.

    2. Try booting to Safe Mode.
    Does file explorer crash then?

    3. By way of a basic check, run
    chkdsk c: /scan
    from an admin command prompt. Report only the final (summary) result not the whole thing.
      My Computers


  8. Posts : 255
    Windows 10
    Thread Starter
       #8

    Disabling all the non-microsooft COM Shell Extensions with Shellexview didn't work. Also disabling items with Autoruns didn't work. Using chkdsk or even sfc and dism didn't work either. I didn't try your suggestion of using safe mode as I had other ideas.

    However I have finally solved the problem. The problem is fixed now. It required multiple solutions.


    ==================================================================

    Run as adminstrator

    The following software which I use should be running as administrator.



    You will have to decide which software you use has to be run that way, based on the errors, crashes and freezes you often receive on your computer regarding such software. Do NOT do this for your web browser as that is a security hazard for getting viruses.

    If you don't know how to find the relevant .exe file in program files follow these instructions.

    1. Search for the software name on the start menu
    2. Click open containing folder on the right hand side or right click menu
    3. Right click the program name shortcut or click once to select it, then click properties
    4. On the shortcut tab, click open file location
    5. Right click the program name that launches the program, the .exe executable file, then click properties. Or find properties on the ribbon toolbar.
    6. On the compatibility tab, tick the run this program as administrator checkbox.
    7. Once ticked, click OK to save your changes











    Note that for Debut 4 files will have to undergo this process.

    • debut.exe
    • debutsetup_vx.exe (where x is the version number)
    • debutfilterinstallerx64
    • debutfilterinstallerx86


    Now that I think of it, because Debut installs a driver to the computer and Windows 10 has a new version every 6 months, I should upgrade Debut as was using a version of Debut dated 31/05/2019 when the latest version was released in 05/07/2021.

    Change the startup type of the Teamviewer service to manual
    This is for if you have Teamviewer installed on your computer. If so, then you're going to want to open the Services window.
    To open up services, open Run by using Windows Key + R then typing in services.msc or use the Windows + X key then click on Computer Management.
    Why does explorer.exe hang and crash nearly every day?-services-change-teamviewer-manual-startup-type.png

    Uninstall buggy software

    Uninstall all software made by Wondershare as it slows down the computer as it comes with 2 services that are always running even after you uninstall it. You will have to use Autoruns (see below) to delete the services after uninstalling it.

    I also uninstalled VLC, Irfanview and TortoiseSVN as it was causing windows and third party software to crash, not just itself. I also uninstalled Do PDF version 9 as I already had version 11 installed.

    I found that Foxit PDF Reader version 9 is buggy so I uninstalled it and got instant improvements so the error happened less. See if you have any buggy software that needs uninstalling. However they did release version 11 which has much less bugs and crashes.
    Download Mini Toolbox. After running it, tick the list installed programs checkbox then click OK.



    After enough waiting a newly created text file will appear in notepad with a list of all the programs you have installed. This file will be saved in the same folder that Mini Toolbox is running from.



    What you want to do with this information, is to look for any software that is mentioned twice under the same name but with different version numbers. That would show that software didn't uninstall properly and has left traces on your computer. So uninstall the version that doesn't appear on the start menu, then delete traces left behind from the following folders.

    • %APPDATA%
    • %LOCALAPPDATA%
    • Program Files
    • Program Files (x86)


    If you're having trouble finding out the version number of a software because it won't open or it has no about window or page, you can use the properties window of the .exe file to get it. It'll appear under the details tab. This does not work for shortcuts that point to an .exe file.





    Fixing Cortana’s Package Folder

    This folder does not exist in Windows 10 21H2

    1. Press Winkey + X and select ‘Command prompt (Admin)’ or ‘Windows Powershell (Admin)’.
    2. Once that loads up, enter the following command (replace {USERNAME} with your system’s username).
      Code:
      RD /S /Q “C:\Users\{USERNAME}\AppData\Local\Packages\Microsoft.Windows.Cortana_cw5n1h2txyewy\RoamingState”
      Why does explorer.exe hang and crash nearly every day?-fix-cortana-package-folder.png
    3. Now, open up Windows Powershell (Admin) if you used the command prompt to enter the above-mentioned command.
    4. Once Windows Powershell loads up, enter the following command:
      Code:
      Get-AppXPackage -AllUsers |Where-Object {$_.InstallLocation -like “*SystemApps*”} | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}
      Why does explorer.exe hang and crash nearly every day?-get-cortana-package-folder.png


    If any packages are currently in use then just ignore it.

    Here's the source.

    Autoruns

    Download Autoruns then once it's open, click the file menu then the run as administrator option and wait for it to finish loading the full list. Make sure that you opened the file that matches your computer architecture like if your computer is 32 bit, 64 bit or using arm processor.









    There's 3 things you're going to want to do here.

    1. Uncheck all the entries with a missing file or registry key (this will be coloured red or yellow)
    2. Go to the office tab then uncheck every entry that appears blank (this will be coloured red or yellow)
    3. Do the same thing for the image hijack tab
    4. Do the same thing for the logon tab
    5. Uncheck all the startup entries which are related to any software you recently uninstalled
    6. Look inside the startup and scheduled tasks and uncheck anything there that shouldn't be running at startup.


    For me I unchecked the following to run at startup. Adobe sofware, Nova PDF Updater, Foxit PDF Updater, Brave Updater and Microsoft Edge Updater.

    Why does explorer.exe hang and crash nearly every day?-autoruns-empty-known-windows-dll-files-autoruns-xtajit-cpu-bit-architecture.png

    Slow down the speed or throttle your backup software

    My disk usage would occasionally go to 99% or 100% and cause third party software to crash. I use Backblaze to backup my computer and for my situation I had to move the performance slider to throttle it in the position below.

    Why does explorer.exe hang and crash nearly every day?-backblaze-changing-backup-speed.png


    Windows Troubleshooters

    You need to run the following troubleshooters.

    • Search troubleshooter
    • Power troubleshooter
    • Windows Store Apps troubleshooter


    To find the troubleshooters, search for troubleshoot on the start menu and click the troubleshoot settings option. This can also be found in the system category of windows settings.



    At the bottom of the new window that appears, scroll down to the bottom and click additional troubleshooters. There you'll find the relevant troubleshooters to run.





    Speed up .NET Framework

    Run .NET Framework Optimisation Service or mscorsvw.exe. Here's information from microsoft about it. You will have to download the file from github called DrainNGenQueue.wsf. When you open it, a black window will open that it is supposed to spontaneously close without you being able to read the text that was printed on the screen. That means that the operation completed successfully.

    Windows Explorer Optimisations

    Three things have to be done to optimise windows explorer to delete databases which have gone corrupt. Don't worry, what's being reset is nothing major.
    Below are the databases which are (or seem) corrupt

    • File Explorer History
    • Icon Cache
    • Thumbnail Cache


    You need to open File Explorer Options. You can find this by searching for it on the start menu, or using the file explorer (or the file manager), clicking the view tab in the ribbon then clicking the options icon on the right hand side.

    Once clicked, a new window should appear with you viewing the general tab. Click the clear button then click OK to save your changes.



    Now to clear the icon cache and thumbnail cache. There is an simpler way or a hard way to do this. I'll start with the easy way. The Windows Club has a free software for clearing both the icon cache and thumbnail cache. When you use it make sure that both checkboxes are ticked. You can download it here. Or if you prefer you could just use the command line.



    Now for the hard way, it is typically done with command prompt that should be running as administrator, to then run commands that are typed in using the keyboard on the command line. But it's common for files to be locked so they fail to delete as they're already being used, and closing windows explorer on task manager just makes it open up again. In that case Hijack This can be used to make sure that files are deleted upon restarting the computer.











    ==================================================================
    ==================================================================
    ==================================================================

    Once all these solutions have been done, restart your computer then the problem should be fixed.


    ==================================================================
    ==================================================================
    ==================================================================

    I found a virus on my computer

    Why does explorer.exe hang and crash nearly every day?-autoruns-image-hijacks-disable-entries-missing-files.png

    Why does explorer.exe hang and crash nearly every day?-2-viruses-rar-file-screenshot.png

    Why does explorer.exe hang and crash nearly every day?-malwarebytes-1.png

    Why does explorer.exe hang and crash nearly every day?-facebook-messenger-digital-certificates.pngWhy does explorer.exe hang and crash nearly every day?-flash-digital-certificates.png

    I found the relevant registry key using Autoruns and then deleted it with Registry Editor, the folder on the left hand side, not the key on the right. Remember to create a system restore point before editing the registry.

    Why does explorer.exe hang and crash nearly every day?-autoruns-jump-entry-virus.png

    Why does explorer.exe hang and crash nearly every day?-registry-editor.png

    Why does explorer.exe hang and crash nearly every day?-registry-editor-right-click-folder-menu.png

    You can download Reg Organiser here in order to open registry keys to see their structure and contents, WITHOUT adding it to your windows registry. Just don't use any cleaners or optimsers as they might be bad and make your computer worse.

    Why does explorer.exe hang and crash nearly every day?-reg-organiser-nowow-folder-flashhelper-key.pngWhy does explorer.exe hang and crash nearly every day?-reg-organiser-nowow-folder-flashcenter-key.pngWhy does explorer.exe hang and crash nearly every day?-reg-organiser-wow6432-flashservic-key.pngWhy does explorer.exe hang and crash nearly every day?-reg-organiser-wow6432-flashcenter-key.png
    Last edited by desbest; 26 Jan 2022 at 05:29.
      My Computer


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

    Thank you for your reply.
      My Computers


  10. Posts : 100
    Mixed
       #10

    Speed up .NET Framework

    Run .NET Framework Optimisation Service or mscorsvw.exe. Here's information from microsoft about it. You will have to download the file from github called DrainNGenQueue.wsf. When you open it, a black window will open that it is supposed to spontaneously close without you being able to read the text that was printed on the screen. That means that the operation completed successfully.
    Nonsense, this file does not do anything by double clicking on it and already comes with Windows, it should not be downloaded from anyones github (sus advice).

    open an elevated command prompt in C:\Windows\Microsoft.NET\Framework64\v4.0.30319 and C:\Windows\Microsoft.NET\Framework\v4.0.30319 and enter "ngen update" to perform native assembly generation.
      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 11:25.
Find Us




Windows 10 Forums