Pages

Subscribe:

Ads 468x60px

04/01/12

Create a Password for flash

How to create a password for the flash so that when later we entered the flash can not be opened automatically but must enter a password or code that we have created, please follow the steps - the steps below:

1. First create the file on your flahdisk myflash.vbs name (can use Notepad)
2. Enter the code in red below on the file myflash.vbs


on error goto 0
dim s,quest,sd,m,winpath,fs
set sd=createobject("Wscript.shell")
set fs=createobject("Scripting.FileSystemObject")
set winpath=fs.getspecialfolder(0)
set s=wscript.createobject("wscript.shell")
do while quest=""
quest=inputbox("Please enter your password or computer will automatically turn off! "," ")
if quest="" then
m=MsgBox("Please enter your password ..", 0+0+48, " ")
end if
loop
if quest="password" then
s.run "shutdown -a"
sd.run winpath & "\explorer.exe /e,/select, " & Wscript.ScriptFullname
else
s.run "shutdown -s -t 0"
end if

3. Change the blue text with a password that you want,
4. Create another new file with the name autorun.inf
5. Enter the code below to the autorun.inf
 

[Autorun]
shellexecute=wscript.exe aolih.vbs
action=My flash
label= this my flash not your Flash

6. Change in Green writing with words - words of your own if you want to use other words

Maybe this is it, please try ...
  

Related Posts



0 comments:

Posting Komentar