From 2f300162568b28034bed67b7253d846ab78c3cb3 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 7 Jan 2017 23:09:54 +0300 Subject: add reset_explorer_settings.bat --- reset_explorer_settings.bat | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 reset_explorer_settings.bat (limited to 'reset_explorer_settings.bat') 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 -- cgit v1.2.3