valinet / ExplorerPatcher

This project aims to enhance the working environment on Windows
GNU General Public License v2.0
22.22k stars 976 forks source link

Opening a new File Explorer window crashes explorer.exe #1942

Closed NotLoopyy closed 8 months ago

NotLoopyy commented 9 months ago

It doesn't happen every time I open a new window. Maybe 1 in every 20 times it happens. I have attached a video of what happens when it crashes.

Windows Version: Windows 11 Pro 22H2 Build 22621.2134

Explorer Patcher Version 22621.1992.56.3

https://github.com/valinet/ExplorerPatcher/assets/87902962/11808cc7-8b82-455d-ad1f-a9d7bc23a8e9

descentfan1975 commented 9 months ago

I had the same issue. So tried uninstalling it.

Now, it crashes on install, then when I right-click on the taskbar it crashes over and over until I get the message that it crashed 3 times in 10 seconds.

Windows 11 Pro 22H2 Installed on 20 Mar 2023 OS Build 22621.2215

Gxtod commented 9 months ago

I have the same problem: https://github.com/valinet/ExplorerPatcher/issues/1935

SouthernHeftruck commented 9 months ago

Same. Uninstalled KB5029263 as only workable solution. Sometimes this problem doesn't occur the first 3 or 4 times you start Explorer but then every time.

pyrates999 commented 9 months ago

duplicate of: https://github.com/valinet/ExplorerPatcher/issues/1828

Please close this one.

Possible fix: In ExplorerPatcher Properties, go to Advanced and tick "Do not change the taskbar context menu"

Girofox commented 9 months ago

For me explorer.exe crashes randomly, often after unlocking User or when exiting standby. But cannot find a reliable trigger to reproduce the issue. But for clarification this happens when i have Windows 11 style taskbar and Windows 10 style start menu though.

Girofox commented 9 months ago

This is my crash message in event viewer, it shows Windows.UI.Xaml.dll has something to do with it:

image

saulob commented 9 months ago

Same problem here

Bagu commented 9 months ago

duplicate of: #1828

Please close this one.

Possible fix: In ExplorerPatcher Properties, go to Advanced and tick "Do not change the taskbar context menu"

Don't work

pyrates999 commented 9 months ago

does "Do not change the taskbar context menu" have a check mark beside it or an x?

Bagu commented 9 months ago

I tried both (with full uninstall, clean, reboot, reinstall between tries), but now it have an X.

pyrates999 commented 9 months ago

Click on it so it has a tick mark beside "Do not change the taskbar context menu". And then restart file explorer.

Bagu commented 9 months ago

If you read my sentence, you can see i try with both...

pyrates999 commented 9 months ago

After it showed a tick mark beside "Do not change the taskbar context menu", did you restart file explorer?

What about rebooting after doing the above?

Bagu commented 9 months ago

Did you really read my first answer ? In short : yes.

pyrates999 commented 9 months ago

Just being thorough. Now please wait for this to get fixed.

Somethings you can try.

  1. uninstall EP and reboot
  2. Then open a command prompt with elevated privileges and run the following: sfc /scannow
Bagu commented 9 months ago

Ok. To be clear, i already done these things. sfc /scannow dism /online /cleanup-image /startcomponentcleanup dism /online /cleanup-image /restorehealth I already try to install ep to a fresh install.

But, on a clean an updated windows 11, ep make a random explorer restart. Where can i find some usefull log to contribute to find where ep fail please ?

pyrates999 commented 9 months ago

When it happens, do the following:

  1. open up windows event viewer or computer management
  2. go to Event Viewer and go to Windows Logs -> Application
  3. check to see if there's an entry for explorer.exe and paste it here.
descentfan1975 commented 8 months ago
- System
- Provider
[ Name] Application Error
[ Guid] {a0e9b465-b939-57d7-b27d-95d8e925ff57}
EventID 1000
Version 0
Level 2
Task 100
Opcode 0
Keywords 0x8000000000000000
- TimeCreated
[ SystemTime] 2023-09-07T04:21:51.2410587Z
EventRecordID 55791
Correlation
- Execution
[ ProcessID] 23160
[ ThreadID] 18088
Channel Application
Computer CPS-DESKTOP
- Security
[ UserID] S-1-5-21-1433234332-2147125120-3220829628-1001
- EventData
AppName explorer.exe
AppVersion 10.0.22621.2215
AppTimeStamp b9c28810
ModuleName Windows.UI.Xaml.dll
ModuleVersion 10.0.22621.2215
ModuleTimeStamp ec54f32d
ExceptionCode c000027b
FaultingOffset 0000000000872320
ProcessId 0x318c
ProcessCreationTime 0x1d9e0e7fff42a21
AppPath C:\Windows\explorer.exe
ModulePath C:\Windows\System32\Windows.UI.Xaml.dll
IntegratorReportId 83bcc021-8ec9-426c-a7a4-53dafed299d3
PackageFullName
PackageRelativeAppId
pyrates999 commented 8 months ago

@descentfan1975 That is a preview update: https://support.microsoft.com/en-us/topic/august-22-2023-kb5029351-os-build-22621-2215-preview-9af25662-083a-43f5-b3a7-975fe25cc692

Uninstall it if you want to use explorer patcher and don't install preview updates in the future: https://github.com/valinet/ExplorerPatcher/wiki/Symbols

In the settings app, untick "Get the latest updates as soon as available" so that preview updates are not automatically installed.

All preview updates are then shown as download and install and are never automatically installed if you have the above unticked.

Preview updates are also not fully tested by Microsoft and thus could have bugs.

Preview updates are not supported by EP.

Balabai1337 commented 8 months ago

I fixed this issue by selecting in ep settings > File Explorer > Windows 10 Management Interface instead of Windows 11.

descentfan1975 commented 8 months ago

@descentfan1975 That is a preview update: https://support.microsoft.com/en-us/topic/august-22-2023-kb5029351-os-build-22621-2215-preview-9af25662-083a-43f5-b3a7-975fe25cc692

Uninstall it if you want to use explorer patcher and don't install preview updates in the future: https://github.com/valinet/ExplorerPatcher/wiki/Symbols

In the settings app, untick "Get the latest updates as soon as available" so that preview updates are not automatically installed.

All preview updates are then shown as download and install and are never automatically installed if you have the above unticked.

Preview updates are also not fully tested by Microsoft and thus could have bugs.

Preview updates are not supported by EP.

I get that you don't want to support release previews, but this crashing has been happening before this preview was installed and has been happening since I installed EP at the beginning of summer. The management interface thing Balabai mentioned seems to be working, but I lose the ability to have the tabbed interface with explorer which I was just starting to get used to.

Overall, love the program and appreciate the work you're doing to support it.

pyrates999 commented 8 months ago

@descentfan1975 That is a preview update: https://support.microsoft.com/en-us/topic/august-22-2023-kb5029351-os-build-22621-2215-preview-9af25662-083a-43f5-b3a7-975fe25cc692 Uninstall it if you want to use explorer patcher and don't install preview updates in the future: https://github.com/valinet/ExplorerPatcher/wiki/Symbols In the settings app, untick "Get the latest updates as soon as available" so that preview updates are not automatically installed. All preview updates are then shown as download and install and are never automatically installed if you have the above unticked. Preview updates are also not fully tested by Microsoft and thus could have bugs. Preview updates are not supported by EP.

I get that you don't want to support release previews, but this crashing has been happening before this preview was installed and has been happening since I installed EP at the beginning of summer. The management interface thing Balabai mentioned seems to be working, but I lose the ability to have the tabbed interface with explorer which I was just starting to get used to.

Overall, love the program and appreciate the work you're doing to support it.

Then don't install preview updates.

Girofox commented 8 months ago

Why does Microsoft even release preview updates with Windows insider disabled? And this even happens when "Get get latest updates..." is disabled

NifTTY commented 8 months ago

@pyrates999

I still have one Win11 Home 22H2 (22621.2134) system using EP 22621.1992.56.3 where the bug doesn't happen!

In this system (Example C from #2055), the Control Interface is set to Windows 11. I have tabbed file browsing and no crash bug when opening new windows. Not sure what's different about this sample.

NifTTY commented 8 months ago

@pyrates999 This does not seem to be the same issue as described in #1828 or #2051

Can you confirm the context?

pyrates999 commented 8 months ago

@pyrates999 This does not seem to be the same issue as described in #1828 or #2051

Can you confirm the context?

See answer: https://github.com/valinet/ExplorerPatcher/issues/2051#issuecomment-1721298149

Poopooracoocoo commented 8 months ago

Should be resolved now. Leave a comment or create a new issue if you're still seeing issues. Make sure to include your OS build and ExplorerPatcher version.