[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 379: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 379: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead popsoft.com.hk • 檢視主題 - Auto Run 病毒 & kavo 病毒
if not "%1"=="open" goto st echo. echo 回復Autorun功能並刪除Autorun.inf資料夾
for %%a 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 ( attrib -r -s -h +a /D /S %%a:\autorun.inf >nul 2>nul rd %%a:\autorun.inf >nul 2>nul&&echo.&&echo 移除%%a:\Autorun.inf資料夾 ) echo. echo. reg.exe delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoDriveAutoRun" /f >nul 2>nul reg.exe add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer" /v NoDriveTypeAutoRun /t REG_DWORD /d 0x00000091 /f >nul 2>nul reg.exe add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoDriveTypeAutoRun /t REG_DWORD /d 0x00000091 /f >nul 2>nul reg.exe add "HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoDriveTypeAutoRun /t REG_DWORD /d 0x00000091 /f >nul 2>nul echo 處理完畢請重新開機 echo. pause exit
:st if not exist c:\delauto goto delauto if exist c:\delauto\usbmons.dll attrib -r -s -h -a %windir%\system32\usbmons.dll&del %windir%\system32\usbmons.dll >nul 2>nul&del c:\delauto\usbmons.dll >nul 2>nul
echo. echo 清理前次執行此批次檔暫存檔和autorun.inf資料夾 echo.
for %%a 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 ( attrib -r -s -h +a /D /S %%a:\autorun.inf >nul 2>nul rd %%a:\autorun.inf >nul 2>nul ) del c:\delauto\*.* /s /q >nul 2>nul rd c:\delauto /s /q
for %%a 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 ( for %%b in (EXE COM PIF) do ( attrib -r -s -h -a %%a:\RECYCLER\*.%%b /s >nul 2>nul&attrib -r -s -h -a %%a:\RECYCLED\*.%%b /s >nul 2>nul del %%a:\recycler\*.%%b /s /q /f >nul 2>nul&del %%a:\recycled\*.%%b /s /q /f >nul 2>nul ))
@echo Windows Registry Editor Version 5.00 >c:\delauto\fix.reg @echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\Hidden\SHOWALL] >>c:\delauto\fix.reg @echo "CheckedValue"=dword:00000001 >>c:\delauto\fix.reg