How to Create Amazing Fake Virus Messages with Notepad

Last update: 28/07/2025
Author Isaac
  • A fake virus message can surprise by simulating errors, without causing real harm.
  • VBScript and batch files allow you to customize the joke to suit the target user.
  • Responsible use and pre-testing of the script are key to a safe joke.

Hoax virus

Playing pranks on friends and family is part of digital culture, and Fake virus messages created with Notepad They remain one of the most original ways to surprise (or scare) anyone. It's no longer just about sending memes or suspicious links: trolling has evolved, and people are increasingly looking for more elaborate experiences that provoke an unexpected reaction. Here, we'll teach you everything you need to know to create your own fake virus message. Windows and, above all, how to do it safely and fun.

Preparing a digital virus-like prank requires a certain amount of creativity and the use of tools available to everyone, such as Notepad. Although it may seem somewhat complex, creating a fake virus to play pranks is quite simple. If you follow the right steps and rely on languages and commands Suitable for simulating error messages or pop-ups. Always do so responsibly and make sure it's not malicious code!

What is a fake virus message in Notepad?

The main idea of this joke is simulate a threat on the victim's computer so that they believe their system is compromised, when in reality it's all a controlled illusion. No actual files are modified or deleted; error messages, warnings, or even a command prompt are displayed as if you were performing dangerous tasks.

The key is that the system is NOT damaged in any way; the intention is catch the user off guard Using the appearance of a real virus or system failure, but without any real risks. Using Notepad and languages like VBScript or batch (.bat) files, you can create pop-ups, error sounds, and visual effects that make the prank completely believable.

Tools needed to create your fake virus

  • Notepad: The simplest and most universal Windows tool for writing and saving scripts.
  • .vbs and .bat extensions: The most common languages for executing commands and displaying fake error messages.
  • Optional: Custom icons to give a more realistic touch to the shortcut that victims expect to find.
  6 Best Car Software

In many cases, you will work primarily with VBScript and batch files, since both allow you to interact with the system by displaying windows, performing small simulations or deceiving the user with very convincing alert messages.

Step by Step: How to Create a Fake Virus Message

  1. Open Notepad: Simply search for 'Notepad' in the start menu, or use the combination Windows + R and type 'notepad' to quickly open it.
  2. Enter the codeCopy and paste the script that simulates the fake virus. Here's a VBScript example that displays various warning messages and simulates dangerous processes, but is completely harmless:
    Set WshShell = WScript.CreateObject("WScript.Shell")
    strName = wshShell.ExpandEnvironmentStrings("%USERNAME%")
    x=msgbox ("Crítico: Tu sistema está gravemente afectado por múltiples amenazas. Para abortar todos los procesos, pulsa 'Anular'. Para volver a escanear, pulsa 'Reintentar'. Para continuar con todos los procesos, pulsa 'Omitir'.", 2+16, "Virus encontrado por Windows Defender©")
    WScript.sleep 2000
    msgbox "Fallo del sistema en %WINDIR%",48,ERROR
    WshShell.Run "cmd"
    WScript.sleep 200
    wshshell.sendkeys "cls"
    ... (el código continúa y puede personalizarse) ...
    msgbox "Solo estaba bromeando - ¡No te asustes! :)"
    

    You can modify the messages or sounds to suit the victim's personality.Remember, the more personalized the message, the more believable the joke will be.

  3. Save the file with the .vbs extension: Choose the "Save As" option and select "All Files." Enter the name you prefer and end with .vbs (for example, fakevirus.vbs). Select the encoding ANSI to avoid compatibility errors.
  4. Create a custom shortcutRight-click on the desktop, choose "New," then "Shortcut." Find the .vbs file you saved and choose a catchy name. If you like, change the icon in the shortcut's properties to make it even more appealing.
  5. Test the joke before sending itIt's essential to make sure the fake virus behaves as you expect and doesn't generate any errors. Test the file on your own computer or, better yet, on a virtual machine to avoid any unnecessary scares.

What happens when the victim runs the fake virus?

When the friend or family member clicks the shortcut, they will be flooded with Warning messages, system errors, or commands that seem dangerous, such as deleting files or cleaning the system. However, nothing on the computer is deleted or modified at any time.

Some scripts even simulate the use of the command console (cmd), displaying phrases like "Erasing C drive," "Deleting users," or directory references, accompanied by pauses and error sounds. The experience ends with a message revealing the joke, restoring peace of mind... or provoking a laugh.

Tips to personalize and improve the joke

  • Edit the content of the text: You can change messages, titles, or even message buttons to make them scarier, funnier, or more tailored to a specific situation.
  • Add or remove featuresIf you want to make the joke shorter or more theatrical, you can delete lines of code or duplicate them so that the message appears multiple times.
  • If you have experience, You can combine batch (.bat) and VBScript commands to create even more surprising effects, such as opening and closing windows, changing the color of the console, or making 'annoying' sounds.

Useful tips and commands for your .bat files

If you want to explore the possibilities of batch (.bat) files, here is a list of common commands:

  • OFF: Hides commands, but displays output on the console.
  • @ Echo: Displays custom text as output.
  • color A: : Change the color of the console (e.g. green to give a 'hacker' look).
  • pause: Suspends execution until any key is pressed.
  • timeout /t : Adds a countdown before the next command.
  • class: Clear the console screen.
  • > null: Runs a command and hides the output.

use these Tricks so that the false message is more realistic and surprising.

Important warnings and good practices

  • Do not use these scripts to harm other people's computers or data.. Its sole purpose should be entertainment and joking among friends.
  • If the user gets scared, quickly explains that it's all a simulation and that the system is intact.
  • Always test your code first in a controlled environment before sharing.
  • To stop the fake virus, you can terminate the 'wscript.exe' process from the Task Manager (Ctrl+Alt+Del > Processes).
  • Modifying code without knowing can lead to unexpected errors; always check each line before adding new features.
  • Do not use the joke in the work environment or on computers containing sensitive information.Make sure the victim is open to these kinds of surprises.

How to make the error message imply realism

A very simple trick to make the joke even more shocking is duplicate the line of code that displays the error message. So, once the supposed "victim" closes the first window, a second one will appear, and then a third, or as many as you want. This creates the effect that the problem doesn't go away and creates a greater element of surprise.

Recommended do not abuse the number of pop-ups to keep the fun going and prevent the joke from becoming annoying or frustrating.

Can you create a fake virus prank on any version of Windows?

Of course! Both VBScript as batch files They work on most modern versions of Windows, from Windows XP to Windows 10 and 11. You don't need to install any additional programs; you just need access to Notepad and permissions to run scripts. Just make sure to save the file correctly with the appropriate extension (.vbs or .bat) and select ANSI encoding to avoid issues with special characters.

Ideas to give realism and creativity to your surprise message

  • Customize usernames using variables like %USERNAME%.
  • Imitates known error messages (Windows Defender, disk cleanup, etc.)
  • Use warning sounds and bright colors on the console.
  • Change the shortcut icon to that of a regular app or mysterious folder.
  • Add pauses and window movements to make the joke more theatrical.

The more details you tailor to the victim's profile, the more effective and memorable the result will be.

prank virus
Related article:
Complete guide to making fake virus jokes using Notepad
  How to Fix Error 0xc0000098 on Windows

Leave a comment