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

DOS/BAT
一个“灵异”批处理引发的思考加补充说明
批处理隐藏自身窗口,很无聊
批处理bat 延时执行命令的两种方法
执行批处理bat程序中的条件处理
不错的批处理脚本 第一部分
不错的批处理脚本实例代码 第二部分
开机更新桌面主题的批处理代码
非常好的for 教程, 当时我就是看这个学习for 的
批处理的"循环"效果脚本
批处理中常用的符号总结
关于echo 的问题与使用说明
进入dos的一个密码破解方法
VBS CHR码值对应列表
无法使用GHOST及避免出现A:\GHOSTERR.TXT的解决方法
用vbs实现cmd多命令运行功能代码
三个不同文件停顿二秒弹出不同窗口的批处理
写批处理必备的一些命令参数使用技巧
一个小助手批处理实例代码
网管常用的网络命令集合
批处理的api WMIC学习体会有感

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


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-09-11   浏览: 140 ::
收藏到网摘: 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