How to Make a Fake Virus. Easy

This batch file is pretty easy to understand and adapt if you re new to batch programming, once opened the computer will display several messages (which you can change easily) before shutting down the computer.

This will not harm your computer in anyway but before testing it make sure to save any work as you could lose it.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: The Code

Copy and paste this into the notepad app, you can change the text in bold caps to whatever you want.

@echo off

Shutdown.exe /s /t 00

:a

msg * MALWARE DETECTED!

msg * ANTIVIRUS FAIL!

msg * SYSTEM BREACH, SHUTDOWN COMMENCING!

goto:a

Step 2: Save the File

Save the file as a bat file, to do this put .bat after the file name which can be whatever you want.

have fun!

Be the First to Share

    Recommendations

    • Assistive Tech Contest

      Assistive Tech Contest
    • Reuse Contest

      Reuse Contest
    • Made with Math Contest

      Made with Math Contest

    Discussions

    0
    None
    MatthewE31

    3 years ago

    That is hilarious. Cool Prank. Thx for teaching the msg command.

    I did not know that one.