| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<!-- |
| 3 |
|
| 4 |
BleachBit |
| 5 |
Copyright (C) 2008-2025 Andrew Ziem |
| 6 |
https://www.bleachbit.org |
| 7 |
|
| 8 |
This program is free software: you can redistribute it and/or modify |
| 9 |
it under the terms of the GNU General Public License as published by |
| 10 |
the Free Software Foundation, either version 3 of the License, or |
| 11 |
(at your option) any later version. |
| 12 |
|
| 13 |
This program is distributed in the hope that it will be useful, |
| 14 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 16 |
GNU General Public License for more details. |
| 17 |
|
| 18 |
You should have received a copy of the GNU General Public License |
| 19 |
along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 20 |
|
| 21 |
--> |
| 22 |
<cleaner id="windows_explorer" os="windows"> |
| 23 |
<label>Windows Explorer</label> |
| 24 |
<description>File manager</description> |
| 25 |
<option id="mru"> |
| 26 |
<label>Most recently used</label> |
| 27 |
<description>Delete the most recently used list</description> |
| 28 |
<!-- applications executed including date and time, Windows XP --> |
| 29 |
<action command="winreg" path="HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist\{5E6AB780-7743-11CF-A12B-00AA004AE837}\Count"/> |
| 30 |
<action command="winreg" path="HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist\{75048700-EF1F-11D0-9888-006097DEACF9}\Count"/> |
| 31 |
<!-- applications executed including date and time, Windows 7 --> |
| 32 |
<action command="winreg" path="HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist\{CEBFF5CD-ACE2-4F4F-9178-9926F41749EA}\Count"/> |
| 33 |
<action command="winreg" path="HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist\{F4E57C4B-2036-45F0-A9AB-443BCFE33D9F}\Count"/> |
| 34 |
<!-- refresh Windows shell after UserAssist --> |
| 35 |
<action command="win.shell.change.notify"/> |
| 36 |
<!-- reference: reference: http://support.microsoft.com/kb/142298 --> |
| 37 |
<!-- common open dialog --> |
| 38 |
<action command="winreg" path="HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\LastVisitedMRU"/> |
| 39 |
<!-- Windows Vista/7 --> |
| 40 |
<action command="winreg" path="HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\LastVisitedPidlMRU"/> |
| 41 |
<!-- common save as dialog --> |
| 42 |
<action command="winreg" path="HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSaveMRU"/> |
| 43 |
<!-- Windows Vista/7 --> |
| 44 |
<action command="winreg" path="HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSavePidlMRU"/> |
| 45 |
<!-- find files command --> |
| 46 |
<action command="winreg" path="HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Doc Find Spec MRU"/> |
| 47 |
<!-- find Computer command --> |
| 48 |
<action command="winreg" path="HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FindComputerMRU"/> |
| 49 |
<!-- map network drives --> |
| 50 |
<action command="winreg" path="HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Map Network Drive MRU"/> |
| 51 |
<!-- printer ports --> |
| 52 |
<action command="winreg" path="HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\PrnPortsMRU"/> |
| 53 |
</option> |
| 54 |
<option id="recent_documents"> |
| 55 |
<label>Recent documents list</label> |
| 56 |
<description>Delete the list of recently used documents</description> |
| 57 |
<warning>This option will reset pinned locations in Quick Access to their defaults.</warning> |
| 58 |
<!-- Windows XP --> |
| 59 |
<action command="delete" search="glob" path="%USERPROFILE%\Recent\*.lnk"/> |
| 60 |
<!-- Vista --> |
| 61 |
<action command="delete" search="glob" path="%APPDATA%\Microsoft\Windows\Recent\*.lnk"/> |
| 62 |
<!-- recent documents in start menu --> |
| 63 |
<action command="winreg" path="HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RecentDocs"/> |
| 64 |
<!-- Windows 7 jump list --> |
| 65 |
<action command="delete" search="glob" path="%APPDATA%\Microsoft\Windows\Recent\AutomaticDestinations\*.automaticDestinations-ms"/> |
| 66 |
<action command="delete" search="glob" path="%APPDATA%\Microsoft\Windows\Recent\CustomDestinations\*customDestinations-ms"/> |
| 67 |
</option> |
| 68 |
<option id="run"> |
| 69 |
<label translators="In Windows 'Run' is the dialog in the Start menu">Run</label> |
| 70 |
<description>Delete the most recently used list</description> |
| 71 |
<!-- run command --> |
| 72 |
<action command="winreg" path="HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU"/> |
| 73 |
</option> |
| 74 |
<option id="search_history"> |
| 75 |
<label>Search history</label> |
| 76 |
<description>Delete the search history</description> |
| 77 |
<action command="winreg" path="HKCU\Software\Microsoft\Search Assistant\ACMru"/> |
| 78 |
<!-- Windows 10 --> |
| 79 |
<action command="winreg" path="HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\WordWheelQuery"/> |
| 80 |
</option> |
| 81 |
<option id="shellbags"> |
| 82 |
<label>Shellbags</label> |
| 83 |
<description>Delete the usage date, window position, and other data for folders</description> |
| 84 |
<warning>This will reset the position of desktop icons.</warning> |
| 85 |
<!-- What we need to delete: (http://support.microsoft.com/kb/813711) --> |
| 86 |
<action command="winreg" path="HKCU\Software\Microsoft\Windows\Shell\Bags"/> |
| 87 |
<action command="winreg" path="HKCU\Software\Microsoft\Windows\Shell\BagMRU"/> |
| 88 |
<action command="winreg" path="HKCU\Software\Microsoft\Windows\ShellNoRoam\Bags"/> |
| 89 |
<action command="winreg" path="HKCU\Software\Microsoft\Windows\ShellNoRoam\BagMRU"/> |
| 90 |
<action command="winreg" path="HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags"/> |
| 91 |
<action command="winreg" path="HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU"/> |
| 92 |
<!-- And on 64-bit systems additionally: --> |
| 93 |
<action command="winreg" path="HKCU\Software\Classes\Wow6432Node\Local Settings\Software\Microsoft\Windows\Shell\Bags"/> |
| 94 |
<action command="winreg" path="HKCU\Software\Classes\Wow6432Node\Local Settings\Software\Microsoft\Windows\Shell\BagMRU"/> |
| 95 |
</option> |
| 96 |
<option id="thumbnails"> |
| 97 |
<label>Thumbnails</label> |
| 98 |
<description>Delete the cache</description> |
| 99 |
<warning>This will restart Windows Explorer.</warning> |
| 100 |
<action command="process" cmd="%WINDIR%\System32\taskkill.exe /f /IM explorer.exe"/> |
| 101 |
<action command="delete" search="glob" path="%LOCALAPPDATA%\Microsoft\Windows\Explorer\thumbcache*.db"/> |
| 102 |
<!-- On 64-bit Windows, it is important to start the 64-bit Windows Explorer, |
| 103 |
so use the full path. Also, do not wait for the process to terminate. |
| 104 |
|
| 105 |
The redundant .exe is intentional to launch explorer.exe in disabled UAC |
| 106 |
virtualization mode rather than elevated mode because normally it |
| 107 |
inherits the mode from bleachbit.exe. |
| 108 |
--> |
| 109 |
<action command="process" wait="false" cmd="%WINDIR%\explorer.exe %WINDIR%\explorer.exe"/> |
| 110 |
</option> |
| 111 |
</cleaner> |