Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
All: Implemented a mechanism to stop repeated crashes
When Windows is updated, it may fundamentally change the layout and functionality of `explorer`'s internal data structure. Since ExplorerPatcher intensively patches those in order to deliver its functionality, it may lead to `explorer` crashing when it performs these modifications while being unaware (outdated) of the latest OS changes. The worst scenario is when the crashes happen when `explorer` starts up (for example, when the user logs in), and could cause the user to experience an endless loop of `explorer` crashes, and leave him/her unable to practically use the computer. In order to mitigate this scenario, when `explorer` starts up as the shell, ExplorerPatcher increments a counter stored in the registry. After a predefined timeout (by default, 10 seconds), ExplorerPatcher will reset the counter to 0. If `explorer` crashes during this period, the counter will not be reset. When `explorer` restarts, the cycle repeats. If the counter reaches a predefined value (by default, 3), instead of starting up again normally (and very probably crashing again), ExplorerPatcher will display a message window informing the user about what is happening, offering a few suggestions on how to proceed next and disable its entire functionality until the next File Explorer restart, in order to give the user a chance to perform maintenance on the machine.
- Loading branch information
Showing
1 changed file
with
136 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d7e5b7d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
d7e5b7d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. It's sad that so many people ended up reinstalling Windows because of... The root cause... Microsoft's weird design decisions.
Now I can safely upgrade again to Windows 11
d7e5b7d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh nice. I got around and could uninstall it using cmd from the TaskManager when it happened to me.