summaryrefslogtreecommitdiffstatshomepage
path: root/reset_explorer_settings.bat
blob: 4e9ede260e1f53f674d32a856ee4bc2322867a33 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
taskkill /f /im explorer.exe

reg delete "HKCU\SOFTWARE\Microsoft\Windows\Shell\Bags"   /f
reg delete "HKCU\SOFTWARE\Microsoft\Windows\Shell\BagMRU" /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\Bags"   /f
reg delete "HKCU\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU" /f

reg add "HKCU\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell" /v FolderType /t REG_SZ /d NotSpecified /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

reg delete "HKCU\SOFTWARE\Microsoft\Windows Photo Viewer\Viewer" /va /f

reg delete "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Modules\GlobalSettings\Sizer" /f

start explorer.exe