We have the ideal practical joke for you if your idea of fun is making your buddies worry about a malware attack on their computer. You can fool your pals into thinking their PC has been infected by a nasty virus by just writing a line of code in Notepad. It’s the ideal innocuous practical joke to pull on your friends because it won’t take them long to figure out it’s a phoney illness.
Learn how to unlock an Android phone without a password here.
Summary of Contents
Here s how you can create a prank virus
Step 1: Launch Notepad or Notepad++ and enter the code below.
Your Message Goes Here, 0+16, Title, MsgBox X
Every time the fake virus file is clicked, this code will produce a message box. The message, title, and buttons can all be altered in a variety of original ways. All you have to do is change the code’s message and button choices. Put in something that will frighten your friend and make them think their computer has been infected with a virus in place of Your Message Goes Here.
The message window’s OK button is created by the code’s 0 value. If you alter 0 to 1,2,3,4, or 5, you can change this button to something else. So what do they do?
1 indicates “OK” or “Cancel.”
Abort/Retry/Ignore = 2
3: Yes, No, and Cancel
4 = Yes/No
5 = Cancel or Retry
The number 16 in the code causes a warning icon to appear in the message box. You can replace 16 with 32, 48, or 64 to create a different icon. So what do they do?
Help Icon = 32
Warning Icon 48
Information Icon 64
Step 2: To generate more than one box, repeat the code in the following line.
Step 3: You must give the phoney virus file a plausible name in order to ensure that your friend clicks on it. You may give it a title like Movies, Games, or Wallpapers because people are more inclined to click on those.
Step 4: You must save the file on your desktop when you’ve finished writing the code and choosing a name. Assign a.vbs extension while saving. In the Save As type field, select All files.
Change the file’s icon in Step 5 to give the phoney infection even more credibility. Make a shortcut on the desktop and simply copy the file from the desktop to the C drive. Next, choose an icon from the Properties menu when you right-click on the shortcut.
You May Also Like: Is Your Smartphone a Thermometer.
Frequently asked questions
Is the virus dangerous?
No, this virus isn’t at all dangerous. It’s just a message box that has been crafted to appear malicious. Your PC won’t be harmed in any manner. When you click the OK button, the notice box will vanish.
Does this malware work on Linux or Mac?
No, the code can only be used to generate this message box in Windows.
How do I disable the bogus virus?
The moment the Ok button is pressed, the message window will vanish. Your friend will eventually realise that they were pranked, however it can take some time.
Follow us on Twitter, Facebook, and Instagram for the most recent tech news, reviews, and gadgets. Subscribe to our YouTube channel for the newest technology and gadget videos. Using the Android app for the Gadget Bridge, you may also stay current. Recent news on cars and motorcycles can be found here.