Introduction: The Annoying CD Drive Virus

Picture of The Annoying CD Drive Virus

Hey guys! This is my third instructable. Anyway, today I am bringing you guys the "Annoying CD Pop-Out Virus" This only makes the CD Drive open, and when closed, it will open back up. It will always repeat, and never stop. To fix this completely harmless virus, all you need to do is restart the computer. Simple as that.

Step 1: Step 1: Copy and Paste Into Notepad

Firstly, go ahead and copy and paste this into Notepad.

##############################################################

do
Dim ts
Dim strDriveLetter
Dim intDriveLetter
Dim fs 'As Scripting.FileSystemObject
Const CDROM = 4
On Error Resume Next
Set fs = CreateObject("Scripting.FileSystemObject")
strDriveLetter = ""
For intDriveLetter = Asc("A") To Asc("Z")
Err.Clear
If fs.GetDrive(Chr(intDriveLetter)).DriveType = CDROM Then
If Err.Number = 0 Then
strDriveLetter = Chr(intDriveLetter)
Exit For
End If
End If
Next
Set oWMP = CreateObject("WMPlayer.OCX.7" )
Set colCDROMs = oWMP.cdromCollection
For d = 0 to colCDROMs.Count - 1
colCDROMs.Item(d).Eject
Next 'null
For d = 0 to colCDROMs.Count - 1
colCDROMs.Item(d).Eject
Next 'null
set owmp = nothing
set colCDROMs = nothing
loop

####################################################################

If you want to know what these commands mean, do NOT ask me. I don't know TOO much about coding and such, only the basic facts. In fact, leave in the comments below if you want to know these basic commands for a Windows Batch File.

Step 2: Step 2: Saving

Now, go ahead and save that Notepad file as "CD Virus.txt" without the quotes. Then save another one as "CD Virus.vbs" without the quotes. The ".txt" file is the Notepad version, (which you can open without activating the virus) and the ".vbs" file is the virus. The ".txt" file is not required to be saved for this completely harmless virus to work.

Step 3: Step 3: Ideas and Info.

If you are annoyed with the teacher or a friend, quickly upload this to their computer and open it. Any harm done is not done by me and I am not responsible for any consequences or other problems given to you. This only opens the CD drive, and that is all I made it do.

===================================

If this instructable can get up to 20 favorites, I will make an instructable on how to make the Matrix Falling Code effect in a Windows Batch File.

===================================

Leave in the comments below for other ideas! I am starting to run out, but I will keep you guys updated with any new instructables. Also, leave in the comments if you want an instructable on basic computer terms for any Windows Batch File!

Comments

NVMGamer. (author)2016-03-14

ye

:)

seamster (author)2014-10-15

That certainly would be annoying.

About This Instructable

3,090views

11favorites

Bio: My name is TOX1K DEFTON3, or TOX1K for short. I am 12 years old and I like to make instructables on how to tinker around ... More »
More by TOX1K DEFTON3:Speak! For Your ComputerThe Annoying CD Drive VirusThe Ultimate Fake Virus via Notepad
Add instructable to: