Trouble with Explorer.EXE constantly crashing and restarting

Sora Hoshi 0 Reputation points
2024-05-06T13:34:06.02+00:00

How can I resolve an issue where Explorer.EXE keeps crashing and restarting? I received the following error message:

Faulting application name: Explorer.EXE,version: 10.0.22621.3374,time stamp: 0x8e690d6e
Faulting module name: Windows.UI.Xaml.dll,version: 10.0.22621.3447,time stamp: 0x0968acf3
Exception code: 0xc000027b
Fault offset: 0x0000000000872720
Faulting process id: 0x0x5EC0
Faulting application start time: 0x0x1DA9F4DC10A710B
Faulting application path: C:\WINDOWS\Explorer.EXE
Faulting module path: C:\Windows\System32\Windows.UI.Xaml.dll
Report Id: 11807f31-2f48-406d-8613-96232d686f06

I'm not sure what caused this error or how to fix it. Any suggestions would be appreciated.

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,367 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Michael Taylor 49,071 Reputation points
    2024-05-06T14:30:28.9666667+00:00

    This is caused by a UWP application crashing. It seems odd that Explorer itself would crash. Unfortunately we would need the callstack and additional error information in order to figure out what is failing. What you're seeing is the last error and what you need is the error that caused the error.


  2. Wesley Li 5,085 Reputation points
    2024-05-06T16:21:57.23+00:00

    Hello

    Here are a few steps you can try to resolve the issue:

    Restart Windows Explorer:

    Click Start, type Task Manager and open it.

    Click on Processes Tab.

    Look for Windows Explorer.

    Right click and hit Restart.

     

    Update Display Driver:

    Go to Device Manager.

    Expand the Display Adapters.

    Look for Display driver that was installed.

    Right click and Update.

    Look for “Browse my computer for driver”.

    Choose an old driver and use it.

     

    Run System File Checker (SFC) and DISM:

    Click Start, type CMD and run it as administrator.

    Copy and paste the command below and hit enter: Sfc /scannow

    Wait until the pc finishes scanning and repairing any corrupted system files then proceed with the next command: DISM /Online /Cleanup-Image /RestoreHealth

    Once the scan is done restart your computer and check.

     

    Clear cache of File Explorer:

    Open Run Command ( Press Windows key + R)

    Copy, paste then click ok the file path below: C:\Users\%username%\AppData\Roaming\Microsoft\Windows\Recent\AutomaticDestinations

    Delete everything inside the AutomaticDestinations folder

    Restart PC and check

     

    Do clean boot:

    In the search box on the taskbar, type msconfig and select System Configuration from the results.

    On the Services tab of System Configuration, select Hide all Microsoft services, and then select Disable all.

    On the Startup tab of System Configuration, select Open Task Manager.

    Under Startup in Task Manager, for each startup item, select the item and then select Disable.

    Close Task Manager.

    On the Startup tab of System Configuration, select OK. When you restart the computer, it’s in a clean boot environment.

     

    Run PowerShell Commands:

    Click Start, type Powershell and run as administrator.

    Copy and paste each of the commands below and hit Enter:

    Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$ ($_.InstallLocation)AppXManifest.xml”}

    Get-AppxPackage Microsoft.Windows.ShellExperienceHost | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$ ($_.InstallLocation)\\AppXManifest.xml\"}

    Restart once done and check if the explorer will still crash.