"This is very easy and helpful especially as I play in the cafe next door to a disposable flash must be used in computer servers comokin. So dangerous dong can be opened from other clients"
This will automatically ask for a password when the flash is inserted into a PC and if the password is incorrect, then the computer will shutdown automatically.Direct only.
1. Open Notepad(Here's how: Start>> All Programs>> Accessories>> Notepad or enter in RUN and type notepaddan Enter) and then copy and paste the script code below into notepad
on error goto 0dim s, quest, sd, m, winpath, fsset sd = CreateObject ("Wscript.shell")set fs = CreateObject ("Scripting.FileSystemObject")set winpath = fs.getspecialfolder (0)set s = wscript.createobject ("wscript.shell")do while loop quest = ""quest = InputBox ("Enter a PASSWORD, if you are wrong in entering the password, the computer will ShutDown !!!"," http://pedasmaniscinta.blogspot.com")if quest = "" thenm = MsgBox ("Sorry you have not entered a password ...!", 0 0 48," http://pedasmaniscinta.blogspot.com ")end ifloopif quest = "WRITE PASSWORD HERE 'thens.run "shutdown-a"sd.run winpath & "\ explorer.exe / e, / select," & Wscript.ScriptFullnameelses.run "shutdown-s-t 0"end if
WRITE HERE PASSWORD altered to your liking, it is as a place of your password. Use capital letters are very influential. I suggest using numbers that have been remembered by rote.then save as the name with "passwordlock.vbs" without the quotes, before the save as sure to select all files.
2. after finishing the above.then open Notepad again, to automatic settings after the flash inserted in a PC.copy and paste the script code below into notepad.
[Autorun]shellexecute = wscript.exe passwordlock.vbsaction = FLASHDISK CODE HAS BEEN COMPLETED
you can change the word "FLASHDISK HAS COMPLETED CODE" according to the words of your own desires pearls.after that do storage as the first file, but on the File name write "autorun.inf" without quotes, before the save as sure to select all files.
Then move the two files that you created earlier (autorun.inf and passwordlock.vbs) into your flash.
last step please hidden autorun.inf and passwordlock.vbs have been made earlier.How hidden: right click on each passwordlock.vbs autorun.inf and then select Properties check box on the sign hidden. completed. . . .
{ 0 komentar... read them below or add one }
Posting Komentar
terima kasih telah berkunjung sobat.
Silahkan komentar,kritik dan sarannya
setidaknya tegur sapa.heheh