Introduction: Password VBScript Prank // Notepad Tricks

Picture of Password VBScript Prank // Notepad Tricks
Hello! Today I am going to show you how to create a password lock on any Windows computer! Just follow the short and simple instructions.

Step 1: What You Need

What you need - Notepad and A Windows Computer (Version 7 through 8.1 works)

Step 2: How To

Picture of How To

Open Notepad.

Copy and paste this code into Notepad.


dim speechobject

set speechobject=createobject("sapi.spvoice")

pw=inputbox("Enter your password.")

if pw="password" then msgbox ("Correct password.") else msgbox ("Incorrect.")

if pw="password" then msgbox ("This script was made by VB Scripting // Nick Smith") else speechobject.speak "Incorrect."

The password is, you guessed it, password. Just change the text "password" into whatever you want the password to be. Remember to keep the quotation marks around the text!

Step 3: Save It

Picture of Save It

Now all you have to do is save the file as passwordprank.vbs or something like that. You must save it as a .vbs file, or else it will not work. Do not save it as .txt!

Now open the file and have fun!

Step 4: Credits

Tutorial made by VB Scripting, working along with Nick Smith. Thanks to instructables.com for the quick and easy layout.

Comments

MsSweetSatisfaction (author)2015-01-26

Definitely some fun tricks, and pretty important given how much of our lives we keep on computers! Welcome to instructables!

Jammy39 (author)2015-09-05

Hey i created this REALLY cool fake virus

http://www.mediafire.com/download/u748tcuisulp6c9/TrojanyKeysy.gen

Its an EICAR file that says you got a virus but its fake so go and try it . #Prankyourbuddies

mahesh.charjan (author)2015-08-06

thanks for sharing this amazing tips ,for more such tips check http://streamingl.com/2015/01/5-cool-notepad-tricks/

amberrayh (author)2015-01-26

Oh, I get it. When they type an incorrect password the computer says "incorrect". Funny. Thanks for sharing. I didn't know you could program Windows through Notepad. That's cool!

About This Instructable

8,362views

21favorites

License:

More by VB Scripting:Talking Computer // Notepad TricksPassword VBScript Prank // Notepad Tricks
Add instructable to: