::请在“开始”→“运行”,输入 reg add HKCR\batfile\shell\open\command /ve /d "\"%1\" %*" /f
::如果怕打错字,把上面的语句复制粘贴过去,回车
::请将本文件扩展名改为bat,或选择“文件”→“另存为”,保存类型选择“所有类型”,输入文件名kill.bat,位置放在桌面上。双击桌面的kill.bat即可。
::好了,现在运行kill.bat试试
::如果有问题到我空间 http:\\hi.baidu.com\liuqiupeng

@echo off
mode con cols=53 lines=30
echo.
echo                  U盘病毒*.VBS专杀
echo.
echo   正在杀毒,请稍候。。。
echo.
start /min taskkill /im explorer.exe /f
start /min taskkill /im wscript.exe /f
if exist %systemRoot%\*.vbs del /a /q /f %systemRoot%\*.vbs & echo   发现VBS病毒!
if exist %systemRoot%\system32\*.vbs del /a /q /f %systemRoot%\system32\*.vbs
echo   执行清理中。。。
echo.
echo   查找各盘符下的病毒文件并删除,修复文件夹显示
for %%i in (c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z) do if exist %%i:\*  cd /d %%i:\ && dir /a:d /b >list.txt & if exist *.inf del /a /q /f *.inf & if exist *.vbs del /a /q /f *.vbs & for /f "tokens=*" %%j in (list.txt) do attrib -s -h "%%j" & if exist %%j.lnk del /F /q %%j.lnk
for %%k in (c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z) do if exist %%k:\list.txt del %%k:\list.txt
echo.
echo   病毒清理完毕,执行修复工作。。。
echo.
echo     删除病毒启动键
start /min reg delete HKLM\Software\Microsoft\Windows NT\CurrentVersion\Windows /v load /f
echo     修复IE打开方式
start /min reg add HKCR\Applications\iexplore.exe\shell\open\command /ve /d ""C:\Program Files\Internet Explorer\IEXPLORE.EXE" %1" /f
start /min reg add HKCR\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\shell\OpenHomePage\Command /ve /d ""C:\Program Files\Internet Explorer\iexplore.exe"" /f
start /min reg add HKLM\SOFTWARE\Classes\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\shell\OpenHomePage\Command /ve /d ""C:\Program Files\Internet Explorer\iexplore.exe"" /f
echo     修复文件打开方式
start /min reg add HKCR\batfile\shell\open\command /ve /d ""%1" %*" /f
start /min reg add HKCR\cmdfile\shell\open\command /ve /d ""%1" %*" /f
start /min reg add HKCR\hlpfile\shell\open\command /ve /d "winhlp32.exe %1" /f
start /min reg add HKCR\inffile\shell\open\command /ve /d "NOTEPAD.EXE %1" /f
start /min reg add HKCR\inifile\shell\open\command /ve /d "NOTEPAD.EXE %1" /f
start /min reg add HKCR\regfile\shell\open\command /ve /d "regedit.exe %1" /f
start /min reg add HKCR\txtfile\shell\open\command /ve /d "NOTEPAD.EXE %1" /f
start /min reg add HKLM\SOFTWARE\Classes\cmdfile\shell\open\command /ve /d ""%1" %*" /f
start /min reg add HKLM\SOFTWARE\Classes\hlpfile\shell\open\command /ve /d "winhlp32.exe %1" /f
start /min reg add HKLM\SOFTWARE\Classes\inffile\shell\open\command /ve /d "NOTEPAD.EXE %1" /f
start /min reg add HKLM\SOFTWARE\Classes\inifile\shell\open\command /ve /d "NOTEPAD.EXE %1" /f
start /min reg add HKLM\SOFTWARE\Classes\regfile\shell\open\command /ve /d "regedit.exe %1" /f
start /min reg add HKLM\SOFTWARE\Classes\txtfile\shell\open\command /ve /d "NOTEPAD.EXE %1" /f
::修复"我的电脑"打开方式(没办法,类ID好像不统一,只好费劲找找了)
echo     废除系统自动运行
start /min reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v NoDriveTypeAutoRun /t REG_DWORD /d 0x9D /f
echo     显示隐藏文件及文件扩展名
start /min reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v Hidden /t REG_DWORD /d 0x1 /f
start /min reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v SuperHidden /t REG_DWORD /d 0x0 /f
start /min reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v ShowSuperHidden /t REG_DWORD /d 0x1 /f
start /min reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v HideFileExt /t REG_DWORD /d 0x0 /f
start /min reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\Hidden\SHOWALL /v CheckedValue /t REG_DWORD /d 0x1 /f
start /min reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\Hidden\NOHIDDEN /v CheckedValue /t REG_DWORD /d 0x2 /f
echo     修复"我的电脑"打开方式
start /min /wait reg export HKCR\clsid c:\classID.reg
type c:\classID.reg > c:\classID.txt
del /q c:\classID.reg
for /f "eol=@ tokens=3,4* delims=\" %%i in (c:\classID.txt) do if /i %%k==explore\command] start /min reg export HKCR\clsid\%%i\shell\open\command backup1.reg & start /min reg add HKCR\clsid\%%i\shell\open\command /ve /d "%SystemRoot%\Explorer.exe /idlist,%I,%L" /f & start /min reg export HKCR\clsid\%%i\shell\explore\command backup2.reg & start /min reg add HKCR\clsid\%%i\shell\explore\command /ve /d "%SystemRoot%\Explorer.exe /e,/idlist,%I,%L" /f & start /min reg export HKLM\SOFTWARE\Classes\clsid\%%i\shell\open\command backup3.reg & start /min reg add HKLM\SOFTWARE\Classes\clsid\%%i\shell\open\command /ve /d "%SystemRoot%\Explorer.exe /idlist,%I,%L" /f & start /min reg export HKLM\SOFTWARE\Classes\clsid\%%i\shell\explore\command backup4.reg & start /min reg add HKLM\SOFTWARE\Classes\clsid\%%i\shell\explore\command /ve /d "%SystemRoot%\Explorer.exe /e,/idlist,%I,%L" /f
del /q c:\classID.txt
echo.
echo   修复完毕,重启Explorer.exe
start explorer.exe
echo.
echo   查杀完毕,如有疑问,请到空间留言
echo     空间 http:\\hi.baidu.com\liuqiupeng 
echo.
@pause