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

所属分类: 脚本专栏 / DOS/BAT 阅读数: 879
收藏 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  

 

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

Cls 清除命令提示符窗口

Cls 清除命令提示符窗口
收藏 0 赞 0 分享

Cmd 启动命令解释器 Cmd.exe 的新实例

Cmd 启动命令解释器 Cmd.exe 的新实例
收藏 0 赞 0 分享

Cmstp 安装或删除“连接管理器”服务配置文件

Cmstp 安装或删除“连接管理器”服务配置文件
收藏 0 赞 0 分享

color 对于当前会话,更改命令提示窗口的前景和背景色

color 对于当前会话,更改命令提示窗口的前景和背景色
收藏 0 赞 0 分享

配置命令提示符的方法

配置命令提示符的方法
收藏 0 赞 0 分享

Comp 逐字节地比较两个文件或几组文件的内容

Comp 逐字节地比较两个文件或几组文件的内容
收藏 0 赞 0 分享

Compact 显示和更改 NTFS 分区上的文件或目录压缩

Compact 显示和更改 NTFS 分区上的文件或目录压缩
收藏 0 赞 0 分享

Del (erase) 删除指定文件

Del (erase) 删除指定文件
收藏 0 赞 0 分享

Convert  将 FAT 和 FAT32 卷转换为 NTFS

Convert  将 FAT 和 FAT32 卷转换为 NTFS
收藏 0 赞 0 分享

copy 将一个或多个文件从一个位置复制到其他位置

copy 将一个或多个文件从一个位置复制到其他位置
收藏 0 赞 0 分享
查看更多