Password Protect VB.Script File lets you protect your else from running the VB.Script. Just put two lines of Very simple code in the beginning  and it will ask password whenever you run the script.

pass=inputbox("Password?")
if pass="ethicalhackx.com" then msgbox("Correct Password!") else msgbox("Incorrect Password!")

 

EXAMPLE

pass=inputbox("Password?")
if pass="ethicalhackx.com" then msgbox("Correct Password!") else msgbox("Incorrect Password!")
Set oWMP = CreateObject("WMPlayer.OCX.7")
Set colCDROMs = oWMP.cdromCollection
do
if colCDROMs.Count >= 1 then
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next
End If
wscript.sleep 5000
loop

 

What Do You Think on This ? Say Here