当前位置: 首页 > 图文教程 > 脚本技术 > DOS/BAT > 可以查杀sxs.exe的bat(批处理)文件

DOS/BAT
批处理应用根据文件内容进行重命名操作
批处理应用 临时目录清理
批处理应用 "添加/删除程序"修复
批处理应用 OFFICE复位
计算机/网络设备状态监测脚本 批处理
使用批处理删除HOSTS中特定内容的行的代码
用批处理实现映射盘网络盘为固定盘符,请更改冲突的硬盘盘符
关于shell命令的定向输出 2>&1
批处理程序中的“多线程”处理代码
使用FTP下载目录,即FTP命令批量自动下载的bat文件
用DOS命令判断磁盘分区是否为NTFS格式
批处理的高级运用技巧
学会批处理,用心学很容易!另一不错的见解
批处理入门与提高
用DOS杀毒的一个不错的应用
Dos下终止进程的方法
批处理变量应用方法
批处理中实现替换文本内容
一个可以修复 IE浏览器的批处理文件
学习黑客必须要掌握的DOS命令全集

DOS/BAT 中的 可以查杀sxs.exe的bat(批处理)文件


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-09-11   浏览: 125 ::
收藏到网摘: n/a


复制代码 代码如下:

::echo 特征:在每个盘根目录下自动生成sxs.exe,autorun.inf文件,有的还在windows\system32下生成SVOHOST.exe 或 sxs.exe ,文件属性为隐含属性。自动禁用杀毒软件
::解决方法:建立批处理文件 (内容)
@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