forked from Chuyu-Team/Dism-Multi-language
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Data.xml
8192 lines (7866 loc) · 441 KB
/
Data.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="utf-8"?>
<!--此文件用于保存程序的清理规则-->
<Data>
<CleanCollection4>
<!--过期文件-->
<Item Name="#被取代的WinSxS组件" Level="2">
<Description>#清理被取代的组件并减少组件存储的大小。</Description>
<Group>#过期文件</Group>
<ScanCollection>
<!--在这里填写扫描规则,Dism++将自动匹配第一条命中的规则-->
<!--Vista~Windows 8.1-->
<Scan Work="15">
<Applicable>
<OSVersion Compare="<">10.0</OSVersion>
</Applicable>
<Warning>#清理后将无法卸载更新,如果有卸载更新需求请勿使用此选项。</Warning>
<Activate>
<Custom ProcName="DismComponentCleanup" Flags="#1"/>
</Activate>
</Scan>
<!--Windows 10在线-->
<Scan Work="15">
<Applicable>
<OSVersion Compare=">=">10.0</OSVersion>
<ImageFlags>1</ImageFlags>
</Applicable>
<Warning>#清理后将无法卸载更新,此外ResetBase模式跟系统重置功能有冲突,如果有卸载更新或者系统重置需求请勿使用此选项。</Warning>
<Activate>
<Custom ProcName="DismComponentCleanup" Flags="#1"/>
</Activate>
</Scan>
<!--Windows 10离线,因为离线不能重启避免一些麻烦,离线下关闭Resetbase-->
<Scan Work="50">
<Name>#被取代的WinSxS组件(非常慢)</Name>
<Applicable>
<OSVersion Compare=">=">10.0</OSVersion>
<Not>
<ImageFlags>1</ImageFlags>
</Not>
</Applicable>
<Warning>#清理后将无法卸载更新,如果有卸载更新需求请勿使用此选项。</Warning>
<Activate>
<Custom ProcName="DismComponentCleanup"/>
</Activate>
</Scan>
</ScanCollection>
</Item>
<Item Name="#以前的Windows系统" Level="2">
<Description>#在系统升级或者还原后留下的系统备份。</Description>
<Warning>#删除后你将无法回滚到以前安装的系统。</Warning>
<Group>#过期文件</Group>
<Scan Work="5">
<Applicable>
<FileExist FilePath="%SystemDrive%\Windows.old"/>
</Applicable>
<Activate>
<General RootPath="%SystemDrive%" Flags="Directory">
<Query>Windows.old*</Query>
</General>
</Activate>
</Scan>
</Item>
<Item Name="#以前的Dism++组件" Level="3">
<!--2016年1月6日 15:45添加-->
<Description>#以前版本的Dism++使用的文件。</Description>
<Group>#过期文件</Group>
<Scan>
<Applicable>
<ImageFlags>1</ImageFlags>
</Applicable>
<Activate>
<General RootPath="%0%Config\">
<Query>wsusscn2.cab.Session</Query>
<Query>DismRule.xml</Query>
<Query>Dism.xml</Query>
<Query>Config*</Query>
<Excluded>Config.ini</Excluded>
</General>
<General RootPath="%0%Config\amd64">
<Query>BCDBoot</Query>
<Query>DuiLib.dll</Query>
<Query>Plug-in</Query>
<Query>nativedism.exe</Query>
<Query>Dism</Query>
</General>
<General RootPath="%0%Config\x86">
<Query>BCDBoot</Query>
<Query>DuiLib.dll</Query>
<Query>Plug-in</Query>
<Query>nativedism.exe</Query>
<Query>Dism</Query>
</General>
<General RootPath="%0%Config\Languages">
<Excluded>?GetLocaleName().zip</Excluded>
</General>
<General RootPath="%0%Config\Plugins" Flags="Directory">
<Query>{*}</Query>
</General>
<General RootPath="%0%">
<Query>*.dmp</Query>
<Query>What's New(beta).txt</Query>
<Query>What's New(Public).txt</Query>
</General>
</Activate>
</Scan>
</Item>
<Item Name="#360浏览器老版本备份" Level="2">
<!--2016年1月7日 11:39添加-->
<Description>#360浏览器在升级到新版本后留下的备份文件,在故障时回滚到老版本。</Description>
<Group>#过期文件</Group>
<Scan>
<Applicable>
<ImageFlags>1</ImageFlags>
<FileExist FilePath="%APPDATA%\360se6\Application"/>
</Applicable>
<Activate>
<General RootPath="%APPDATA%\360se6\Application" Flags="Directory">
<Query>*.*.*.*</Query>
<Excluded>?GetFileVersion(%Root%360se.exe)</Excluded>
</General>
</Activate>
</Scan>
</Item>
<Item Name="#阿里旺旺老版本备份" Level="2">
<!--2016年1月7日 11:39添加-->
<Description>#阿里旺旺在升级到新版本后留下的备份文件,在故障时回滚到老版本。</Description>
<Group>#过期文件</Group>
<Scan>
<Applicable>
<ImageFlags>1</ImageFlags>
<RegExist Key="HKEY_LOCAL_MACHINE\SOFTWARE\Alibaba\WWLights\EE76A38A6C9E01F42C551FE3BE585C3B" Wow64="True"/>
</Applicable>
<Activate>
<General RootPath="?GetRegSz(HKEY_LOCAL_MACHINE\SOFTWARE\Alibaba\WWLights\EE76A38A6C9E01F42C551FE3BE585C3B,Path,True)" Flags="Directory">
<Query>*.*.*</Query>
<Excluded>?GetIniData(%Root%Aliim.ini,Common,Version)</Excluded>
</General>
</Activate>
</Scan>
</Item>
<Item Name="#阿里亲淘老版本备份" Level="2">
<!--2016年1月7日 11:39添加-->
<Description>#阿里亲淘在升级到新版本后留下的备份文件,在故障时回滚到老版本。</Description>
<Group>#过期文件</Group>
<Scan>
<Applicable>
<ImageFlags>1</ImageFlags>
<RegExist Key="HKEY_LOCAL_MACHINE\SOFTWARE\Alibaba\WWLights\810588CDA60249EB05C110B0DED77CD8" Wow64="True"/>
</Applicable>
<Activate>
<General RootPath="?GetRegSz(HKEY_LOCAL_MACHINE\SOFTWARE\Alibaba\WWLights\810588CDA60249EB05C110B0DED77CD8,Path,True)" Flags="Directory">
<Query>*.*.*</Query>
<Excluded>?GetIniData(%Root%AliQinTao.ini,Common,Version)</Excluded>
</General>
</Activate>
</Scan>
</Item>
<Item Name="#Chrome浏览器老版本备份(by Honry)" Level="2">
<!--2016-04-08 14:43添加-->
<Description>#Chrome浏览器升级到新版本后留下的备份文件,在故障时回滚到老版本。</Description>
<Group>#过期文件</Group>
<Scan>
<Applicable>
<ImageFlags>1</ImageFlags>
<Or>
<RegExist Key="HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\App Paths\chrome.exe" Value="Path"/>
<RegExist Key="HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths\chrome.exe" Value="Path"/>
</Or>
</Applicable>
<Applicable_1>
<RegExist Key="HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\App Paths\chrome.exe" Value="Path"/>
<Not>
<FileExist FilePath="?GetRegSz(HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\App Paths\chrome.exe,Path)\new_chrome.exe"/>
</Not>
</Applicable_1>
<Applicable_2>
<RegExist Key="HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths\chrome.exe" Value="Path"/>
<Not>
<FileExist FilePath="?GetRegSz(HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths\chrome.exe,Path)\new_chrome.exe"/>
</Not>
</Applicable_2>
<Activate>
<General RootPath="?GetRegSz(HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\App Paths\chrome.exe,Path)" Flags="Directory" ID="Applicable_1">
<Query>*.*.*.*</Query>
<Excluded>?GetFileVersion(%Root%Chrome.exe)</Excluded>
</General>
<General RootPath="?GetRegSz(HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths\chrome.exe,Path)" Flags="Directory" ID="Applicable_2">
<Query>*.*.*.*</Query>
<Excluded>?GetFileVersion(%Root%Chrome.exe)</Excluded>
</General>
</Activate>
</Scan>
</Item>
<Item Name="#Opera浏览器老版本备份(by MS-PC2)" Level="2">
<!--2017-11-23 13:50添加-->
<Description>#Opera浏览器升级到新版本后留下的备份文件,在故障时回滚到老版本。</Description>
<Group>#过期文件</Group>
<Scan>
<Applicable>
<ImageFlags>1</ImageFlags>
<Or>
<RegExist Key="HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\App Paths\opera.exe" Value="Path"/>
<RegExist Key="HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths\opera.exe" Value="Path"/>
</Or>
</Applicable>
<Applicable_1>
<RegExist Key="HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\App Paths\opera.exe" Value="Path"/>
</Applicable_1>
<Applicable_2>
<RegExist Key="HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths\opera.exe" Value="Path"/>
</Applicable_2>
<Activate>
<General RootPath="?GetRegSz(HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\App Paths\opera.exe,Path)" Flags="Directory" ID="Applicable_1">
<Query>*.*.*.*</Query>
<Excluded>?GetFileVersion(%Root%Launcher.exe)</Excluded>`
</General>
<General RootPath="?GetRegSz(HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths\opera.exe,Path)" Flags="Directory" ID="Applicable_2">
<Query>*.*.*.*</Query>
<Excluded>?GetFileVersion(%Root%Launcher.exe)</Excluded>
</General>
</Activate>
</Scan>
</Item>
<Item Name="#PPLive老版本备份(by 何超)" Level="2">
<!--2016-04-19 14:32添加-->
<Description>#PPLive在升级到新版本后留下的备份文件,在故障时回滚到老版本。</Description>
<Group>#过期文件</Group>
<Scan>
<Applicable>
<ImageFlags>1</ImageFlags>
<RegExist Key="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\PPLive.exe" Value="Path"/>
</Applicable>
<Activate>
<General RootPath="?GetRegSz(HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\PPLive.exe,Path)" Flags="Directory">
<Query>*.*.*.*</Query>
<Excluded>?GetIniData(%Root%version.dat,version,current)</Excluded>
</General>
</Activate>
</Scan>
</Item>
<Item Name="#酷狗音乐老版本备份(by 何超)" Level="2">
<!--2016-04-19 14:32添加-->
<Description>#酷狗音乐在升级到新版本后留下的备份文件,在故障时回滚到老版本。</Description>
<Group>#过期文件</Group>
<Scan>
<Applicable>
<ImageFlags>1</ImageFlags>
<RegExist Key="HKEY_CURRENT_USER\Software\kugou" Value="AppPath"/>
</Applicable>
<Activate>
<General RootPath="?GetRegSz(HKEY_CURRENT_USER\Software\kugou,AppPath)" Flags="Directory">
<Query>*.*.*.*</Query>
<!--2016-11-29 用户反馈出现误杀所以把AppVersionLast换成了AppVersion-->
<Excluded>?GetRegSz(HKEY_CURRENT_USER\Software\KuGou8,AppVersion)</Excluded>
</General>
</Activate>
</Scan>
</Item>
<Item Name="#2345拼音输入法老版本备份(by 何超)" Level="2">
<!--2016-04-21 10:37添加-->
<Description>#2345拼音输入法在升级到新版本后留下的备份文件,在故障时回滚到老版本。</Description>
<Group>#过期文件</Group>
<Scan>
<Applicable>
<ImageFlags>1</ImageFlags>
<RegExist Key="HKEY_LOCAL_MACHINE\SOFTWARE\2345Pinyin" Value="Path" Wow64="True"/>
</Applicable>
<Activate>
<General RootPath="?GetRegSz(HKEY_LOCAL_MACHINE\SOFTWARE\2345Pinyin,Path,True)" Flags="Directory">
<Query>*.*.*.*</Query>
<Excluded>?GetRegSz(HKEY_LOCAL_MACHINE\SOFTWARE\2345Pinyin,Version,True)</Excluded>
</General>
</Activate>
</Scan>
</Item>
<Item Name="#WPS老版本备份(by Rambin)" Level="2">
<!--2016-06-15-->
<Description>#WPS在升级到新版本后留下的备份文件,在故障时回滚到老版本。</Description>
<Group>#过期文件</Group>
<Scan>
<Applicable>
<ImageFlags>1</ImageFlags>
<RegExist Key="HKEY_CURRENT_USER\SOFTWARE\kingsoft\office\6.0\Common" Value="InstallRoot"/>
</Applicable>
<Activate>
<General RootPath="?GetRegSz(HKEY_CURRENT_USER\SOFTWARE\kingsoft\office\6.0\Common,InstallRoot)\..\" Flags="Directory">
<Query>*.*.*.*</Query>
<Excluded>?GetRegSz(HKEY_CURRENT_USER\SOFTWARE\kingsoft\office\6.0\Common,Version)</Excluded>
</General>
</Activate>
</Scan>
</Item>
<!--系统相关-->
<Item Name="#系统自带Appx应用" Level="2">
<Description>#此功能将移除所有系统自带Appx应用,移除后可以在Windows应用商店重新下载他们。</Description>
<Group>#系统相关</Group>
<Scan Work="4">
<Applicable>
<Not>
<ImageFlags>1</ImageFlags>
</Not>
<RegExist Key="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx" Value="PackageRoot"/>
</Applicable>
<Activate>
<Custom ProcName="DismAppxsCleanup"/>
</Activate>
</Scan>
</Item>
<Item Name="#Windows报告" Level="3">
<Description>#当程序遇到某些问题时,系统会在这里留下稳定性报告,建议你定期清理。</Description>
<Group>#系统相关</Group>
<Scan>
<Activate>
<General RootPath="%SystemDrive%\Users\*\AppData\Local\Microsoft\Windows\WER\"/>
<General RootPath="%ProgramData%\Microsoft\Windows\WER\"/>
<General RootPath="%SystemRoot%\LiveKernelReports"/>
</Activate>
</Scan>
</Item>
<Item Name="#Windows事件" Level="3">
<Description>#Windows在运行过程中产生的事件。</Description>
<Group>#系统相关</Group>
<ScanCollection>
<Scan Type="Custom">
<Applicable>
<ImageFlags>1</ImageFlags>
</Applicable>
<Activate>
<Custom ProcName="NCWinEventLogOnlineCleanup"/>
</Activate>
</Scan>
<Scan>
<Activate>
<General RootPath="%System%\winevt\Logs"/>
</Activate>
</Scan>
</ScanCollection>
</Item>
<Item Name="#Windows更新安装记录" Level="2">
<!--2016-02-26 11:35添加-->
<Description>#使用Windows Update安装更新后保存的记录。</Description>
<Warning>#删除后更新历史记录将被清空。</Warning>
<Group>#系统相关</Group>
<Scan>
<Applicable>
<ImageFlags>1</ImageFlags>
<FileExist FilePath="%SystemRoot%\SoftwareDistribution\DataStore"/>
</Applicable>
<Activate>
<General RootPath="%SystemRoot%\SoftwareDistribution\DataStore"/>
</Activate>
</Scan>
</Item>
<Item Name="#Installer目录" Level="0">
<Description>#清理被取代的msp补丁并减少Installer目录的大小。</Description>
<Warning>#(这是一个实验性功能)清理后将无法卸载被取代的msp更新,如果有卸载更新需求请勿使用此选项。</Warning>
<Group>#系统相关</Group>
<Scan>
<Applicable>
<FileExist FilePath="%SystemDrive%\Windows\Installer"/>
</Applicable>
<Activate>
<Custom ProcName="NCInstallerFolderCleanup"/>
</Activate>
</Scan>
</Item>
<Item Name="#损坏的Appx" Level="2">
<Description>#清理损坏的Appx。例如Visual Studio的通用应用XAML设计器暴力删除临时生成的设计器应用,于是会出现大量损坏的Appx。</Description>
<Group>#系统相关</Group>
<Scan>
<Applicable>
<ImageFlags>1</ImageFlags>
<RegExist Key="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx" Value="PackageRoot"/>
<Or>
<And>
<Arch>9</Arch>
<FileVersion FilePath="%0%Config\amd64\NCleaner.dll" Compare=">=">1.0.3.5</FileVersion>
</And>
<And>
<Arch>0</Arch>
<FileVersion FilePath="%0%Config\x86\NCleaner.dll" Compare=">=">1.0.3.5</FileVersion>
</And>
<False/>
</Or>
</Applicable>
<Activate>
<Custom ProcName="NCCorruptedAppXOnlineCleanup"/>
</Activate>
</Scan>
</Item>
<Item Name="#系统还原点" Level="2">
<Description>#先删除全部还原点,再创建一个新的还原点(当系统还原已启用时)</Description>
<Warning>#清理后将无法使用之前创建的还原点,如果有使用之前的还原点的需求请勿使用此选项。</Warning>
<Group>#系统相关</Group>
<Scan Type="Custom">
<Applicable>
<ImageFlags>1</ImageFlags>
</Applicable>
<Activate>
<Custom ProcName="NCSRPointOnlineCleanup"/>
</Activate>
</Scan>
</Item>
<Item Name="#零售演示离线内容" Level="2">
<Description>#为Windows10零售演示模式所缓存的离线内容</Description>
<Group>#系统相关</Group>
<Scan>
<Applicable>
<FileExist FilePath="%ProgramData%\Microsoft\Windows\RetailDemo"/>
</Applicable>
<Activate>
<General RootPath="%ProgramData%\Microsoft\Windows\RetailDemo\"/>
</Activate>
</Scan>
</Item>
<!--缓存文件-->
<Item Name="#Windows下载缓存" Level="2">
<Description>#Windows在下载更新以及更新Metro应用时会在这里产生临时安装包。</Description>
<Group>#缓存文件</Group>
<ScanCollection>
<Scan>
<Applicable>
<ImageFlags>1</ImageFlags>
<FileExist FilePath="%SystemRoot%\SoftwareDistribution\Download"/>
</Applicable>
<Activate>
<General RootPath="%SystemRoot%\SoftwareDistribution\Download"/>
</Activate>
<!--Excluded 可以排除-->
</Scan>
<Scan>
<Applicable>
<FileExist FilePath="%SystemRoot%\SoftwareDistribution"/>
</Applicable>
<Activate>
<General RootPath="%SystemRoot%\SoftwareDistribution"/>
</Activate>
</Scan>
</ScanCollection>
</Item>
<Item Name="#传递优化缓存" Level="2">
<Description>#Win10开始使用传递优化(DeliveryOptimization)服务下载Windows更新和通用应用(UWP)产生的缓存文件</Description>
<Group>#缓存文件</Group>
<ScanCollection>
<Scan Type="Custom">
<Applicable>
<ImageFlags>1</ImageFlags>
<Or>
<FileExist FilePath="%SystemRoot%\SoftwareDistribution\DeliveryOptimization"/>
<FileExist FilePath="%SystemRoot%\DeliveryOptimization"/>
<FileExist FilePath="%SystemRoot%\ServiceProfiles\NetworkService\AppData\Local\Microsoft\Windows\DeliveryOptimization"/>
</Or>
</Applicable>
<Activate>
<Custom ProcName="NCDOCacheOnlineCleanup"/>
</Activate>
</Scan>
<Scan>
<Applicable>
<FileExist FilePath="%SystemRoot%\SoftwareDistribution\DeliveryOptimization"/>
</Applicable>
<Activate>
<General RootPath="%SystemRoot%\SoftwareDistribution\DeliveryOptimization"/>
</Activate>
</Scan>
</ScanCollection>
</Item>
<Item Name="#Terminal Server Client缓存" Level="3">
<Description>#Terminal Server Client运行时产生的一些缓存文件。</Description>
<Group>#缓存文件</Group>
<Scan>
<Activate>
<General RootPath="%SystemDrive%\Users\*\AppData\Local\Microsoft\Terminal Server Client\"/>
</Activate>
</Scan>
</Item>
<Item Name="#XDE缓存文件" Level="2">
<Description>#WP开发时保存的一些虚拟机状态文件,不建议频繁清理此条目。</Description>
<Group>#缓存文件</Group>
<Scan>
<Applicable>
<FileExist FilePath="%ProgramData%\Microsoft\XDE"/>
</Applicable>
<Activate>
<General RootPath="%ProgramData%\Microsoft\XDE"/>
<General RootPath="%SystemDrive%\Users\*\AppData\Local\Microsoft\XDE"/>
</Activate>
</Scan>
</Item>
<Item Name="#PDB缓存文件" Level="2">
<Description>#调试程序时创建的符号缓存,不建议频繁清理此条目。</Description>
<Group>#缓存文件</Group>
<Scan>
<Applicable>
<FileExist FilePath="%LOCALAPPDATA%\DBG"/>
</Applicable>
<Activate>
<General RootPath="%LOCALAPPDATA%" Flags="Directory">
<Query>DBG</Query>
</General>
</Activate>
</Scan>
</Item>
<Item Name="#NET程序集缓存(by 大胖子技术员)" Level="2">
<!--2016年1月6日 15:34添加-->
<Description>#NET程序运行过程中产生的机器代码缓存文件,不建议频繁清理此条目。</Description>
<Group>#缓存文件</Group>
<Scan Work="5">
<Activate>
<General RootPath="%SystemRoot%\assembly\NativeImages_v*" Flags="Directory">
<Excluded>Temp</Excluded>
<Query>*</Query>
</General>
<General RootPath="%SystemRoot%\assembly\temp" Flags="Directory"/>
<General RootPath="%SystemRoot%\assembly\tmp" Flags="Directory"/>
</Activate>
</Scan>
</Item>
<Item Name="#Visual Studio智能跟踪(by LP)" Level="1">
<!--2016年1月12日 11:39添加-->
<Description>#Visual Studio调试程序时留下的智能跟踪缓存。</Description>
<Group>#缓存文件</Group>
<Scan>
<Applicable>
<FileExist FilePath="%ProgramData%\Microsoft Visual Studio\10.0\TraceDebugging"/>
</Applicable>
<Activate>
<General RootPath="%ProgramData%\Microsoft Visual Studio\10.0\TraceDebugging"/>
</Activate>
</Scan>
</Item>
<Item Name="#Windows预读取文件(by 辰g.)" Level="2">
<!--2016-01-27 15:18添加-->
<Description>#用于加速下次程序启动速度,不建议频繁清理此条目。</Description>
<Group>#缓存文件</Group>
<Scan>
<Activate>
<General RootPath="%SystemRoot%\Prefetch"/>
</Activate>
</Scan>
</Item>
<Item Name="#缩略图缓存" Level="2">
<Group>#缓存文件</Group>
<ScanCollection>
<Scan Type="Custom">
<Name>#缩略图缓存(需重启explorer)</Name>
<Description>#缩略图缓存(当前用户)</Description>
<Applicable>
<ImageFlags>1</ImageFlags>
</Applicable>
<Activate Restart="Explorer">
<General RootPath="%LocalAppData%">
<Query>Microsoft\Windows\Explorer\*</Query>
<Query>IconCache.db</Query>
</General>
<ExplorerNotify Type="AssocChanged"/>
</Activate>
</Scan>
<Scan>
<Description>#缩略图缓存(所有用户)</Description>
<Activate>
<General RootPath="%SystemDrive%\Users\*\AppData\Local">
<Query>Microsoft\Windows\Explorer\*</Query>
<Query>IconCache.db</Query>
</General>
</Activate>
</Scan>
</ScanCollection>
</Item>
<Item Name="#WinINet网页缓存" Level="3">
<Description>#清理每个用户账户和应用容器下的Windows网络组件(例如IE,Edge)的网页缓存(仅支持默认目录)</Description>
<Group>#缓存文件</Group>
<Scan>
<Applicable>
<Or>
<RegExist Key="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer"/>
<FileExist FilePath="%SystemRoot%\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe"/>
</Or>
</Applicable>
<Activate>
<General RootPath="%SystemDrive%\Users\*\AppData\Local\Microsoft\Windows\INetCache\"/>
<General RootPath="%SystemDrive%\Users\*\AppData\Local\Microsoft\Windows\Temporary Internet Files\"/>
<General RootPath="%SystemRoot%\ServiceProfiles\*\AppData\Local\Microsoft\Windows\INetCache\"/>
<General RootPath="%SystemRoot%\ServiceProfiles\*\AppData\Local\Microsoft\Windows\Temporary Internet Files\"/>
<General RootPath="%System%\config\systemprofile\AppData\Local\Microsoft\Windows\INetCache\"/>
<General RootPath="%System%\config\systemprofile\AppData\Local\Microsoft\Windows\Temporary Internet Files\"/>
<General RootPath="%SystemDrive%\Windows\SysWOW64\config\systemprofile\AppData\Local\Microsoft\Windows\INetCache\"/>
<General RootPath="%SystemDrive%\Windows\SysWOW64\config\systemprofile\AppData\Local\Microsoft\Windows\Temporary Internet Files\"/>
<General RootPath="%SystemDrive%\Users\*\AppData\Local\Packages\*\AC\INetCache\"/>
<General RootPath="%SystemDrive%\Users\*\AppData\Local\Packages\*\AC\#!*\INetCache\"/>
<General RootPath="%SystemDrive%\Users\*\AppData\Local\Packages\*\AC\MicrosoftEdge\Cache\"/>
<General RootPath="%SystemDrive%\Users\*\AppData\Local\Packages\*\AC\#!*\MicrosoftEdge\Cache\"/>
</Activate>
</Scan>
</Item>
<Item Name="#WinINet Cookies" Level="2">
<Description>#清理每个用户账户和应用容器下的Windows网络组件(例如IE,Edge)的Cookies(仅支持默认目录)</Description>
<Group>#缓存文件</Group>
<Scan>
<Applicable>
<Or>
<RegExist Key="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer"/>
<FileExist FilePath="%SystemRoot%\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe"/>
</Or>
</Applicable>
<Activate>
<General RootPath="%SystemDrive%\Users\*\AppData\Local\Microsoft\Windows\INetCookies\"/>
<General RootPath="%SystemDrive%\Users\*\AppData\Roaming\Microsoft\Windows\Cookies\"/>
<General RootPath="%SystemRoot%\ServiceProfiles\*\AppData\Local\Microsoft\Windows\INetCookies\"/>
<General RootPath="%SystemRoot%\ServiceProfiles\*\AppData\Roaming\Microsoft\Windows\Cookies\"/>
<General RootPath="%System%\config\systemprofile\AppData\Local\Microsoft\Windows\INetCookies\"/>
<General RootPath="%System%\config\systemprofile\AppData\Roaming\Microsoft\Windows\Cookies\"/>
<General RootPath="%SystemDrive%\Windows\SysWOW64\config\systemprofile\AppData\Local\Microsoft\Windows\INetCookies\"/>
<General RootPath="%SystemDrive%\Windows\SysWOW64\config\systemprofile\AppData\Roaming\Microsoft\Windows\Cookies\"/>
<General RootPath="%SystemDrive%\Users\*\AppData\Local\Packages\*\AC\INetCookies\"/>
<General RootPath="%SystemDrive%\Users\*\AppData\Local\Packages\*\AC\#!*\INetCookies\"/>
<General RootPath="%SystemDrive%\Users\*\AppData\Local\Packages\*\AC\MicrosoftEdge\Cookies\"/>
<General RootPath="%SystemDrive%\Users\*\AppData\Local\Packages\*\AC\#!*\MicrosoftEdge\Cookies\"/>
</Activate>
</Scan>
</Item>
<!--删除此规则,可能导致正常系统Appx顺坏
<Item Name="#Appx缓存文件-可解决Appx闪退" Level="2">
<Description>#Appx运行时产生的缓存文件,当应用闪退时可尝试清理此选项,可解决大多数闪退问题。</Description>
<Group>#缓存文件</Group>
<Scan>
<Applicable>
<OSVersion Compare=">=">6.2</OSVersion>
</Applicable>
<Activate>
<General RootPath="%SystemDrive%\Users\*\AppData\Local\Packages\*\LocalCache"/>
</Activate>
</Scan>
</Item>-->
<!--应用程序-->
<Item Name="#Package Cache目录" Level="2">
<Description>#Package Cache目录存放以WIX为基础的安装程序的安装源</Description>
<Warning>#清理后基于WIX的安装程序例如VS可以正常卸载;但升级、修复、增添组件需要联网或者备好安装镜像</Warning>
<Group>#应用程序</Group>
<Scan>
<Applicable>
<FileExist FilePath="%ProgramData%\Package Cache"/>
</Applicable>
<Activate>
<Custom ProcName="NCPackageCacheFolderCleanup"/>
</Activate>
</Scan>
</Item>
<Item Name="#Windows Defender保护历史记录" Level="2">
<Description>#Windows Defender保护历史记录存放了Windows Defender日志,日志过多会导致打开保护历史记录记录闪退</Description>
<Warning>#清理后无法还原被隔离文件</Warning>
<Group>#应用程序</Group>
<Scan>
<Applicable>
<FileExist FilePath="%ProgramData%\Microsoft\Windows Defender\Scans\History"/>
</Applicable>
<Activate>
<General RootPath="%ProgramData%\Microsoft\Windows Defender\Scans\History"/>
</Activate>
</Scan>
</Item>
<Item Name="#WebPI缓存" Level="2">
<Description>#Web平台安装程序的缓存</Description>
<Group>#应用程序</Group>
<Scan>
<Applicable>
<RegExist Key="HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\WebPlatformInstaller"/>
</Applicable>
<Activate>
<General RootPath="%SystemDrive%\Users\*\AppData\Local\Microsoft\Web Platform Installer\"/>
</Activate>
</Scan>
</Item>
<Item Name="#新版Visual Studio安装源缓存" Level="2">
<Description>#该项目清理Visual Studio 2017及以后版本的安装源</Description>
<Warning>#清理后升级、修复、增添组件、卸载Visual Studio 2017及之后的版本需要联网</Warning>
<Group>#应用程序</Group>
<Scan>
<Applicable>
<FileExist FilePath="%ProgramData%\Microsoft\VisualStudio\Packages"/>
</Applicable>
<Activate>
<Custom ProcName="NCVSPackageCacheCleanup"/>
</Activate>
</Scan>
</Item>
<!--备份文件-->
<Item Name="#Boot备份信息" Level="3">
<Description>#修改启动信息后系统会创建备份,方便回滚。如果确定不需要还原则可以删除。</Description>
<Group>#备份文件</Group>
<Scan>
<Applicable>
<FileExist FilePath="%SystemRoot%\pss"/>
</Applicable>
<Activate>
<General RootPath="%SystemRoot%" Flags="Directory">
<Query>pss</Query>
</General>
</Activate>
</Scan>
</Item>
<Item Name="#硬链接备份" Level="2">
<Description>#硬链接合并功能留下的备份文件。</Description>
<Warning>#请你确保硬链接合并后系统正常,删除此文件将导致硬链接合并操作无法回滚!</Warning>
<Group>#备份文件</Group>
<Scan>
<Applicable>
<FileExist FilePath="%SystemDrive%\$HardLinkBackup"/>
</Applicable>
<Activate>
<General RootPath="%SystemDrive%" Flags="Directory">
<Query>$HardLinkBackup</Query>
</General>
</Activate>
</Scan>
</Item>
<Item Name="#会声会影素材存档" Level="2">
<!--2016年1月8日 16:33添加-->
<Description>#会声会影使用过程中会在此目录产生存档,在不需要后可以删除。</Description>
<Warning>#请确保所有编辑的视频已经保存!</Warning>
<Group>#备份文件</Group>
<Scan>
<Applicable>
<ImageFlags>1</ImageFlags>
<FileExist FilePath="%Documents%\Corel VideoStudio Pro"/>
</Applicable>
<Activate>
<General RootPath="%Documents%\Corel VideoStudio Pro\*\SmartProxy"/>
</Activate>
</Scan>
</Item>
<Item Name="#最后一次正确配置(by Stanlazy)" Level="2">
<!--2016-11-14 20:39添加-->
<Description>#最近能正常启动计算机的配置备份。</Description>
<Group>#备份文件</Group>
<Scan>
<Applicable>
<Or>
<FileExist FilePath="%SystemRoot%\lastgood"/>
<FileExist FilePath="%SystemRoot%\lastgood.tmp"/>
</Or>
</Applicable>
<Activate>
<General RootPath="%SystemRoot%">
<Query>lastgood</Query>
<Query>lastgood.tmp</Query>
</General>
</Activate>
</Scan>
</Item>
<!--临时文件-->
<Item Name="#WinSxS临时文件" Level="3">
<Description>#系统更新时在WinSxS里面产生的临时文件。</Description>
<Group>#临时文件</Group>
<Scan>
<Activate>
<General RootPath="%SystemRoot%\WinSxS\ManifestCache"/>
<General RootPath="%SystemRoot%\CbsTemp\"/>
</Activate>
</Scan>
</Item>
<Item Name="#Windows日志(by chenyu、YukiSakura)" Level="3">
<Description>#Windows在运行时产生的日志。</Description>
<Group>#临时文件</Group>
<Scan>
<Activate>
<General RootPath="%SystemRoot%" Flags="File">
<Query>*.log</Query>
<Query>*.bak</Query>
<Query>*log.txt</Query>
<Query>SchedLgU.txt</Query>
<Query>Performance\WinSAT\*.log</Query>
<Query>Panther\*.log</Query>
</General>
<General RootPath="%SystemDrive%\Users\*\AppData\" Flags="File">
<Query>Local\Microsoft\Windows\*.log</Query>
<Query>Local\MigWiz\*.log</Query>
<Query>Local\Microsoft\CLR_*\*.log</Query>
<Query>Local\Microsoft\CLR_*\*\*.log</Query>
<Query>Roaming\Microsoft\Windows\*.log</Query>
</General>
<General RootPath="%SystemDrive%\Logs\"/>
<General RootPath="%SystemRoot%\Logs\"/>
<General RootPath="%SystemRoot%\Performance\WinSAT\DataStore\"/>
<General RootPath="*\System Volume Information\Chkdsk"/>
<General RootPath="%ProgramData%\USOShared\Logs"/>
<General RootPath="%System%\WDI\LogFiles\*"/>
<General RootPath="%System%\LogFiles\*"/>
<General RootPath="%SystemRoot%\debug"/>
<General RootPath="%SystemDrive%\Users\*\AppData\Local\Packages\*\AC\Microsoft\CLR_*\*.log"/>
<General RootPath="%SystemDrive%\Users\*\AppData\Local\Packages\*\AC\#!*\Microsoft\CLR_*\*.log"/>
<General RootPath="%SystemDrive%\Users\*\AppData\Local\Packages\*\AC\Microsoft\CLR_*\*\*.log"/>
<General RootPath="%SystemDrive%\Users\*\AppData\Local\Packages\*\AC\#!*\Microsoft\CLR_*\*\*.log"/>
</Activate>
</Scan>
</Item>
<Item Name="#临时文件" Level="2">
<Description>#一些程序为特定用户产生的临时文件。</Description>
<Group>#临时文件</Group>
<ScanCollection>
<Scan>
<Applicable>
<ImageFlags>1</ImageFlags>
</Applicable>
<Activate>
<General RootPath="?GetRegSz(HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment,TEMP)"/>
<General RootPath="%Temp%"/>
<!--
<General RootPath="%SystemDrive%\Windows\ServiceProfiles\NetworkService\AppData\Local\Temp"/>
<General RootPath="%SystemDrive%\Windows\ServiceProfiles\LocalService\AppData\Local\Temp"/>
-->
<General RootPath="*\">
<Query>Found.*</Query>
</General>
<General RootPath="%SystemDrive%\Users\*\AppData\Local\Packages\*\AC\Temp\"/>
<General RootPath="%SystemDrive%\Users\*\AppData\Local\Packages\*\AC\#!*\Temp\"/>
<General RootPath="%SystemRoot%\ServiceProfiles\*\AppData\Local\Temp\"/>
<General RootPath="%System%\config\systemprofile\AppData\Local\Temp\"/>
<General RootPath="%SystemDrive%\Windows\SysWOW64\config\systemprofile\AppData\Local\Temp\"/>
</Activate>
</Scan>
<Scan>
<Activate>
<General RootPath="%SystemDrive%\Users\*\AppData\Local\Temp\"/>
<General RootPath="%SystemRoot%\Temp\"/>
<!--
<General RootPath="%SystemDrive%\Windows\ServiceProfiles\NetworkService\AppData\Local\Temp"/>
<General RootPath="%SystemDrive%\Windows\ServiceProfiles\LocalService\AppData\Local\Temp"/>
-->
<General RootPath="%SystemDrive%\Users\*\AppData\Local\Packages\*\AC\Temp\"/>
<General RootPath="%SystemDrive%\Users\*\AppData\Local\Packages\*\AC\#!*\Temp\"/>
<General RootPath="%SystemRoot%\ServiceProfiles\*\AppData\Local\Temp\"/>
<General RootPath="%System%\config\systemprofile\AppData\Local\Temp\"/>
<General RootPath="%SystemDrive%\Windows\SysWOW64\config\systemprofile\AppData\Local\Temp\"/>
</Activate>
</Scan>
</ScanCollection>
</Item>
<Item Name="#常见的驱动临时解压目录" Level="3">
<Description>#Intel、AMD以及Nvidia驱动在安装时留下的解压目录。</Description>
<Group>#临时文件</Group>
<Scan>
<Applicable>
<Or>
<FileExist FilePath="%SystemDrive%\AMD"/>
<FileExist FilePath="%SystemDrive%\Intel"/>
<FileExist FilePath="%SystemDrive%\NVIDIA"/>
</Or>
</Applicable>
<Activate>
<General RootPath="%SystemDrive%" Flags="Directory">
<Query>AMD</Query>
<Query>Intel</Query>
<Query>NVIDIA</Query>
<Query>Prog</Query>
</General>
</Activate>
</Scan>
</Item>
<Item Name="#Windows临时安装文件" Level="2">
<Description>#在系统升级或者还原后留下的系统临时安装文件,如果你确定当前没有进行系统升级或者还原,那么可以安全删除。</Description>
<Group>#临时文件</Group>
<Scan Work="3">
<Applicable>
<Or>
<FileExist FilePath="%SystemDrive%\$Windows.~BT"/>
<FileExist FilePath="%SystemDrive%\$Windows.~WS"/>
<FileExist FilePath="%SystemDrive%\$Windows.~LS"/>
</Or>
</Applicable>
<Activate>
<General RootPath="%SystemDrive%" Flags="Directory">
<Query>$Windows.~BT</Query>
<Query>$Windows.~WS</Query>
<Query>$Windows.~LS</Query>
</General>
</Activate>
</Scan>
</Item>
<Item Name="#QQ临时数据" Level="2">
<Description>#QQ运行时产生的临时文件还有日志,不影响QQ消息记录,建议定期删除。</Description>
<Group>#临时文件</Group>
<Scan>
<Applicable>
<RegExist Key="HKEY_LOCAL_MACHINE\SOFTWARE\Tencent" Wow64="True"/>
</Applicable>
<Activate>
<General RootPath="%SystemDrive%\Users\*\AppData\Roaming\Tencent\" Flags="Directory">
<Query>AndroidAssist</Query>
<Query>AndroidServer</Query>
<Query>Logs</Query>
<Query>TXSSO</Query>
</General>
<General RootPath="%SystemDrive%\Users\*\AppData\Roaming\Tencent\Users\*\WinTemp\*"/>
<General RootPath="%SystemX86%\config\systemprofile\AppData\Roaming\Tencent" Flags="Directory"/>
</Activate>
</Scan>
</Item>
<Item Name="#YY临时文件" Level="2">
<Description>#YY运行时产生的一些临时文件以及日志,建议定期删除。</Description>
<Group>#临时文件</Group>
<Scan>
<Applicable>
<RegExist Key="HKEY_LOCAL_MACHINE\SOFTWARE\Classes\yy"/>
</Applicable>
<Activate>
<General RootPath="%SystemDrive%\Users\*\AppData\Roaming\duowan\yy\">
<Query>log</Query>
<Query>Cache</Query>
</General>
</Activate>
</Scan>
</Item>
<Item Name="#腾讯相关软件下载目录" Level="3">
<Description>#腾讯相关软件更新时会在此留下残留。</Description>
<Group>#临时文件</Group>
<Scan>
<Applicable>
<FileExist FilePath="%ProgramData%\temp"/>
</Applicable>
<Activate>
<General RootPath="%ProgramData%" Flags="Directory">
<Query>temp</Query>
</General>
</Activate>
</Scan>
</Item>
<Item Name="#微软拼音安装文件" Level="3">
<Description>#微软拼音升级程序遗留下的安装文件。</Description>
<Group>#临时文件</Group>
<Scan>
<Applicable>
<RegExist Key="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\KunlunInput"/>
</Applicable>
<Activate>
<General RootPath="%SystemDrive%\Users\*\AppData\LocalLow\" Flags="Directory">
<Query>KunlunInput</Query>
</General>
</Activate>
</Scan>
</Item>