一起学习网 一起学习网


sxs.exe的查杀bat代码

网络编程 sxs.exe的查杀bat代码 06-21


::echo 特征:在每个盘根目录下自动生成sxs.exe,autorun.inf文件,有的还在windowssystem32下生成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 HKLMSoftwareMicrosoftwindowsCurrentVersionexplorerAdvancedFolderHiddenSHOWALL /V CheckedValue /f
reg add HKLMSOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvancedFolderHiddenSHOWALL /v "CheckedValue" /t "REG_DWORD" /d "1" /f
REG DELETE HKLMSOFTWAREMicrosoftWindowsCurrentVersionRun /V sxs.exe /f
REG DELETE HKLMSOFTWAREMicrosoftWindowsCurrentVersionRun /V SVOHOST.exe /f
exit

判断分区格式的bat代码
@echooff:1clsset/ppan=请输入要测试的盘符(不带冒号)for/f"tokens=1,2"%%iin('chkntfs%pan%:')do(setvar=%%jgototype)goto:eof:typesetvar=%var:。=%echo%pan%的文件系统类型是%var%pausenul

Bat脚本处理ftp超强案例分析
前言:公司有几百台windows服务器,每次程序更新,如果是一台台拷数据,只怕安排十个人,一天都不一定做得完,所以就必须研究个全自动更新方案来

cmd命令行大全 dos命令 cmd命令整理
CMD命令netuseipipc$""/user:""建立IPC空链接netuseipipc$"密码"/user:"用户名"建立IPC非空链接netuseh:ipc$"密码"/user:"用户名"直接登陆后映射对方C:到本地为H:netuseh:ipc


编辑:一起学习网

标签:命令,用户名,密码,链接,冒号