How do I reinstall Windows 10 File Explorer?
Solution 1:
I tried for over a year to fix a bug like this (and could not). I reinstalled (over the top, not fresh) windows, did SFC /scannow.. etc etc.
For me, it appeared to be a problem somewhere in HKCU because if I logged in as another user, it didn't happen. I am betting that it is a rogue shell extension.
I eventually found the following batch file and added a few lines of my own.
It would make the problem go away for a while.. until it came back. Then I would run it again.
It might help you.
`
@echo off
::kill explorer.exe
taskkill /f /im explorer.exe
:: To reset folder view settings of all folders
Reg Delete "HKCU\SOFTWARE\Microsoft\Windows\Shell\BagMRU" /F
Reg Delete "HKCU\SOFTWARE\Microsoft\Windows\Shell\Bags" /F
Reg Delete "HKCU\SOFTWARE\Microsoft\Windows\ShellNoRoam\Bags" /F
Reg Delete "HKCU\SOFTWARE\Microsoft\Windows\ShellNoRoam\BagMRU" /F
Reg Delete "HKCU\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU" /F
Reg Delete "HKCU\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags" /F
Reg Delete "HKCU\SOFTWARE\Classes\Wow6432Node\Local Settings\Software\Microsoft\Windows\Shell\Bags" /F
Reg Delete "HKCU\SOFTWARE\Classes\Wow6432Node\Local Settings\Software\Microsoft\Windows\Shell\BagMRU" /F
:: To reset "Apply to Folders" views to default
Reg Delete "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Streams\Defaults" /F
:: To reset size of details, navigation, preview panes to default
Reg Delete "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Modules\GlobalSettings\Sizer" /F
Reg Delete "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Modules\NavPane" /v ExpandedState /F
:: restart explorer
start explorer.exe
`