As internet and computer becomes prime source of our daily life, Virus becomes most dangerous enemy of us. Virus affect our computer and it’s data that doesn’t means nobody is getting benefit from it, If you think then you are wrong. Virus can be created by bad hackers for many purpose like stealing, blasting etc depending on their requirement or their customer requirements. Hackers create virus after getting target information so that they can exploit their computer easily.
There are many ways to create virus for any computer depending upon computer or it’s OS or It’s Software vulnerabilities and I am gonna teach you few common ways to create virus that can be most dangerous for victim using notepad on Windows but Before starting and learning this trick please note that this article is only for educational purpose, We are not responsible for any kind of illegal activity.
How to Create Virus for Windows Computer
Many of you will think, methods must be on coding but there is nothing like that. The tricks are based on notepad. Just follow the steps bellow to create virus within few seconds.
1. Creating a Dangerous Virus
First of all, in your Windows OS, open the notepad.
Now copy and paste the below code in your notepad screen.
Del C: *.* |y
Now save this file as virus.bat (you can select any of random name but .bat after that must be there).
Now running file will delete C drive completely, and operating system of respective computer will get corrupted.
Note: This method is only for knowledge purpose. Don’t 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
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 given code and simply save 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 Someone’s 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 anyone’s internet access. You need to type
the following code in the notepad.
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 won’t be able to fix it.
Well, if you want to fix it. Simply type in IPconfig /renew
5. Creating a Matrix Type screen
Well, it’s 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 %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
Now save the file as Matrix.bat, and click on it and the show begins.
These are the common ways to create virus that can be used on the victim computer. I hope you like this article to create virus for windows computer and Please do comments on the comment section below if you have any query or if you know the others methods. Please do share with your friends on social media like Facebook, LinkedIn, Twitter or other.