Thursday, 5 January 2012

Create a Fake Virus using Notepad!

There are times where you would want to fool your friend by having a virus in your computer, but actually, it’s just a regular message box. Well, you’re able to do it, using a small code in Notepad that can make it all happen. This is what your final result should be :

Here’s the steps on creating a fake error message box. First off, open Notepad and type this code in:

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

This code is basically telling the computer that when the following script is opened, it will display a fake error message box with the title as “Title” and the description as “Message Description”. But those 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! So 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 (In above image the description is “you have a virus. iNiyant has killed your computer. Your welcome” )
0+16: 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) & 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) & here is the meaning of each number:

16 – Critical Icon
32 – Warning Icon
48 – Warning Message Icon
64 – Information Icon
Title: you can write any title (in above image the title is “Virus Detected”)

To create multiple Message Boxes, just duplicate the line so that it could end up to something like this in the message:
X=MsgBox("Message Description",0+16,"Title") X=MsgBox("Message Description",0+16,"Title")

Now at the end you are going to go to ‘Save As’ and here’s the important step. The file-type should be set to ‘All types’ and the extension of your filename should be .VBS. For example, “Fake virus.vbs”. Once you save it, open it up and you should get your message box opened up. But i would not call this a really successful prank because changing the icon of the shortcut is rather difficult while you will need to get third-party programs and edit it from there itself. The following was done in Windows 7 Ultimate and will also work in Windows XP and Windows Vista.
That’s all there is to it!

(If you have any issue or suggestion please comment bellow)


  1. I think the admin of this web site is in fact working hard in
    favor of his website, since here every material is quality
    based information.
    Also see my site: diet plans that work

  2. It's nearly impossible to find well-informed people about this topic, but you sound like
    you know what you're talking about! Thanks

    Also visit my page: Single In Austin Texas

  3. You could also do cross mailings, lawn sign exchanges, newspaper co-ops, etc.
    These loans can be fixed rate, ARM or even a line of credit.
    Bad credit motorcycle loans even supply financing for custom choppers and motorcycles.

    My homepage ... prestamo

  4. Thanks for sharing such a nice thinking, paragraph is pleasant, thats why i have read it entirely

    Feel free to surf to my blog post; house sitting rates

  5. What a material of un-ambiguity and preserveness of valuable
    familiarity on the topic of unpredicted emotions.

    Also visit my weblog: was hilft gegen akne

  6. Thank you for the good writeup. It in fact was a
    amusement account it. Look advanced to more added agreeable from you!
    However, how could we communicate?

    My homepage ... personal injury lawyers & firms ottawa on

  7. Most importantly unlike other failed methods on-line there is no affiliate marketing concerned!

    What's a smartphone without high-speed Web? The formal App Shop has thousands of Iphone programs to provide.

    My blog post download kik

  8. However, if you want to avoid the questions and the worry that come with an evaporation line on a pregnancy test, read the instructions and discard your
    test immediately after checking the results. The early pregnancy test
    is 99 % accurate and no other home pregnancy test can be used any sooner.
    In any situation, the final determination is
    definitely yours. I am Williamjonas,as professional blogger for online marketing at clicksnm.
    This entails getting drugs that will help stimulate
    your ovulation for example; Clomid, or a shot of HCG (to stimulate your ovaries further).
    The HCG Diet plan or Human Chorionic Gonadotropin diet plan assists in bodyweight loss
    up to a pound a day or even a lot more than that.

    He then went on to explain that he had decided do to health concerns,
    to drop some weight quickly, and had heard from a friend that this HCG Diet was the real deal.
    In this period urine test can tell whether a woman is pregnant or not.
    One breadstick (grissino) a treadmill Melba toast (Wasa
    Bread can also be acceptable). For the very best results,
    I really recommend you don't cheat, but if you have to, then try to keep it within the diet.

    my website: best hcg drops 2012

  9. Pretty great post. I simply stumbled upon your blog and wished to say that I have really enjoyed browsing
    your blog posts. In any case I will be subscribing in your
    feed and I hope you write again soon!

    Here is my web site - where to find audio books


comment here....