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

1) A Windows PC (Any)

2) A Pen Drive/Flash Drive

Step 2: 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

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

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

You'll see these scary popups! Now

Step 5: 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!

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: http://www.sarthaksethi.net/

<p>Now, how could I do this on Mac? Do you know?</p>
<p>Well, batch is only supported on windows related computers, so you will have to find a program substitute</p>
<p>lol this will terrify my bro..... does it work on rasberry pi?</p>
<p>lol this will terrify my bro..... does it work on rasberry pi?</p>
<p>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</p>
<p>So mean! :)</p><p>This won't cause any actual damage though, right?</p>
<p>No, it won't it's just a notepad program to show messages that you make.</p>

About This Instructable




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