3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

The Haunted CD Rom Drive

The Haunted CD Rom Drive
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 1Locate A Target

Locate A Target
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.

« Previous StepDownload PDFView All StepsNext Step »
11 comments
Mar 1, 2011. 1:14 PMdraconis537 says:
could you maybe post an overall example for us noobies? sorry to waste your time.
Nov 3, 2010. 9:29 PMbryan1998 says:
On his birthday!
Nov 3, 2010. 9:28 PMbryan1998 says:
LOL!! Ok, i'm gonna do this to my dad!
Oct 8, 2010. 5:21 PMxeon_hl2 says:
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?
Oct 8, 2010. 3:30 PMxeon_hl2 says:
i have to try this with my friend's PCs
thanks
Apr 7, 2010. 4:43 AMSWANKIM says:
Welcome.BTW..how does one make it open severally.as in a given time frame.or just explain the time part
Jun 3, 2010. 7:17 AMSWANKIM says:
AIT mayn thanks again
May 13, 2010. 5:30 PMcomputer_guy says:
 i dont quite understand this. could you simply upload the script for people to download?
Mar 27, 2010. 2:33 AMSWANKIM says:
This is exactly what i've been waiting for....

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
1
Followers
1
Author:Diab0l1cal