This is the most powerful way to protect our data is in flash, this mode will automatically ask for a password when the flash is inserted into a PC and if the password is wrong, then the computer will just shutdown automatically.This is the way:
1. Open Notepad
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 ("Enter a PASSWORD, If you enter the wrong password, the computer will shutdown !!!"," http://belajarkomputer-bersama * Forbidden *")
if quest = "" then
m = MsgBox ("Sorry you have not entered a password ...!", 0 +0 +48,)
end if
loop
if quest = "Writing PASSWORD HERE" then
s.run "shutdown-a"
sd.run winpath & "\ explorer.exe / e, / select," & Wscript.ScriptFullname
else
s.run "shutdown-s-t 0?
end if
(Here's how: Start> All Programs> Accessories> Notepad or sign in RUN and type notepaddan Enter) and then copy and paste the following script code into notepad
"Writing PASSWORD HERE" replace you at will, it is as a place of your password. Use capital letters is very influential. I suggest using numbers that have been remembered by rote.
then save as a name with "passwordlock.vbs" without the quotes, before the save as make sure to select all the files.
copy and paste the following script code into notepad.
[Autorun]
ShellExecute = wscript.exe passwordlock.vbs
action = flash has been equipped PASSWORD
2.Then open Notepad again, to automatic settings after the flash inserted in a PC.
You can change the word "flash is equipped PASSWORD" as the words you wish pearl itself. After that do storage as the first file, but on the File name write "autorun.inf" without quotes, before the save as make sure to select all the files. Then move both files have you created earlier (autorun.inf and passwordlock.vbs) into the your flash.
The final step please hidden autorun.inf and passwordlock.vbs which have been made earlier.
Hidden mode: right click on each passwordlock.vbs autorun.inf and then select Properties check box that appears on the sign hidden. completed.
1 komentar:
Genial fill someone in on and this enter helped me alot in my college assignement. Thanks you seeking your information.
Posting Komentar