diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2017-01-07 23:09:54 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2017-01-07 23:09:54 +0300 |
commit | 2f300162568b28034bed67b7253d846ab78c3cb3 (patch) | |
tree | 9f38833a7f892304c0904a1650c7d91897af82b3 | |
parent | boost.md: how to use it with CMake (diff) | |
download | notes-2f300162568b28034bed67b7253d846ab78c3cb3.tar.gz notes-2f300162568b28034bed67b7253d846ab78c3cb3.zip |
add reset_explorer_settings.bat
Diffstat (limited to '')
-rw-r--r-- | .gitattributes | 1 | ||||
-rw-r--r-- | reset_explorer_settings.bat | 21 |
2 files changed, 22 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..69b47b5 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.bat text eol=crlf 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 |