I got this script from linggis at www.linggis.co.cc
One of many distribution ways of a virus is inject a flash disk automatically by copying himself from one computer to the other computer. And then the injected flash disk is connected to a fresh computer, and a virus moves from the flash disk and stay into thus fresh computer. This process happens in a recurrent method so there are more and more computers infected a virus. Actually, the main gate of this spreading process is located on the flash disk. You must prevent your flash disk from a writing process. In this opportunity, I’ll share you a simple script to make a write protection process. The script is as follow:
@echo off
title ::Flash Write Protector:: by, linggis !
goto SETPASSWORD
:MULAI
cls
msg * /time:1 ::Write Protector:: Code by, www.linggis.co.cc
:PASSWORD
cls
color 01
msg * /w Klik OK lalu masukkan password
set/p "pswd=±±±±±"
if %pswd%==%pass% goto PILIHAN
goto PASSWORD
:PILIHAN
cls
color 0a
echo ±±Flash Write Protector±±
echo.
echo.
echo ±±±±± SILAKAN PILIH: ±±±±±
echo ±±±±±±±±±± [1] Write Protect ON ±±±±±±±±±±
echo ±±±±± [2] Write Protect OFF ±±±±±
echo.
set/p "pil=Masukkan No. Pilihan:>"
if %pil%==1 goto protect
if %pil%==2 goto UNPROTECT
goto PILIHAN
exit
:PROTECT
cls
reg add HKLM\system\CurrentControlSet\Control\StorageDevicePolicies /v WriteProtect /t Reg_Dword /d 1 /f
pause
exit
goto pilihan
:SETPASSWORD
set "pass=linggis"
goto MULAI
Write the script above into a notepad editor and save it using *.bat extension (e. g. writeprotection.bat). You can put it on your local disk, and you must just to double click it to run the application. Don't forget to type "linggis" (without quotes") when you are asked to enter the password.
Please say thanks to someone who called “linggis”. He is the original author the code above.
One of many distribution ways of a virus is inject a flash disk automatically by copying himself from one computer to the other computer. And then the injected flash disk is connected to a fresh computer, and a virus moves from the flash disk and stay into thus fresh computer. This process happens in a recurrent method so there are more and more computers infected a virus. Actually, the main gate of this spreading process is located on the flash disk. You must prevent your flash disk from a writing process. In this opportunity, I’ll share you a simple script to make a write protection process. The script is as follow:
@echo off
title ::Flash Write Protector:: by, linggis !
goto SETPASSWORD
:MULAI
cls
msg * /time:1 ::Write Protector:: Code by, www.linggis.co.cc
:PASSWORD
cls
color 01
msg * /w Klik OK lalu masukkan password
set/p "pswd=±±±±±"
if %pswd%==%pass% goto PILIHAN
goto PASSWORD
:PILIHAN
cls
color 0a
echo ±±Flash Write Protector±±
echo.
echo.
echo ±±±±± SILAKAN PILIH: ±±±±±
echo ±±±±±±±±±± [1] Write Protect ON ±±±±±±±±±±
echo ±±±±± [2] Write Protect OFF ±±±±±
echo.
set/p "pil=Masukkan No. Pilihan:>"
if %pil%==1 goto protect
if %pil%==2 goto UNPROTECT
goto PILIHAN
exit
:PROTECT
cls
reg add HKLM\system\CurrentControlSet\Control\StorageDevicePolicies /v WriteProtect /t Reg_Dword /d 1 /f
pause
exit
goto pilihan
:SETPASSWORD
set "pass=linggis"
goto MULAI
Write the script above into a notepad editor and save it using *.bat extension (e. g. writeprotection.bat). You can put it on your local disk, and you must just to double click it to run the application. Don't forget to type "linggis" (without quotes") when you are asked to enter the password.
Please say thanks to someone who called “linggis”. He is the original author the code above.
linggis.co.cc not linggis.co.id
ReplyDeleteOK Sob...
ReplyDeleteMaaf, khilaf...
Ane ganti sob....
Makasih masukannya...