Today, we will teach you to create your harmless virus, that you can use to prank your friends. No Dr Evil stuff, just fun tips to have fun days with friends. Now let’s discuss the procedure. This trick is straightforward to execute, only things you need is a Windows PC and Notepad installed in it.
We are creating a VB script, which will run some commands on your PC (or your friends’), this commands will act like that your PC is infected with a dangerous virus or hacker, which is the perfect tool to fool your friends.
Note: This is not a real virus, this is for educational and entertainment propose only.Do this at your risk. Your friend may not take this as fun as you think.
The full script is in this link click here to download the VB script, and you can use this as you want. But before that, we will teach the basics of this script and how to implement this.
Creating a Virus, to prank your friends
Step 1: Open up the Notepad, on your PC.
Step 2: Just paste the entire script into notepad carefully without messing up with it
Customising the script
In this part, we will make familiar with the code inside.
X = MsgBox(“Your System Can’t be accessed anymore, it is corrupted”,0+16,”Fatal Error”)
X = MsgBox(“Some Malware is trying to sniff into your data, do you want to stop it?”,48+3,”Warning”)
This is the 1st part of the script, in this, you can change anything inside the brackets, all strings can be modified according to your wish so that you can prank your friend in your terms.
The terms 0+16 or 48 +3 denotes different symbols and button. There are few more that you can add. Respective numbers are given below. You can use this accordingly
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
speechobject.speak “Attention! Your computer is being hacked”
This code is used to make your PC speak whatever in the statement. In this case, it is “Attention! Your computer is being hacked”. You can add any dialogue instead of this.
Set WshShell = WScript.CreateObject(“WScript.Shell”)
WshShell.SendKeys “lo “
WshShell.SendKeys “, ho”
WshShell.SendKeys “w a”
WshShell.SendKeys “re “
WshShell.SendKeys “? “
WshShell.SendKeys ” comp”
WshShell.SendKeys ” is”
WshShell.SendKeys ” now “
WshShell.SendKeys “hacked “
WshShell.SendKeys “my name “
WshShell.SendKeys “is.. “
WshShell.SendKeys “try “
WshShell.SendKeys “to “
WshShell.SendKeys “nd “
WshShell.SendKeys “out “
This part of the code will make your notepad type automatically whatever you need, just replace the text in the double quotation marks.
Set oWMP = CreateObject(“WMPlayer.OCX.7”)
Set colCDROMs = oWMP.cdromCollection
if colCDROMs.Count >= 1 then
For i = 0 to colCDROMs.Count – 1
For i = 0 to colCDROMs.Count – 1
The code above will make the CD tray of your friend’s PC automatically open every 5 seconds.
Note: The above description is just to give you a brief idea about the code. We recommend using the code in the link above. And watch the video provided below for the demonstration. That will help you understand much better.
Final touch up
To make your friend believe it is real and to make him click on the script. You need to bring the script file to the desktop.
Then right-click on it and open “send to” option.
From the sub options click on “desktop(shortcut)“. Which will create a shortcut icon on the desktop.
Now you need to hide the main file by right-clicking on it and choosing “properties”. From properties check “hide” and apply.
Now again right click on the shortcut icon and from properties > customise and change the folder icon to my computer icon from default library of icons and apply.
The final step is to rename the shortcut icon to just my computer and you are done.
To end the process
To disable the actions of the scripts, you need to go to task manager, then click on details tab and End the process called wscript.exe
Watch the video tutorial for better understanding.Share and support us for more contents.
Author @ Tech Raj Blog
Doing bachelor's degree in pure science, physics
Contact Email: firstname.lastname@example.org