The Haunted CD Rom Drive by Diab0l1cal
IMG_0441.JPG
Greetings Programs!

This Instructable will show you how to write a VB (Visual Basic) Script that will open and close a persons CD/DVD Drive at random intervals.



Disclaimer:

1) This script runs best on Windows XP (Perfect for the office!), but Vista and 7 have the security checking software that will ask for permission for a script to run.
2) The script also works best on desktop computers, as the close command will not work on a drive without a motor in it.
3) There is no malicious code in the script, but I hold no responsibility for what could happen if it gets changed from the original code sample.

 
Remove these adsRemove these ads by Signing Up

Step 1: Locate A Target

IMG_0441.JPG
Choosing the people you wish to prank:

1) If you work for an IT Department this will be easy, as you can really just set anyone up to be pranked at your will, and wait for the calls to come in.
2) If you don't work in an IT Department, choose someone who would be unaware of tampering to their computer.
3) Try not to pick anyone with too much seniority as I cannot guarantee that they wont be angry about you messing with their computer.

draconis537 says: Mar 1, 2011. 1:14 PM
could you maybe post an overall example for us noobies? sorry to waste your time.
bryan1998 says: Nov 3, 2010. 9:29 PM
On his birthday!
bryan1998 says: Nov 3, 2010. 9:28 PM
LOL!! Ok, i'm gonna do this to my dad!
xeon_hl2 says: Oct 8, 2010. 5:21 PM
it is normal that the script use 50% CPU.
is there a way to make it use less CPU power
so it's not noticeable?
xeon_hl2 says: Oct 8, 2010. 3:30 PM
i have to try this with my friend's PCs
thanks
SWANKIM says: Apr 7, 2010. 4:43 AM
Welcome.BTW..how does one make it open severally.as in a given time frame.or just explain the time part
Diab0l1cal (author) says: Apr 7, 2010. 7:10 AM
The way it generates the amount of times it opens is configured statically below.

Dim theRandom
Dim count
' Randomize a number then turn it into minutes
while (count < 3)  The number 3 is how many times it will open,
                                if you change that number it will run the open more times

    theRandom = RandomValue()
    Pause (theRandom * 60)
    OpenCDRom
    count = count + 1
wend


Function RandomValue()
    dim theRandom
    dim ubound
    dim lbound
    ubound = 99  The ubound and lbound are (in minutes) how long it will take
    lbound = 20    randomly for the drive to open (ubound has to be higher)

If you need anything else let me know!

SWANKIM says: Jun 3, 2010. 7:17 AM
AIT mayn thanks again
computer_guy says: May 13, 2010. 5:30 PM
 i dont quite understand this. could you simply upload the script for people to download?
SWANKIM says: Mar 27, 2010. 2:33 AM
This is exactly what i've been waiting for....
Diab0l1cal (author) says: Mar 27, 2010. 7:16 AM
 I'm glad I could help :)
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!