jesus2099 / settei

設定
4 stars 0 forks source link

Detect and repair Windows 10 Start Menu #3

Open jesus2099 opened 2 years ago

jesus2099 commented 2 years ago

Sometimes, my Windows 10 Start Menu becomes broken. When I press the Windows key then type program names, there is no search showing up. In this case, We need to restart explorer.exe and everything is fixed.

taskkill /f /im explorer.exe
start explorer.exe

The biggest inconvenient is that all File Explorer windows will also be closed at the same time. So it would be nice to not do it for nothing.


I did put this code on each unlock event: eefcb88b97543579ddb3795273ac10bcdac0c9de But then I had to revert it, because it broke my startup program loading sequence: 8b4ca2ed44acd8d5d743af00a5af937490ac767c

Revert "On unlock: Add start menu repair to fast keyboard repair" This reverts commit eefcb88b97543579ddb3795273ac10bcdac0c9de.

Killing explorer.exe on unlock event also kills it during startup sequence, thus preventing loading many programs!

Next time my Start menu is broken, I will see if I can detect it properly, so to kill explorer.exe only when needed.