How to Create a Harmless Computer Virus Prank

How to create an awesome computer Virus prank, this is harmless and does not affect anything, this is the secure way to create a prank virus with simple coding in the notepad.


Step 1: Getting Started

Open a new text document to write these lines

you can modify the message, the title and the appearance as you like.

Step 2: Coding

x=MsgBox("Error while opening My Computer. Do you want to fix it?",4+64,"My Computer")

x=MsgBox("Unable to fix this error. do you want to san your Computer?",3+48,"Computer scan")

x=MsgBox("Alert! Virus has been detected. Do you want to delete this virus?",3+16,"Alert")

x=MsgBox("Unable to delete this virus",1+64,"Critical Error")

x=MsgBox("Virus is Activated",2+16,"Virus Alert")

x=MsgBox("Deleting System Files..",2+16,"WARNING")

x=MsgBox("copying users password..",2+48,"WARNING")

x=MsgBox("Please wait. uploading files to hack server. Do you want to stop it?",4+64,"File Transfer")

x=MsgBox("Cannot stop. File Transfer completed",1+16,"My Completed")

x=MsgBox("your computer is Hacked",1+64,"ANONYMOUS ALERT")

x=MsgBox("you cannot access your computer anymore..",1+16,"Computer Hacked")

x=MsgBox("this was a PRANK, there is no virus idiot",1+64,"no virus")

Step 3:

After writing the code save it with .vbs extension


then open it as usual

Step 4: Watch My Youtube Video for More Details

Step 5: Want to Get Deeper Into Programming? {}

Step 6: Modify As You Like

0 = OK Button,

1 = OK / Cancel Button,

2 = Abort / Retry / Ignore Button,

3 = Yes / No / Cancel Button,

4 = Yes / No Button,

5 = Retry / Cancel Button

16 = Critical Icon,
32 = Help Icon,

48 = Warning Icon,

64 = Information Icon.

Step 7: Thank You ..


thank you for reading this instructable

please give us a like and give my youtube channel a visit,

subscribe if you like my content.




    • Gardening Contest

      Gardening Contest
    • Classroom Science Contest

      Classroom Science Contest
    • Colors of the Rainbow Contest

      Colors of the Rainbow Contest