How to prank your friend with a fake hacking message using VBS

Опубликовано: 18 Май 2026
на канале: The Hack Guy
1,389
3

Unveiling the Playful Side of Technology: Exploring Harmless Computer Virus to Prank

◽Subscribe @TheHackGuy
◽We offer concise yet highly informative videos to help you save time.
◽Let's try for 1000+ ❤️Likes! 👍 For this Extremely helpful tutorial?
____________________________________________________________
🔽 All links to follow along with this video are below 🔽
Code - TheHackGuy=MsgBox(“Message Description”,0+16,”Title”)

How to stop this script - 4:04
To stop the pop-up message - Using your keyboard, press and hold the CTRL, Shift, and ESC keys simultaneously it will open the task manager look for wscript.exe Microsoft ® Windows Based Script Host right click and end task

Explanation of this code.

Message Description – This is what you want to show as a Message.
Button (0+) – Type of button, like OK, Yes, No, Cancel, etc
Icon (+16)– Type of icon you want to show like Info icon, critical icon, etc
Title – Title of message Box.

You can write any number from 1,2,3 or 4 instead of 0 (before the ‘+’ symbol)
Here is the meaning of these numbers:

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

2. You can write 32 or 48 or 64 instead of 16.
Here is the meaning of each number:

16 = Critical Icon,
32 = Help Icon,
48 = Warning Icon,
64 = Information Icon,

code with your message, desired button, icon, and title, one line of code generates one message box so you need to write code in a separate line to generate another message box like this -
TheHackGuy=MsgBox(“Message Description”,0+16,”Title”) - message box 1
TheHackGuy=MsgBox(“Message Description”,0+16,”Title”) - message box 2
............................................................................................. - as many you want

save this notepad on your desktop but don’t forget to assign .vbs extension and select all files instead of *txt while saving this notepad.

Step 3. Changing the Icon Of Harmless Virus

You need to change the icon of this file so that the victim is intended to open the file. You can change this icon to a Computer icon to make it look original, but you can’t directly change the icon, follow this step to change the icon.

Copy and paste the file to another location like in C drive.
Create Shortcut – right-click on it and send it to the desktop.
On the desktop you will get the shortcut, Right-click on it go to properties, and click on the Change icon Now select the computer icon and hit OK.