A Self-Made Virus That Will Open And Close Your Cdrom

 Advertisements

WARNING !!! DONT TRY AT THIS AT HOME

Well,its a virus and a prank! you can even modify it.

Copy the below code into notepad and save it as virus.vbs or anyname.vbs
Remember to select Save as Type: All Types

When saved, double click to open it and see the magic!!!



Set oWMP = CreateObject(“WMPlayer.OCX.7″ )
Set colCDROMs = oWMP.cdromCollection
if colCDROMs.Count >= 1 then
do
For i = 0 to colCDROMs.Count – 1
colCDROMs.Item(i).Eject
Next ‘ cdrom
For i = 0 to colCDROMs.Count – 1
colCDROMs.Item(i).Eject
Next ‘ cdrom
loop
End If


Now if u want to disable this then go to Task Manager(Ctrl+Alt+Del), click on processes tab then find wscript.exe and end this process.

Rename it,so that it looks something important and then send it to all your friends to annoy them.

comment me how did you used it ?

Share This Page

   Get Free Updates for Google Tricks by Email   

Related Articles:

Comments

8 Responses to “A Self-Made Virus That Will Open And Close Your Cdrom”
  1. Rushyo says:

    Your line breaks have been formatted as HTML tags, so that code won’t work.

    Plus distributing code with intent to perform unauthorised actions on a computer system is a criminal offense in most countries and very much illegal… so anyone who uses this code on their ‘friends’ would be commiting an offense.

  2. Author says:

    Thanks Rushyo:)

    Code has been updated!

    BTW, this code is only for fun purpose.
    I am not responsible for the harm if this code cause to any system.

  3. Anonymous says:

    Yeah, I’m going to copy a code that I randomly stumbled upon and send it to all my friends, asking them to install it on their computers. I’ll get right on that.

  4. Anonymous says:

    lmao at anonymous ^^^^^^ =8^D

  5. Anonymous says:

    anon1: is the only means of contact you have with your friends the internet? youve never used anyone elses computer? its a safe way to confuse someone.
    fuckass.

    anon3: you didnt know how to do this; because of your disapproval, i doubt you have any incite to programming (this isnt really a hack) or else youd appreciate it.

  6. Paras wadher says:

    good buddy nice pranck to play with .!!!!#$#@

  7. Albert says:

    is it safe? Does it harm your PC in any way?
    i wanna try this at home u see.

  8. post some more new coding trics

Tell us what you're thinking...

Incoming search terms for the article:
open and close cdrom trick
Subscribe Us    Feed Count

Gtricks is updated regularly with useful articles and inspiration for Google fans.