How to make a fake virus

Sometimes you just want to have fun with your friends. There are many computer pranks but here is one awesome trick to showoff  your friends that you’ve created a virus or you’ve virus in your computer ! Yes, that’s possible. Actually it’s just a regular message box, and not a real virus. So before we start, take a look at this final result :


It looks like a real virus, isn’t it awesome ?

Let’s start, open your Notepad and type this code :

X=MsgBox("Message Description",0+16,"Title")

Now save it as .vbs  files, make sure you select All types and the extension of your filename should be “.vbs”. for example, Game.vbs or My Computer.vbs.

Once you save it, open it up and you should get the pop-up message box.

This basic code tells the computer that when the following file is opened, it will display a fake error message box with the title as “Title” and the description as “Message Description“. But that can be changed so if you want to type a different title or description, go ahead.

This is a Visual Basic Code, which means you are able to type in Visual Basic Scripts using Notepad.

Anyways, the numbers in that code can be changed. Let me explain you the code:

X=MsgBox("Message Description",0+16,"Title")


Message Description: Write some warning message you want to display

Title: you can write any title (in above image the title is “Virus Detected”).

The numbers: In above image 0+16 is used. Well, it is a combination of two different codes. You can write any numbers from 0,1,2,3,4 instead of 0 (before the ‘+’ symbol) and here is the meaning of each number:

0 = Ok Button
1 = Ok/Cancel Button
2 = Abort/Retry/Ignore button
3 = Yes/No/Cancel
4 = Yes/No

You can write any numbers from 16,32,48,64 instead of 16 (after the  ‘+’ symbol) and here is the meaning of each number:

16 – Critical Icon
32 – Warning Icon
48 – Warning Message Icon
64 – Information Icon

Now, if you want to create multiple Message Boxes, simply duplicate the line as shown below :

X=MsgBox(“Message Description”,0+16,”Title”)

X=MsgBox(“Message Description”,0+16,”Title”)

So this will display the message pop-up two times ! It’s really easy!!!!


How to make a prank shutdown virus

Ever wonder what new prank you could come up with to make your little sister go crazy? Here’s a simple, yet very effective one. Just switch one of your desktop icons (i.e. Internet Explorer) with a fake one and a warning box will pop-up which will shut down your computer within 30 seconds. Isn’t that enough to make lil’ sister yell when she sees her Barbie doll game go bye-bye? Here’s how it works:

This isn’t really a virus … its simply a shutdown program which will make your friends freak out.

First, you will need to create a shortcut. You can create a shortcut by right-clicking on your desktop and selecting New, and then, Shortcut.

A Create Shortcut box should then open. In that box, write the following:

shutdown -s -t 30 -c “VIRUS DETECTED!!”

(note: the number 30 can be replaced by any other number. That number corresponds to the number of seconds before the computer will shutdown. Here I have chosen 30 in order to have enough time to close it before my computer shuts down. Also, the message between quotes can be replaced by something like “YOU HAVE BEEN INFECTED BY A TROJAN VIRUS” or some other great idea. However, the message must be between quotes.)

After, simply click on Next and a box with the name Shutdown will appear. Change the name that you want for it. In this case I have chosen Internet Explorer but it can always be renamed how you prefer.

After naming it, click on Finish and … here’s your shutdown virus!!!! Not very convincing he? Well, in that case let’s change our icon!

Right-click on your shutdown Internet Explorer icon (or whichever name you gave it) and select Properties.

Select Change Icon

(Note: A box saying “system 32 does not have any icons choose from a diffrent list” or something like that may pop-up; if it does simply click on Ok)

Now… it depends on what you have named your shutdown virus … If you chose Internet Explorer scroll all the way to the right and you will find the icon. If you did not choose Internet Explorer feel free to choose a different icon… Remember it has to be something that people will click on.

Now Heres our Icon … Now it looks like something that people will click on.

To close the program, select the start menu and click on Run…

Write: Shutdown -a

and the program should shutdown immediately.

(Note: To shut it, you can also do a new shortcut but instead of writing shutdown -s -t 30 -c “VIRUS DETECTED” write this: shutdown -a

and call it Shutdown abort..So instead of closing it with Run you can just click on your shutdown abort shortcut.)

Have fun freaking out your friends/family … And dont forget to close it or put a longer time frame so that you will have enough time to close it.

WARNING: This program will really shutdown your computer. It may be fun to do it to little sisters or friends but refrain from using it if someone is actually working on the computer, since they will lose all their information.


%d bloggers like this: