将下面的代码复制到记事本里,然后另存为一键清理系统 垃圾.bat 当然名字可以随便改,但是扩展名可别改哦。 :oops:

一键清理


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
@ECHO off
mode con cols=48 lines=23
:menu1
color 1a
set tm1=%time:~0,2%
set tm2=%time:~3,2%
set tm3=%time:~6,2%
title 一键清理系统垃圾
CLS
ECHO.
ECHO           请根据自己需要清理指定的垃圾
ECHO.
ECHO.      当前系统时间 %date% %tm1%点%TM2%分%TM3%秒
ECHO.
ECHO.       ┏*━*━*━*━━☆━━*━*━*━*┓
ECHO        ┃                              ┃
ECHO        ┃[1] 清理系统垃圾(推荐)        ┃
ECHO        ┃                              ┃
ECHO        ┃[2] 清理系统和软件垃圾(推荐)  ┃
ECHO        ┃                              ┃
ECHO        ┃[3] 清理迅雷看看缓存(推荐)    ┃
ECHO        ┃                              ┃
ECHO        ┃[4] 屏蔽迅雷偷偷上传(一般推荐)┃
ECHO        ┃                              ┃
ECHO        ┗*━*━*━*━━☆━━*━*━*━*┛
ECHO                   http://laycher.tk
ECHO.
ECHO.
ECHO
ECHO.
ECHO.
:menu1
set choice=
set /p choice=       请输入对应的数字后按[Enter]执行:
if not "%choice%"=="" set choice=%choice%
ECHO.
If /I "%Choice%"=="1" Goto xtlj
If /I "%Choice%"=="2" Goto xtrjlj
If /I "%Choice%"=="3" Goto kkhc
If /I "%Choice%"=="4" Goto ttsc
If /I "%Choice%"=="" exit
goto menu1
 
:xtlj
CLS
title 清理系统垃圾
echo 正在清理系统垃圾文件,请稍候......
del /f /s /q %systemdrive%\*.tmp
RD %windir%\$hf_mig$ /Q /S
del %windir%\2950800.txt /f /q
for /f %%i in (%windir%\2950800.txt) do rd %windir%\%%i /s /q
dir %windir%\$NtUninstall* /a:d /b >%windir%\2950800.txt
del /f /s /q %systemdrive%\*._mp
del /f /s /q %systemdrive%\*.log
del /f /s /q %systemdrive%\*.gid
del /f /s /q %systemdrive%\*.pnf
del /f /s /q %systemdrive%\infcache.1
del /f /s /q %systemdrive%\*.chk
del /f /s /q %systemdrive%\*.old
del /f /s /q %systemdrive%\recycled\*.*
del /f /s /q %windir%\*.bak
del /f /s /q %windir%\prefetch\*.*
rd /s /q %windir%\temp & md %windir%\temp
del /f /q %userprofile%\cookies\*.*
del /f /q %userprofile%\recent\*.*
del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*"
del /f /s /q "%userprofile%\Local Settings\Temp\*.*"
del /f /s /q "%userprofile%\recent\*.*"
CLS
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO
ECHO.
ECHO.
ECHO.
ECHO.
ECHO               系统垃圾清理完毕!
ECHO            欢迎访问 http://laycher.tk
ECHO.
ECHO.
ECHO.
ECHO.
ECHO              按任意键返回主菜单……
pause>nul
goto menu1
 
:xtrjlj
:start
echo.下面是可用的变量
Set HomeDrive=C:
Set WinDir=%HomeDrive%\WINDOWS
Set SysDir=%WinDir%\System32
Set ProgFile=%HomeDrive%\Program Files
Set CurUser=%HomeDrive%\Documents and Settings\Administrator
Set AllUser=%HomeDrive%\Documents and Settings\All Users
 
title=正在清理共享文档...
Rd /s/q "%AllUser%\Documents\My Videos
Rd /s/q "%AllUser%\Documents\My Pictures
Rd /s/q "%AllUser%\Documents\My Music
cls
 
title=正在清理WMP10目录...
Rd /s/q "%ProgFile%\Windows Media Player\Icons
Rd /s/q "%ProgFile%\Windows Media Player\Sample Playlists
Rd /s/q "%ProgFile%\Windows Media Player\Skins
Rd /s/q "%ProgFile%\Windows Media Player\Visualizations
Del /a/f/s/q "%ProgFile%\Windows Media Player\*.txt
cls
 
title=正在清理开始菜单...
Del /a/f/s/q "%AllUser%\「开始」菜单\Windows Catalog.*
Del /a/f/s/q "%AllUser%\「开始」菜单\Windows Update.*
Del /a/f/s/q "%AllUser%\「开始」菜单\设定程序访问和默认值.*
cls
 
title=正在清理360安全卫士目录...
Rd /s/q "%ProgFile%\360Safe\hotfix"
cls
 
title=正在清理清理ACDSee目录...
Rd /s/q "%CurUser%\Application Data\ACD Systems
Del /a/f/s/q "%ProgFile%\ACDSee\*.hlp"
Del /a/f/s/q "%ProgFile%\ACDSee\*.cnt"
Del /a/f/s/q "%ProgFile%\ACDSee\PlugIns\*.hlp
Del /a/f/s/q "%ProgFile%\ACDSee\PlugIns\*.chm
cls
 
title=正在清理暴风影音目录...
Del /a/f/s/q "%ProgFile%\Ringz Studio\Storm Codec\*.txt
Del /a/f/s/q "%ProgFile%\Ringz Studio\Storm Codec\*.ini
Del /a/f/s/q "%ProgFile%\Ringz Studio\Storm Codec\*.dat
Del /a/f/s/q "%ProgFile%\Ringz Studio\Storm Codec\GSpot.exe
Del /a/f/s/q "%ProgFile%\Ringz Studio\Storm Codec\StormSet.exe
Del /a/f/s/q "%ProgFile%\Ringz Studio\Storm Codec\Codecs\languages\ffdshow.1033.en
Rd /s/q "%AllUser%\Application Data\Storm\Update
Rd /s/q "%AllUser%\「开始」菜单\程序\暴风影音
Rd /s/q "%ProgFile%\Ringz Studio\Storm Codec\QTSystem\CoreVideo.Resources\en.lproj
Rd /s/q "%ProgFile%\Ringz Studio\Storm Codec\QTSystem\QuickTime3GPP.Resources\en.lproj
Rd /s/q "%ProgFile%\Ringz Studio\Storm Codec\QTSystem\QuickTime.Resources\en.lproj
Rd /s/q "%ProgFile%\Ringz Studio\Storm Codec\QTSystem\QuickTimeAudioSupport.Resources\en.lproj
Rd /s/q "%ProgFile%\Ringz Studio\Storm Codec\QTSystem\QuickTimeEssentials.Resources\en.lproj
Rd /s/q "%ProgFile%\Ringz Studio\Storm Codec\QTSystem\QuickTimeH264.Resources\en.lproj
Rd /s/q "%ProgFile%\Ringz Studio\Storm Codec\QTSystem\QuickTimeInternetExtras.Resources\en.lproj
Rd /s/q "%ProgFile%\Ringz Studio\Storm Codec\QTSystem\QuickTimeMPEG4.Resources\en.lproj
Rd /s/q "%ProgFile%\Ringz Studio\Storm Codec\QTSystem\QuickTimeStreaming.Resources\en.lproj
Rd /s/q "%ProgFile%\Ringz Studio\Storm Codec\QTSystem\QuickTimeStreamingExtras.Resources\en.lproj
Rd /s/q "%ProgFile%\Ringz Studio\Storm Codec\QTSystem\QuickTimeVR.Resources\en.lproj
Rd /s/q "%ProgFile%\Ringz Studio\Storm Codec\QTSystem\QuickTimeWebHelper.Resources\en.lproj
cls
 
title=正在清理 极点五笔 目录...
Rd /s/q "%CurUser%\「开始」菜单\程序\freeime
Del /a/f/s/q "%ProgFile%\freeime\freeime.htm
Del /a/f/s/q "%ProgFile%\freeime\极点五笔 纪念版.url
Del /a/f/s/q "%ProgFile%\freeime\*.gif
Del /a/f/s/q "%ProgFile%\freeime\*.txt
Rd /s/q "%ProgFile%\freeime\skin\Apple_Z
Rd /s/q "%ProgFile%\freeime\skin\bear2
Rd /s/q "%ProgFile%\freeime\skin\Elegant
Rd /s/q "%ProgFile%\freeime\skin\IF_Taiji
Rd /s/q "%ProgFile%\freeime\skin\time
Rd /s/q "%ProgFile%\freeime\skin\du
Rd /s/q "%ProgFile%\freeime\skin\huan
Rd /s/q "%ProgFile%\freeime\skin\Tango NightXP
Rd /s/q "%ProgFile%\freeime\skin\youxihou
Rd /s/q "%ProgFile%\freeime\skin\blueness
Rd /s/q "%ProgFile%\freeime\skin\Hello Kitty
Rd /s/q "%ProgFile%\freeime\skin\MG_S
Rd /s/q "%ProgFile%\freeime\skin\VistaHeiMini
cls
 
title=正在清理 酷我音乐盒 目录...
Del /a/f/s/q "%CurUser%\Application Data\Microsoft\Internet Explorer\Quick Launch\酷我音乐盒.*
Rd /s/q "%CurUser%\「开始」菜单\程序\酷我音乐盒
Del /a/f/s/q "%ProgFile%\KWMUSIC\readme.txt
cls
 
title=正在清理 MSOFFICE 目录...
Del /a/f/s/q "%ProgFile%\Microsoft Office\OFFICE11\2052\*.chm
Del /a/f/s/q "%ProgFile%\Microsoft Office\OFFICE11\2052\*.htm
cls
 
title=正在清理 PPStream 目录...
Del /a/f/q "%AllUser%\「开始」菜单\程序\PPS 网络电视.*
Rd /s/q "%AllUser%\「开始」菜单\程序\PPStream
Del /a/f/s/q "%ProgFile%\PPStream\*.url
Del /a/f/s/q "%ProgFile%\PPStream\whatsnew.txt
cls
 
title=正在清理 RealPlayer 目录...
Del /a/f/q "%ProgFile%\Real\RealPlayer\Setup\setup.exe"
Del /a/f/q "%ProgFile%\Real\RealPlayer\*.chm
Del /a/f/q "%ProgFile%\Real\RealPlayer\*.txt
Del /a/f/q "%ProgFile%\Real\RealPlayer\*.html
cls
 
title=正在清理 RealPlayer KoWo 目录...
Rd /s/q "%ProgFile%\KWREAL"
cls
 
title=正在清理 迅雷 目录...
Del /a/f/q "%ProgFile%\Thunder\AyuConfig.exe
Del /a/f/s/q "%ProgFile%\Thunder Network\Thunder\Program\Update\*.*"
Rd /s/q "%AllUser%\Application Data\Thunder Network\KanKan"
Rd /s/q "%ProgFile%\Thunder Network\Thunder\Components\KanKan"
cls
 
title=正在清理 WINRAR 目录...
Del /a/f/q "%ProgFile%\WinRAR\*.diz
Del /a/f/q "%ProgFile%\WinRAR\*.txt
Del /a/f/q "%ProgFile%\WinRAR\*.chm
Del /a/f/q "%ProgFile%\WinRAR\*.htm
cls
 
title=正在清理 千千静听 目录...
Del /a/f/q "%ProgFile%\千千静听\readme.txt
Del /a/f/s/q "%CurUser%\Application Data\Microsoft\Internet Explorer\Quick Launch\千千静听.*
 
title=正在清理紫光拼音输入法用户词库...
Del /a/f/q "%AllUser%\Application Data\UNISPIM\usrwl.dat"
Del /a/f/q "%CurUser%\Application Data\UNISPIM\usrwl.dat"
cls
 
title=正在清理超级兔子注册表备份...
Rd /s/q "%WinDir%\MAGICSET"
cls
 
title=正在清理磁盘检测时生成的损坏文件备份...
Rd /s/q "%HomeDrive%\Found.*"
For /f "delims=\" %%i in ('dir "%HomeDrive%\Found.*" /adh /b') do Rd /s/q "%HomeDrive%\%%i"
cls
 
title=正在清理虚拟内存文件...
Del /a/f/q "%HomeDrive%\PageFile.sys"
cls
 
title=正在清理系统休眠文件...
Del /a/f/q "%HomeDrive%\HiberFil.sys"
cls
 
title=正在清理系统补丁卸载文件...
echo.Rd /s/q "%WinDir%\$*$"
For /f "delims=\" %%i in ('dir "%Windir%\$*$" /adh /b') do Rd /s/q "%WinDir%\%%i"
cls
 
title=正在清理系统激活程序...
Del /a/f/s/q "%SysDir%\oobe\*.*"
cls
 
title=正在清理多余鼠标方案...
Del /a/f/s/q "%WinDir%\Cursors\*.*"
cls
 
title=正在清理系统临时文件...
Del /a/f/s/q "%WinDir%\Temp\*.*"
cls
 
title=正在清理程序预读文件...
Del /a/f/s/q "%WinDir%\Prefetch\*.*"
cls
 
title=正在清理驱动预编译文件...
Del /a/f/s/q "%WinDir%\Inf\*.PNF"
cls
 
echo.清理硬件驱动备份
Del /a/f/s/q "%SysDir%\ReinstallBackups\*.*"
cls
 
etitle=正在清理 繁体 输入法...
Rd /s/q "%WinDir%\ime\CHTIME"
cls
 
title=正在清理 日文 输入法...
Rd /s/q "%WinDir%\ime\IMJP8_1"
Rd /s/q "%WinDir%\ime\imejp"
Rd /s/q "%WinDir%\ime\imejp98"
cls
 
title=正在清理 韩文 输入法...
Rd /s/q "%WinDir%\ime\IMKR6_1"
cls
 
title=正在清理 繁体 输入法的 手写识别 文件...
Del /a/f/q "%WinDir%\ime\CHTIME\Applets\HWXCHT.DLL"
cls
 
title=正在清理 仓颉码 输入法...
Rd /s/q "%SysDir%\IME\CINTLGNT"
cls
 
title=正在清理 注音 输入法...
Rd /s/q "%SysDir%\IME\TINTLGNT"
cls
 
title=正在清理希腊、土耳其、中欧等字体...
Del /a/f/q "%WinDir%\Fonts\gulim.ttc"
Del /a/f/q "%WinDir%\Fonts\msgothic.ttc"
cls
 
title=正在清理网页临时文件...
Del /a/f/s/q "%CurUser%\Local Settings\Temporary Internet Files\*.*"
cls
 
title=正在清理用户临时文件...
Del /a/f/s/q "%CurUser%\Local Settings\Temp\*.*"
cls
 
title=正在清理网页历史纪录...
Del /a/f/s/q "%CurUser%\Local Settings\History\*.*"
cls
 
title=正在清理访问过的网络邻居快捷方式...
Del /a/f/s/q "%CurUser%\NetHood\*.*"
cls
 
title=正在清理未完成的打印任务...
Del /a/f/s/q "%CurUser%\PrintHood\*.*"
cls
 
title=正在清理最近使用的文档纪录...
Del /a/f/s/q "%CurUser%\Recent\*.*"
cls
 
title=正在清理网页 Cookie...
Del /a/f/s/q "%CurUser%\Cookies\*.*"
cls
 
title=正在清理图标缓存文件...
Del /a/f/q "%CurUser%\Local Settings\Application Data\IconCache.db"
cls
 
title=正在清理无用的 Windows 程序...
Del /a/f/s/q "%ProgFile%\Outlook Express\*.txt
Del /a/f/s/q "%ProgFile%\Online Services\*.*
Rd /s/q "%ProgFile%\Messenger"
Rd /s/q "%ProgFile%\Movie Maker"
Rd /s/q "%ProgFile%\MSN Gaming Zone"
Rd /s/q "%ProgFile%\NetMeeting"
cls
 
title=正在清理注册表最后一次访问位置...
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit" /v "LastKey" /t "REG_SZ" /d "我的电脑" /f
cls
 
title=正在清理注册表中的程序运行记录...
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU" /f
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU" /f
cls
 
title=正在清理最后一次正确配置文件...
Rd /s/q "%WinDir%\LastGood"
cls
 
title=正在清理注册表等文件备份...
Rd /s/q "%WinDir%\Repair"
cls
 
title=正在清理系统补丁生成的系统驱动备份...
Del /a/f/q "%WinDir%\Driver Cache\i386\ntkrnlmp.exe"
Del /a/f/q "%WinDir%\Driver Cache\i386\ntkrnlpa.exe"
Del /a/f/q "%WinDir%\Driver Cache\i386\ntkrpamp.exe"
Del /a/f/q "%WinDir%\Driver Cache\i386\ntoskrnl.exe"
cls
 
title=正在清理 DESKTOP.INI
FOR %%M IN (C D E F G H I J K L M N O P Q R S T U V W X Y Z) DO (DEL/A/F/Q %%M:\desktop.ini
)
cls
 
title=正在清理所有磁盘根目录autorun.inf文件...
FOR %%M IN (C D E F G H I J K L M N O P Q R S T U V W X Y Z) DO (DEL/A/F/Q %%M:\AUTORUN.INF
DEL/A/F/Q %%M:\SXS.EXE
DEL/A/F/Q %%M:\OSO.EXE
DEL/A/F/Q %%M:\SETUP.EXE)
 
title=正在清理系统垃圾...
Del /a/f/s/q "%HomeDrive%\*.tmp"
Del /a/f/s/q "%HomeDrive%\*._mp"
Del /a/f/s/q "%HomeDrive%\*.log"
Del /a/f/s/q "%HomeDrive%\*.gid"
Del /a/f/s/q "%HomeDrive%\*.chk"
Del /a/f/s/q "%HomeDrive%\*.old"
Rd /s/q "%HomeDrive%\RECYCLER
Rd /s/q "%HomeDrive%\System Volume Information
Del /a/f/s/q "%WinDir%\*.bak"
Rd /s/q "%WinDir%\assembly
del /f /s /q "%WinDir%\SoftwareDistribution\Download\*.*
del /f /s /q "%WinDir%\inf\*.pnf
del /f /s /q %SysDir%\CatRoot2\tmp.ed0
del /f /s /q %SysDir%\spool\drivers\w32x86\3\*.*
del /f /s /q %SysDir%\*.tmp
del /f /s /q %SysDir%\*._mp
del /f /s /q %SysDir%\*.log
del /f /s /q %SysDir%\*.gid
del /f /s /q %SysDir%\*.chk
del /f /s /q %SysDir%\*.old
del /f /s /q %SysDir%%\recycled\*.*
cls
title=正在查杀SXS病毒...
echo::停止正在运行的SXS.EXE和SVOHOST.EXE进程,请稍侯......
@echo::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
TASKKILL /F /T /IM SXS.EXE
TASKKILL /F /T /IM SVOHOST.EXE
TASKKILL /F /T /IM ROSE.EXE
@echo::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
@echo::恢复注册表中不给设置显示隐藏文件的项目,请稍侯
@echo::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
ECHO Windows Registry Editor Version 5.00>SHOWALL.reg
 
ECHO [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\Hidden\SHOWALL]>>SHOWALL.reg
ECHO "CheckedValue"=->>SHOWALL.reg
 
ECHO [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\Hidden\SHOWALL]>>SHOWALL.reg
ECHO "CheckedValue"=dword:00000001>>SHOWALL.reg
 
@echo::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
@echo::删除系统目录下的SXS.EXE、SVOHOST.EXE和WINSCOK.DLL文件,请稍侯......
@echo::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
ATTRIB -R -H -S -A %SysDir%\SXS.EXE
ATTRIB -R -H -S -A %SysDir%\SVOHOST.EXE
ATTRIB -R -H -S -A %SysDir%\WINSCOK.DLL
DEL /F /Q /A -R -H -S -A %SysDir%\SXS.EXE
DEL /F /Q /A -R -H -S -A %SysDir%\SVOHOST.EXE
DEL /F /Q /A -R -H -S -A %SysDir%\WINSCOK.DLL
 
ATTRIB -R -H -S -A %WinDir%\SXS.EXE
ATTRIB -R -H -S -A %WinDir%\SVOHOST.EXE
ATTRIB -R -H -S -A %WinDir%\WINSCOK.DLL
DEL /F /Q /A -R -H -S -A %WinDir%\SXS.EXE
DEL /F /Q /A -R -H -S -A %WinDir%\SVOHOST.EXE
DEL /F /Q /A -R -H -S -A %WinDir%\WINSCOK.DLL
 
ATTRIB -R -H -S -A %WinDir%\System\SXS.EXE
ATTRIB -R -H -S -A %WinDir%\System\SVOHOST.EXE
ATTRIB -R -H -S -A %WinDir%\System\WINSCOK.DLL
DEL /F /Q /A -R -H -S -A %WinDir%\System\SXS.EXE
DEL /F /Q /A -R -H -S -A %WinDir%\System\SVOHOST.EXE
DEL /F /Q /A -R -H -S -A %WinDir%\System\WINSCOK.DLL
 
ATTRIB -R -H -S -A %SysDir%\dllcache\SXS.EXE
ATTRIB -R -H -S -A %SysDir%\dllcache\SVOHOST.EXE
ATTRIB -R -H -S -A %SysDir%\dllcache\WINSCOK.DLL
DEL /F /Q /A -R -H -S -A %SysDir%\dllcache\SXS.EXE
DEL /F /Q /A -R -H -S -A %SysDir%\dllcache\SVOHOST.EXE
DEL /F /Q /A -R -H -S -A %SysDir%\dllcache\WINSCOK.DLL
 
@echo::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
@echo::删除每个分区下的SXS.EXE和AUTORUN.INF文件,请稍侯.......
@echo::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
FOR %%a IN ( C: D: E: F: G: H: I: J: K: L: M: N: O: P: Q: R: S: T: U: V: W: X: Y: Z: ) DO ATTRIB -R -H -S -A %%a\SXS.EXE & DEL /F /Q /A -R -H -S -A %%a\SXS.EXE & ATTRIB -R -H -S -A %%a\AUTORUN.INF & DEL /F /Q /A -R -H -S -A %%a\AUTORUN.INF
 
@echo::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
@echo::删除注册表中自启动项,请稍侯......
@echo::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
ECHO Windows Registry Editor Version 5.00>SoundMam.reg
 
ECHO [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\SoundMam]>>SoundMam.reg
 
ECHO [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]>>SoundMam.reg
ECHO "SoundMam"=->>SoundMam.reg
 
REGEDIT /S SoundMam.reg
 
DEL /F /Q SoundMam.reg
 
REGEDIT /S SHOWALL.reg
 
DEL /F /Q SHOWALL.reg
title=正在清理所有多余的启动项目...
reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /va /f
reg delete HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run /va /f
reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run /v ctfmon.exe /d C:\WINDOWS\system32\ctfmon.exe
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg" /f
 
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\IMJPMIG8.1"
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\IMJPMIG8.1" /v command /d ""C:\WINDOWS\IME\imjp8_1\IMJPMIG.EXE" /Spoil /RemAdvDef /Migration32"
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\IMJPMIG8.1" /v hkey /d HKLM
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\IMJPMIG8.1" /v inimapping /d 0
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\IMJPMIG8.1" /v item /d IMJPMIG
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\IMJPMIG8.1" /v key /d SOFTWARE\Microsoft\Windows\CurrentVersion\Run
 
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\PHIME2002A"
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\PHIME2002A" /v command /d "C:\WINDOWS\system32\IME\TINTLGNT\TINTSETP.EXE /IMEName"
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\PHIME2002A" /v hkey /d HKLM
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\PHIME2002A" /v inimapping /d 0
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\PHIME2002A" /v item /d TINTSETP
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\PHIME2002A" /v key /d SOFTWARE\Microsoft\Windows\CurrentVersion\Run
 
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\PHIME2002ASync"
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\PHIME2002ASync" /v command /d ""C:\WINDOWS\IME\imjp8_1\IMJPMIG.EXE" /Spoil /RemAdvDef /Migration32"
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\PHIME2002ASync" /v hkey /d HKLM
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\PHIME2002ASync" /v inimapping /d 0
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\PHIME2002ASync" /v item /d TINTSETP
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\PHIME2002ASync" /v key /d SOFTWARE\Microsoft\Windows\CurrentVersion\Run
 
del "C:\Documents and Settings\All Users\「开始」菜单\程序\启动\*.*" /q /f
del "C:\Documents and Settings\Default User\「开始」菜单\程序\启动\*.*" /q /f
del "%userprofile%\「开始」菜单\程序\启动\*.*" /q /f
CLS
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO
ECHO.
ECHO.
ECHO.
ECHO.
ECHO            系统和软件垃圾清理完毕!
ECHO            欢迎访问 http://laycher.tk
ECHO.
ECHO.
ECHO.
ECHO.
ECHO              按任意键返回主菜单……
pause>nul
goto menu1
 
:kkhc
CLS
title 清理看看缓存
rd /s /q "c:\vod_cache_data" 2>NUL
rd /s /q "d:\vod_cache_data" 2>NUL
rd /s /q "e:\vod_cache_data" 2>NUL
rd /s /q "f:\vod_cache_data" 2>NUL
rd /s /q "G:\vod_cache_data" 2>NUL
rd /s /q "h:\vod_cache_data" 2>NUL
rd /s /q "I:\vod_cache_data" 2>NUL
rd /s /q "j:\vod_cache_data" 2>NUL
rd /s /q "k:\vod_cache_data" 2>NUL
rd /s /q "l:\vod_cache_data" 2>NUL
rd /s /q "m:\vod_cache_data" 2>NUL
rd /s /q "n:\vod_cache_data" 2>NUL
rd /s /q "o:\vod_cache_data" 2>NUL
rd /s /q "p:\vod_cache_data" 2>NUL
rd /s /q "q:\vod_cache_data" 2>NUL
rd /s /q "r:\vod_cache_data" 2>NUL
rd /s /q "s:\vod_cache_data" 2>NUL
rd /s /q "t:\vod_cache_data" 2>NUL
rd /s /q "u:\vod_cache_data" 2>NUL
rd /s /q "v:\vod_cache_data" 2>NUL
rd /s /q "w:\vod_cache_data" 2>NUL
rd /s /q "x:\vod_cache_data" 2>NUL
rd /s /q "y:\vod_cache_data" 2>NUL
rd /s /q "z:\vod_cache_data" 2>NUL
rd /s /q "c:\gvod_cache_data" 2>NUL
rd /s /q "d:\gvod_cache_data" 2>NUL
rd /s /q "e:\gvod_cache_data" 2>NUL
rd /s /q "f:\gvod_cache_data" 2>NUL
rd /s /q "G:\gvod_cache_data" 2>NUL
rd /s /q "h:\gvod_cache_data" 2>NUL
rd /s /q "I:\gvod_cache_data" 2>NUL
rd /s /q "j:\gvod_cache_data" 2>NUL
rd /s /q "k:\gvod_cache_data" 2>NUL
rd /s /q "l:\gvod_cache_data" 2>NUL
rd /s /q "m:\gvod_cache_data" 2>NUL
rd /s /q "n:\gvod_cache_data" 2>NUL
rd /s /q "o:\gvod_cache_data" 2>NUL
rd /s /q "p:\gvod_cache_data" 2>NUL
rd /s /q "q:\gvod_cache_data" 2>NUL
rd /s /q "r:\gvod_cache_data" 2>NUL
rd /s /q "s:\gvod_cache_data" 2>NUL
rd /s /q "t:\gvod_cache_data" 2>NUL
rd /s /q "u:\gvod_cache_data" 2>NUL
rd /s /q "v:\gvod_cache_data" 2>NUL
rd /s /q "w:\gvod_cache_data" 2>NUL
rd /s /q "x:\gvod_cache_data" 2>NUL
rd /s /q "y:\gvod_cache_data" 2>NUL
rd /s /q "z:\gvod_cache_data" 2>NUL
rd /s /q "c:\$recycle.bin\vod_cache_data" 2>NUL
rd /s /q "d:\$recycle.bin\vod_cache_data" 2>NUL
rd /s /q "e:\$recycle.bin\vod_cache_data" 2>NUL
rd /s /q "f:\$recycle.bin\vod_cache_data" 2>NUL
rd /s /q "G:\$recycle.bin\vod_cache_data" 2>NUL
rd /s /q "h:\$recycle.bin\vod_cache_data" 2>NUL
rd /s /q "I:\$recycle.bin\vod_cache_data" 2>NUL
rd /s /q "j:\$recycle.bin\vod_cache_data" 2>NUL
rd /s /q "k:\$recycle.bin\vod_cache_data" 2>NUL
rd /s /q "l:\$recycle.bin\vod_cache_data" 2>NUL
rd /s /q "m:\$recycle.bin\vod_cache_data" 2>NUL
rd /s /q "n:\$recycle.bin\vod_cache_data" 2>NUL
rd /s /q "o:\$recycle.bin\vod_cache_data" 2>NUL
rd /s /q "p:\$recycle.bin\vod_cache_data" 2>NUL
rd /s /q "q:\$recycle.bin\vod_cache_data" 2>NUL
rd /s /q "r:\$recycle.bin\vod_cache_data" 2>NUL
rd /s /q "s:\$recycle.bin\vod_cache_data" 2>NUL
rd /s /q "t:\$recycle.bin\vod_cache_data" 2>NUL
rd /s /q "u:\$recycle.bin\vod_cache_data" 2>NUL
rd /s /q "v:\$recycle.bin\vod_cache_data" 2>NUL
rd /s /q "w:\$recycle.bin\vod_cache_data" 2>NUL
rd /s /q "x:\$recycle.bin\vod_cache_data" 2>NUL
rd /s /q "y:\$recycle.bin\vod_cache_data" 2>NUL
rd /s /q "z:\$recycle.bin\vod_cache_data" 2>NUL
CLS
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO
ECHO.
ECHO.
ECHO.
ECHO.
ECHO             迅雷看看缓存清理完毕!
ECHO            欢迎访问 http://laycher.tk
ECHO.
ECHO.
ECHO.
ECHO.
ECHO              按任意键返回主菜单……
pause>nul
goto menu1
:ttsc
CLS
title 屏蔽迅雷偷偷上传
ECHO 正在屏蔽迅雷后台上传,请稍候......
ECHO.
del /f /s /q %windir%\system32\cid_store.dat
md %windir%\system32\cid_store.dat
attrib +s +h +r %windir%\system32\cid_store.dat
del /f /s /q %windir%\system32\pub_store.dat
md %windir%\system32\pub_store.dat
attrib +s +h +r %windir%\system32\pub_store.dat
del /f /s /q %windir%\system32\xlhcc.dat
md %windir%\system32\xlhcc.dat
attrib +s +h +r %windir%\system32\xlhcc.dat
CLS
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO
ECHO.
ECHO.
ECHO.
ECHO.
ECHO            迅雷偷偷上传已被成功屏蔽!
ECHO            欢迎访问 http://laycher.tk
ECHO.
ECHO.
ECHO.
ECHO.
ECHO              按任意键返回主菜单……
pause>nul
goto menu1
goto menu1

>> 若为原创,转载请注明: 转载自Laycher's Blog

>> 本文链接地址: 一键清理系统垃圾(附带代码)

>> 订阅本站: http://feed.feedsky.com/laycher



无觅相关文章插件,快速提升流量