Debian Codegraph @

cleaners/windows_defender.xml

raw
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 @app Microsoft Windows Defender
22 @url https://www.microsoft.com/en-us/safety/pc-security/windows-defender.aspx
23 @os Windows
24 @cleanerversion v2.0.0
25 @cleanerdate 2019-03-18
26 @cleanerby MixCool (2009-10-11) & theatre-x (2015-09-11) & Tobias B. Besemer (2019-03-14 - 2019-03-18)
27 @tested ok v???, Windows 7
28 @testeddate 2019-03-13
29 @testedby https://github.com/Tobias-B-Besemer
30 @note
31
32 -->
33 <cleaner id="windows_defender" os="windows">
34 <label>Windows Defender</label>
35 <description>Anti-virus</description>
36 <option id="history">
37 <label>History</label>
38 <description>Delete the usage history</description>
39 <action command="delete" search="walk.files" path="%CommonAppData%\Microsoft\Windows Defender\Scans\History\Results\Quick\"/>
40 <action command="delete" search="walk.files" path="%CommonAppData%\Microsoft\Windows Defender\Scans\History\Results\Resource\"/>
41 <action command="delete" search="file" path="%CommonAppData%\Microsoft\Windows Defender\Scans\History\Service\History.Log"/>
42 </option>
43 <option id="temp">
44 <label>Temporary files</label>
45 <description>Delete the temporary files</description>
46 <action command="delete" search="file" path="%WinDir%\Temp\MpCmdRun.log"/>
47 <action command="delete" search="file" path="%WinDir%\Temp\MpSigStub.log"/>
48 <!-- Definition Update: -->
49 <action command="delete" search="file" path="%WinDir%\SoftwareDistribution\Download\Install\mpas-d.exe"/>
50 <!-- Definition Update: -->
51 <action command="delete" search="file" path="%WinDir%\SoftwareDistribution\Download\Install\mpas-fe.exe"/>
52 <!-- Definition Update: -->
53 <action command="delete" search="file" path="%WinDir%\SoftwareDistribution\Download\Install\mpas-fe_bd.exe"/>
54 <!-- AS Engine: -->
55 <action command="delete" search="file" path="%WinDir%\SoftwareDistribution\Download\Install\AS_Engine.exe"/>
56 <!-- AS Engine Patch: -->
57 <action command="delete" search="glob" path="%WinDir%\SoftwareDistribution\Download\Install\AS_Engine_Patch_*.exe"/>
58 <!-- AS Base: -->
59 <action command="delete" search="file" path="%WinDir%\SoftwareDistribution\Download\Install\AS_Base.exe"/>
60 <!-- AS Base: -->
61 <action command="delete" search="glob" path="%WinDir%\SoftwareDistribution\Download\Install\AS_Base_Patch*.exe"/>
62 <!-- AntiMaleware Definition Update: -->
63 <action command="delete" search="file" path="%WinDir%\SoftwareDistribution\Download\Install\AS_Delta.exe"/>
64 <!-- AntiMaleware Definition Update: -->
65 <action command="delete" search="glob" path="%WinDir%\SoftwareDistribution\Download\Install\AS_Delta_Patch_*.exe"/>
66 <!-- Definition Updates: -->
67 <action command="delete" search="walk.files" path="%CommonAppData%\Microsoft\Windows Defender\Definition Updates\Updates\"/>
68 </option>
69 <option id="quarantine">
70 <label>Quarantine</label>
71 <description>Delete the files</description>
72 <action command="delete" search="walk.files" path="%CommonAppData%\Microsoft\Windows Defender\Quarantine"/>
73 <!--
74 Includes:
75 - Entries
76 - ResourceData
77 - Resources
78 -->
79 </option>
80 <option id="backup">
81 <label>Backup files</label>
82 <description>Delete the backup files</description>
83 <action command="delete" search="walk.files" path="%CommonAppData%\Microsoft\Windows Defender\Definition Updates\Backup\"/>
84 </option>
85 <option id="logs">
86 <label>Logs</label>
87 <description>Delete the logs</description>
88 <action command="delete" search="file" path="%CommonAppData%\Microsoft\Windows Defender\Scans\History\Service\Detections.log"/>
89 <action command="delete" search="file" path="%CommonAppData%\Microsoft\Windows Defender\Scans\History\Service\History.Log"/>
90 <action command="delete" search="file" path="%CommonAppData%\Microsoft\Windows Defender\Scans\History\Service\Unknown.Log"/>
91 <action command="delete" search="glob" path="%CommonAppData%\Microsoft\Windows Defender\Support\MPLog-*.log"/>
92 </option>
93 </cleaner>