可以查殺sxs.exe的bat(批處理)文件
更新時(shí)間:2007年08月08日 21:04:24 作者:
復(fù)制代碼 代碼如下:
::echo 特征:在每個(gè)盤根目錄下自動(dòng)生成sxs.exe,autorun.inf文件,有的還在windows\system32下生成SVOHOST.exe 或 sxs.exe ,文件屬性為隱含屬性。自動(dòng)禁用殺毒軟件
::解決方法:建立批處理文件 (內(nèi)容)
@echo off
taskkill /f /im sxs.exe /t
taskkill /f /im SVOHOST.exe /t
c:
attrib sxs.exe -a -h -s
del /s /q /f sxs.exe
attrib autorun.inf -a -h -s
del /s /q /f autorun.inf
d:
attrib sxs.exe -a -h -s
del /s /q /f sxs.exe
attrib autorun.inf -a -h -s
del /s /q /f autorun.inf
e:
attrib sxs.exe -a -h -s
del /s /q /f sxs.exe
attrib autorun.inf -a -h -s
del /s /q /f autorun.inf
f:
attrib sxs.exe -a -h -s
del /s /q /f sxs.exe
attrib autorun.inf -a -h -s
del /s /q /f autorun.inf
g:
attrib sxs.exe -a -h -s
del /s /q /f sxs.exe
attrib autorun.inf -a -h -s
del /s /q /f autorun.inf
h:
attrib sxs.exe -a -h -s
del /s /q /f sxs.exe
attrib autorun.inf -a -h -s
del /s /q /f autorun.inf
i:
attrib sxs.exe -a -h -s
del /s /q /f sxs.exe
attrib autorun.inf -a -h -s
del /s /q /f autorun.inf
j:
attrib sxs.exe -a -h -s
del /s /q /f sxs.exe
attrib autorun.inf -a -h -s
del /s /q /f autorun.inf
k:
attrib sxs.exe -a -h -s
del /s /q /f sxs.exe
attrib autorun.inf -a -h -s
del /s /q /f autorun.inf
l:
attrib sxs.exe -a -h -s
del /s /q /f sxs.exe
attrib autorun.inf -a -h -s
del /s /q /f autorun.inf
m:
attrib sxs.exe -a -h -s
del /s /q /f sxs.exe
attrib autorun.inf -a -h -s
del /s /q /f autorun.inf
n:
attrib sxs.exe -a -h -s
del /s /q /f sxs.exe
attrib autorun.inf -a -h -s
del /s /q /f autorun.inf
reg delete HKLM\Software\Microsoft\windows\CurrentVersion\explorer\Advanced\Folder\Hidden\SHOWALL /V CheckedValue /f
reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\Hidden\SHOWALL /v "CheckedValue" /t "REG_DWORD" /d "1" /f
REG DELETE HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /V sxs.exe /f
REG DELETE HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /V SVOHOST.exe /f
exit
相關(guān)文章
Windows定時(shí)刪除指定路徑下N天前的文件以及文件夾(腳本之家修正版)
今天在配置服務(wù)器的時(shí)候,發(fā)現(xiàn)備份的數(shù)據(jù)過(guò)多,硬盤嚴(yán)重吃緊,所以考慮定時(shí)檢查當(dāng)前文件夾下刪除一些文件保證15天內(nèi)的數(shù)據(jù)就可以了,找了很多批處理發(fā)現(xiàn)如下的命令不錯(cuò)2024-06-06
Emeditor與dos(cmd)經(jīng)典使用技巧之批量生成網(wǎng)頁(yè)
首先我們準(zhǔn)備好工具: 工作目錄:D:\jb51.txt 里邊放一個(gè)你的有內(nèi)容的index.html文件, 然后我們把要生成的網(wǎng)頁(yè)弄成這種格式:2008-06-06
寫(xiě)了個(gè)Vista的服務(wù)優(yōu)化腳本
寫(xiě)了個(gè)Vista的服務(wù)優(yōu)化腳本...2007-04-04
判斷U盤已插入并自動(dòng)COPY所有內(nèi)容的批處理-U盤自動(dòng)復(fù)制
判斷U盤已插入并自動(dòng)COPY所有內(nèi)容的批處理-U盤自動(dòng)復(fù)制...2007-11-11
把文件名當(dāng)中含有特殊字符[.\]的文件刪除的方法
把文件名當(dāng)中含有特殊字符[.\]的文件刪除的方法...2007-08-08
根據(jù)輸入的文字實(shí)現(xiàn)輸出倒文的批處理
根據(jù)輸入的文字實(shí)現(xiàn)輸出倒文的批處理...2007-08-08

