summaryrefslogtreecommitdiffstatshomepage
path: root/reset_explorer_settings.bat
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--reset_explorer_settings.bat21
1 files changed, 21 insertions, 0 deletions
diff --git a/reset_explorer_settings.bat b/reset_explorer_settings.bat
new file mode 100644
index 0000000..4e9ede2
--- /dev/null
+++ b/reset_explorer_settings.bat
@@ -0,0 +1,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