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

所属分类: 脚本专栏 / DOS/BAT 阅读数: 917
收藏 0 赞 0 分享



复制代码 代码如下:

::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  

 

更多精彩内容其他人还在看

DOS 命令字典

DOS 命令字典
收藏 0 赞 0 分享

用replace实现替换正在使用的文件

用replace实现替换正在使用的文件
收藏 0 赞 0 分享

黑客基础之DOS (最齐全)超强推荐

黑客基础之DOS (最齐全)超强推荐
收藏 0 赞 0 分享

bat运行时不弹出那个黑框框的完美解决方案

bat运行时不弹出那个黑框框的完美解决方案
收藏 0 赞 0 分享

收藏的比较完整的批处理教程第1/2页

收藏的比较完整的批处理教程
收藏 0 赞 0 分享

批处理版的SC

批处理版的SC
收藏 0 赞 0 分享

BAT文件语法和技巧(bat文件的编写及使用)

批处理文件是一个文本文件,这个文件的每一行都是一条DOS命令(大部分时候就好象我们在DOS提示符下执行的命令行一样),你可以使用DOS下的Edit或者Windows的记事本(notepad)等任何文本文件编辑工具创建和修改批处理文件
收藏 0 赞 0 分享

用 Net 命令使局域网文件批量同步更新

用 Net 命令使局域网文件批量同步更新
收藏 0 赞 0 分享

如何用DOS命令删除顽固文件夹啊

如何用DOS命令删除顽固文件夹啊
收藏 0 赞 0 分享

dos下删除文件夹和文件的方法

dos下删除文件夹和文件的方法
收藏 0 赞 0 分享
查看更多