建议使用ntfs分区,然后用本工具进行免疫操作,支持免疫autorun.inf,还可以手动制定需要免疫的文件名。以下内容复制到记事本,保存为bat文件即可。@echo offtitle V1.0 ┠不是鸟儿┨‰制作@mode con cols=85 lines=35COLOR 3fset no=AUTO类病毒免疫工具set nob=nobird ┠不是鸟儿┨‰set n1= ╭─────────────╮set n2= ╭───────────┤ %no% ├────────────╮set n3= │ ╰─────────────╯ │set n4= │ 本程序在各磁盘写入一个autorun.inf免疫文件夹的同时,还可以根据 │set n5= │ 用户需求免疫指定文件名的文件,生成的免疫文件夹有一个特殊的图标表示 │set n6= │ 以备区别。 │set n7= │ 仅适用于win 2000,win xp,win 2003,win vista(x86,x64) │set n8= │ 自我保护(防止被病毒删除)适用于NTFS及Fat(32)格式的分区(含usb设备) │set n9= │ 请选择你需要的功能: │set n10= │ * * * * * │set n11= │ │set n12= │ ╭────────────╮ │set n13= ╰───────────────────┤ %nob% ├─────╯set n14= ╰────────────╯:mainclsecho.echo%n1%echo%n2%echo%n3%echo%n11%echo%n4%echo%n11%echo%n5%echo%n11%echo%n6%echo%n11%echo%n7%echo%n11%echo%n8%echo%n11%echo%n9%echo%n11%echo%n11%echo │ 1.免疫指定文件 │echo%n11%echo │ 2.取消指定文件的免疫 │echo%n11%echo │ 3.退出本程序 │echo%n11%echo%n10%echo%n12%echo%n13%echo%n14%set mian=set /p main= if /I "%main%"=="1" goto mianyiif /I "%main%"=="2" goto quxiaoif /I "%main%"=="3" exitif not defined name (goto main):mianyiclsecho.echo%n1%echo%n2%echo%n3%echo%n11%echo%n4%echo%n11%echo%n5%echo%n11%echo%n6%echo%n11%echo%n7%echo%n11%echo%n8%echo%n11%echo%n9%echo%n11%echo%n11%echo │ 请选择你需要的功能: │echo%n11%echo │ 1.写入aotorun.inf免疫文件 │echo%n11%echo │ 2.免疫其他文件 │echo%n11%echo │ 3.返回主界面 │echo%n11%echo │ 4.退出程序 │echo%n11%echo%n10%echo%n11%echo%n12%echo%n13%echo%n14%set mianyi=set /p mianyi= if /I "%mianyi%"=="1" goto autoif /I "%mianyi%"=="2" goto xqitaif /I "%mianyi%"=="3" goto mainif /I "%mianyi%"=="4" exitif not defined name (goto mianyi):quxiaoclsecho.echo%n1%echo%n2%echo%n3%echo%n11%echo%n4%echo%n11%echo%n5%echo%n11%echo%n6%echo%n11%echo%n7%echo%n11%echo%n8%echo%n11%echo%n9%echo%n11%echo%n11%echo │ 请选择你需要的功能: │echo%n11%echo │ 1.取消aotorun.inf免疫 │echo%n11%echo │ 2.取消其他文件的免疫 │echo%n11%echo │ 3.返回主界面 │echo%n11%echo │ 4.退出程序 │echo%n11%echo%n10%echo%n11%echo%n12%echo%n13%echo%n14%set mianyi=set /p mianyi= if /I "%mianyi%"=="1" goto autoif /I "%mianyi%"=="2" goto xqitaif /I "%mianyi%"=="3" goto mainif /I "%mianyi%"=="4" exitif not defined name (goto quxiao):autoclsecho.echo%n1%echo%n2%echo%n3%echo%n11%echo%n11%echo%n11%echo │ 请稍候。。。 │echo%n11%echo%n11%echo%n11%echo%n12%echo%n13%echo%n14%echo.set nobird=autorun.infgoto tiaozhuan:xqitaclsecho.echo%n1%echo%n2%echo%n3%echo%n11%echo%n11%echo%n11%echo │ 请输入需要操作的文件名,要求包括文件的扩展名 │echo%n11%echo%n11%echo%n11%echo%n12%echo%n13%echo%n14%echo.set nobird=set /p nobird= clsecho.echo%n1%echo%n2%echo%n3%echo%n11%echo%n11%echo%n11%echo │ Y:确认输入 │echo │ N:重新输入 │echo%n11%echo%n11%echo%n11%echo%n12%echo%n13%echo%n14%set /p x= if /I "%x%"=="Y" goto tiaozhuanif /I "%x%"=="N" goto xqitaif not defined name (goto xqita):tiaozhuanecho.set paths=c: d: e: f: g: h: i: j: k: l: m: n: o: p: q: r: s: t: u: v: w: x: y: z:echo 已完成 0%%for %%a in (%paths%) do If Exist "%%a\%nobird%" (cacls "%%a\%nobird%" /c /e /R administrators & cacls "%%a\%nobird%" /c /e /R everyone & cacls "%%a\%nobird%" /c /e /R system & cacls "%%a\%nobird%" /c /e /R users & cacls "%%a\%nobird%" /c /e /P everyone:F & cacls "%%a\%nobird%" /c /e /P administrator:F & del "%%a\%nobird%" /a/f/q & rd "%%a\%nobird%" /s/q) >nul 2>nulecho 已完成50%%if %main%==2 goto quxfor %%a in (%paths%) do If NOT Exist "%%a\%nobird%" (mkdir "%%a\%nobird%" && @attrib +s +r +h "%%a\%nobird%" & echo [.ShellClassInfo]>"%%a\%nobird%\Desktop.ini" & echo IconFile=%SystemRoot%\system32\SHELL32.dll>>"%%a\%nobird%\Desktop.ini" & echo IconIndex=130>>"%%a\%nobird%\Desktop.ini" & @attrib +s +r +h "%%a\%nobird%\Desktop.ini" & mkdir "%%a\%nobird%\nobird免疫目录禁止删除!..\" & cacls "%%a\%nobird%" /c /e /R administrators & cacls "%%a\%nobird%" /c /e /R everyone & cacls "%%a\%nobird%" /c /e /P Authenticated Users:N & cacls "%%a\%nobird%" /c /e /R system & cacls "%%a\%nobird%" /c /e /R users & cacls "%%a\%nobird%" /c /e /P everyone:N & cacls "%%a\%nobird%" /c /e /P administrator:N) >nul 2>nul && ECHO --正在处理 %%aecho 已完成100%%echo.echo OK!所有可写盘均已免疫,按任意键继续...pause>nulgoto main:quxecho.echo OK!所有可写盘均已取消免疫,按任意键继续...pause>nulgoto main 转载请注明:鸟儿博客 » autorun病毒免疫工具