# How To Make Fake Computer Virus to Prank Someone \[Harmless\]

**URL:** <https://onehack.st/t/how-to-make-fake-computer-virus-to-prank-someone-harmless/63797>\
**Category:** Tutorials & Methods\
**Tags:** tips-tricks\
**Created:** [December 16, 2019, 1:19pm UTC](https://onehack.st/t/how-to-make-fake-computer-virus-to-prank-someone-harmless/63797 "2019-12-16T13:19:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheJoker](https://onehack.st/user_avatar/onehack.st/thejoker/32/22660_2.png) [@TheJoker](https://onehack.st/u/TheJoker)\
**Post date:** [December 16, 2019, 1:19pm UTC](https://onehack.st/t/how-to-make-fake-computer-virus-to-prank-someone-harmless/63797/1 "2019-12-16T13:19:31Z")

</div>

**Fake Computer Virus:** if you guys want to make fake computer virus for pranking with friends or family member then you are at right place in this article I will teach you how you can make a simple **fake computer virus** just using notepad and few lines of code it will not harm your computer its totally safe it just a simple message. so let start.

 ![image](https://onehack.st/uploads/default/original/3X/1/c/1cd7a32cbcc2526f2dcda0680d0c737666fd7817.jpeg)

### **How To Make Fake Computer Virus**

- first of all, open your notepad and write this code **X=MsgBox(“your msg”,button+icon number,“title”) eg: [**_X=MsgBox(“your computer has been hacked”,0+16,“Computer”)_**]** button name and thier numbers are givn below.
- **0-ok button**
- **1-ok/cancel**
- **2-abort/ retry /ignor**
- **3-yes /No /cancel**
- **4-yes/ No**
- **5-retry /cancel**

**For Icon**

- **16-critical icon**
- **32-help icon**
- **48-warning icon**
- **64-information icon**

 ![image](https://onehack.st/uploads/default/original/3X/7/3/73a69adf93540f8008e6e1a581f83a4c56985cd3.jpeg)

- Now **save** this code into **c drive** and name it **computer.vbs** (extension should be in vbs) and select all files and click ok to save.

 ![image](https://onehack.st/uploads/default/original/3X/1/c/1c71e3ca8b58efc7c4cf72e66f8e680206d5a90c.jpeg)

- Now **right click** on that file and **create a shortcut on your desktop**.

 ![image](https://onehack.st/uploads/default/original/3X/9/b/9bf6f52a2e46d505f25ce17508bd599e3d3c3d2a.png)

- you are almost done if you open this file all the messages will be shown on your computer but we can not fool anyone to this for that we have to change its icon.

 ![image](https://onehack.st/uploads/default/original/3X/d/a/da76c6263fffa6e2b17e0eaabbb7980c8f087c83.jpeg)

### **How To Change Icon**

- for the changing icon just **right click** on that file and click on the **properties**.

 ![image](https://onehack.st/uploads/default/original/3X/7/2/722527f5e6ed461766c51f7967053b404b503944.jpeg)

- Now click on the **change icon** and select the **computer icon** click to apply that’s it you are ready.

 ![image](https://onehack.st/uploads/default/original/3X/f/4/f41bf71644bb1cf7809aeb84cd267fc742bc38d5.jpeg)

Now you have to hide the original computer icon for that just follow the simple step.

- right **click on the desktop** and click on the **personalize** and click n the **change desktop icon** and **untick the comuter** and click on the **apply** button that’s it your computer icon will be hide

 ![image](https://onehack.st/uploads/default/original/3X/a/1/a19fd144008668166cbba43398992ec72f308d4f.jpeg)

 ![image](https://onehack.st/uploads/default/original/3X/f/4/f41bf71644bb1cf7809aeb84cd267fc742bc38d5.jpeg)

> _ **A simple trick using that you can make fake computer virus if you have any problem of making this virus then please google it.** _
