Introduction: The Fake Virus [Prank]

Picture of The Fake Virus [Prank]

Today we're going to make a fake virus to prank friends! When the user inserts a pen drive into his PC, he gets fake popup messages!

Step 1: What Do You Need

Picture of What Do You Need

1) A Windows PC (Any)

2) A Pen Drive/Flash Drive

Step 2: The Concept

Picture of The Concept

We will use a Batch file here. As the user inserts his pen drive, the batch file will automatically run and play pranks with the user :D

He will get scary messages like Deleting My Documents, My Photos, Formatting C:\ Drive, Deleting Boot loader

Step 3: The Code

Picture of The Code

1) First open notepad and write the code-

@ECHO off

msg * Deleting Library: My Documents

msg * Unistalling System Games

msg * Deleting Library: My Documents

msg * Deleting Library: My Documents

msg * Disabiling Antivirus

msg * Deleting C:\Windows

msg * Formatting C:\

msg * Deleting Bootloader

msg * Deleting Disk

Now save the file with a (.BAT) exention

Step 4: Testing the Virus

Picture of Testing the Virus

Lets test the program. Just open Virus.bat and test it!

You'll see these scary popups! Now

Step 5: Adding Into Pen Drive

Picture of Adding Into Pen Drive

Now just copy the file into pen drive and make your friend run game.bat file (Rename it)

Step 6: Have Fun Hacking!

Picture of Have Fun Hacking!

Have fun scaring your friends!


I'm a 16 year old embedded developer, working with MIT Media Labs India Initiative. I work in various technologies like ARM, AVR, Arduino and Raspberry Pi.

You can find about me here:


KNEXnCoding (author)2015-04-25

Now, how could I do this on Mac? Do you know?

ɅܠΞܛ (author)KNEXnCoding2017-01-18

Well, batch is only supported on windows related computers, so you will have to find a program substitute

bluepheonix (author)2016-02-10

lol this will terrify my bro..... does it work on rasberry pi?

bluepheonix (author)2016-02-10

lol this will terrify my bro..... does it work on rasberry pi?

ColeKM3 (author)2015-04-24

It's Awesome! But when I try to open, it doesnt work. A Command Prompt window opens then it dissapears. Im running Win 8.1. Any suggestions? I saved it as virus.bat

seamster (author)2015-04-13

So mean! :)

This won't cause any actual damage though, right?

fgw666 (author)seamster2015-04-19

No, it won't it's just a notepad program to show messages that you make.

About This Instructable




More by ssarthak598:DIY Smart Home Monitoring BottleArduino Video Game (The DIY Gift)Is My Fridge Door Open?!
Add instructable to: