当前位置: 移动技术网 > IT编程>网络>Dos/Bat > 可以查杀sxs.exe的bat(批处理)文件

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

2017年12月12日  | 移动技术网IT编程  | 我要评论



复制代码 代码如下:

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

 

如对本文有疑问, 点击进行留言回复!!

相关文章:

验证码:
移动技术网